You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a python projects that uses doctest for some tests and mocks for some other tests, and I use nose2 to run everything.
It works like a charm, but when I tried to enable the nose2.plugins.mp plugin for MultiProcess
testing I got error messages on all my tests that were using either doctest or mocks.
For test using mocks, I got errors that look like this:
…#468)
Stop loadTestsFromName from accepting class methods when they are
decorated (with e.g. mock.patch) and thus of types.FunctionType.
Also fixes issue with mock.patch'ed test case methods not working
under the multiprocess plugin (nose-devs#444).
Hi,
I have a python projects that uses doctest for some tests and mocks for some other tests, and I use nose2 to run everything.
It works like a charm, but when I tried to enable the
nose2.plugins.mp
plugin for MultiProcesstesting I got error messages on all my tests that were using either doctest or mocks.
For test using mocks, I got errors that look like this:
The test looks like this
For test using doctest, I got errors that look like this:
Where my doctest looks like this:
If I disable the
nose2.plugins.mp
, everything works fine though.The text was updated successfully, but these errors were encountered: