Answer the question
In order to leave comments, you need to log in
What data visibility when testing through Py.test?
I'm testing a django project using the calling method:
@classmethod
def setUpClass(cls):
cls.COUNT = 50
NewsFactory.create_batch(is_allowed=True, size=cls.COUNT)
@classmethod
def setup_class(cls):
cls.COUNT = 50
NewsFactory.create_batch(is_allowed=True, size=cls.COUNT)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question