Closed
Description
My test code is:
class MarketFixtures(object):
fixtures = [
'tests/fixtures/common_rubricator.json',
]
class MarketOfferPictureTestCase(MarketFixtures, TestCase):
...
Raised with error
/usr/local/lib/python2.7/dist-packages/pytest_django/plugin.py:301: in pytest_runtest_setup
_disable_class_methods(cls)
/usr/local/lib/python2.7/dist-packages/pytest_django/plugin.py:266: in _disable_class_methods
_method_is_defined_at_leaf(cls, 'setUpClass'),
/usr/local/lib/python2.7/dist-packages/pytest_django/plugin.py:254: in _method_is_defined_at_leaf
return getattr(cls.__base__, method_name).__func__ is not getattr(cls, method_name).__func__
E AttributeError: type object 'MarketFixtures' has no attribute 'setUpClass'
Metadata
Metadata
Assignees
Labels
No labels