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
NB this is not an attempt to shoehorn pytest in.
I use py.test -xrf --pdb path/to/test a lot when testing. pytest normally has no problems running unittests but I've come across one faiilure:
self = <substanced.folder.tests.test_views.Test_makeob testMethod=test_it>
def test_it(self):
from substanced.folder.views import _makeob
request = testing.DummyRequest()
request.registry.content = DummyContent()
value = _makeob(request, None, None, None)
> self.assertEqual(value, None)
E AssertionError: 'FILE' != None
Would be nice if this could be resolved.
The text was updated successfully, but these errors were encountered:
Interesting. It looks like the monkey patching in Test_multi_upload_submit is not being cleaned up when pytest runs. Shouldn't the monkey patching of substanced.folder.views,_makeob be handled by setup and teardown?
NB this is not an attempt to shoehorn pytest in.
I use
py.test -xrf --pdb path/to/test
a lot when testing. pytest normally has no problems running unittests but I've come across one faiilure:Would be nice if this could be resolved.
The text was updated successfully, but these errors were encountered: