You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django developers
Reloading of fixtures for each test gets painful when the fixtures get
big.
Maybe we could continue to have TestCase.fixtures as a list of
'variable' fixtures that do definitely need to be reloaded for each
test... and add a new optional attribute, TestCase.static_fixtures,
which would be a list of fixtures that only need to be loaded at the
start of the TestCase.
I've run into this problem a few times now and this simple improvement
would make tests so much nicer :-)
Alex Koshelev
unread,
Oct 14, 2008, 2:40:35 AM10/14/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django developers
After `testFOO` method call test case flushes all data in database. So
if you want to add some logic at this stage - flushing procedure may
take a lot of time and you will get no speed improvements.