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
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Django 1.8 added support for the setUpTestData method which can speed up the execution of tests.
Between the weird capitalization of the method name and the fact that you need to remember to make it a classmethod, it often takes me a few tries to get it running properly.
I think having an empty one in the tempate would be useful and since there's already setUp and tearDown, I think it makes sense to have setUpTestData as well.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Django 1.8 added support for the
setUpTestData
method which can speed up the execution of tests.Between the weird capitalization of the method name and the fact that you need to remember to make it a
classmethod
, it often takes me a few tries to get it running properly.I think having an empty one in the tempate would be useful and since there's already
setUp
andtearDown
, I think it makes sense to havesetUpTestData
as well.The text was updated successfully, but these errors were encountered: