class TestClass:
@classmethod
def setup_class(cls):
cls.COUNT = 50
def test_equals(self):
assert self.COUNT == 50
@pytest.mark.django_db
class TestClass:
@pytest.mark.django_db
@classmethod
def setup_class(cls):
cls.COUNT = 50
def test_equals(self):
assert self.COUNT == 50