Re: Overriding Settings before running any tests that loads fixtures.
Instead of buying the book I finally found a solution. I posted to the original stackoverflow question:
http://stackoverflow.com/questions/18927935/what-is-the-order-of-execution-in-django-tests
On Saturday, September 21, 2013 7:47:58 PM UTC-4, Alex Thomas wrote:
-- http://stackoverflow.com/questions/18927935/what-is-the-order-of-execution-in-django-tests
On Saturday, September 21, 2013 7:47:58 PM UTC-4, Alex Thomas wrote:
My basic problem is that I am trying to run a test that loads fixtures but I want to modify some settings before the fixtures are loaded.
I tried adding override_settings decorator on the class but it does not see to take effect before the fixtures are loaded.
I also posted the question here if you want more detail: http://stackoverflow.com/questions/18927935/what-is- the-order-of-execution-in- django-tests
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home