Re: How do you interact with the Django test database outside of tests?

2017-08-30 Thread Kurt Wheeler
I've figured it out! I was running my end-to-end tests in a class which inherited from TestCase. This cause all the database calls for that entire class to be run within a transaction, so I couldn't see the changes because the transaction was never allowed to finish. By switching the base class

How do you interact with the Django test database outside of tests?

2017-08-25 Thread Kurt Wheeler
I am attempting to write end-to-end tests for my system. To do this I am running one container called "workers" as it would normally be run during development, i.e. not via a test runner. I have another container called "foreman" that is run via a test runner which sets up the tests, sends work