Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Add support for setUpTestData in test template #126

Open
bmispelon opened this issue Jul 26, 2016 · 0 comments
Open

Add support for setUpTestData in test template #126

bmispelon opened this issue Jul 26, 2016 · 0 comments

Comments

@bmispelon
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant