Thursday, May 12, 2016

Re: Fixtures won't load twice in same testcase



On Thursday, May 5, 2016 at 4:22:11 PM UTC-7, Mike Dewhirst wrote:
Are you using setUp() and tearDown() as class methods in your test class?


No, the code was using setUpClass(), which is a classmethod. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/01e41a08-d956-4946-a6cf-e82644201cf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment