Re: tests pass individually but fail together

2018-07-06 Thread clavierplayer
Hi Melvyn, I've been working on getting permission to post the code, but everybody who can do that is on vacation at present, unfortunately. I'm hoping somebody will be back to work on Monday. I did try the test --parallel 1, but that didn't help. The problem tests all cover a particular

Re: tests pass individually but fail together

2018-07-05 Thread Melvyn Sopacua
On donderdag 5 juli 2018 18:07:58 CEST clavierpla...@gmail.com wrote: > It's a script that's supposed to run in the background for an inventory > management program. The basic idea is that it periodically collects Order > objects that are associated with a particular Status (1-M foreign key, >

Re: tests pass individually but fail together

2018-07-05 Thread clavierplayer
It's a script that's supposed to run in the background for an inventory management program. The basic idea is that it periodically collects Order objects that are associated with a particular Status (1-M foreign key, though more like 1-1 in practice). Orders have one or many Orderlines. Then

Re: tests pass individually but fail together

2018-07-05 Thread Dan Tagg
Hi Heather, What is it you are testing? I have had issues with this kind of thing when testing forms that are programatically changing dropdown list / default values. Dan On 5 July 2018 at 14:24, wrote: > Hello, I'm simplifying a previous post. I just started using Django a few > months ago,

tests pass individually but fail together

2018-07-05 Thread clavierplayer
Hello, I'm simplifying a previous post. I just started using Django a few months ago, and for some reason I'm still having trouble getting my mind around the way Django thinks about some things. I have a test class that contains two specific tests that always pass when run just by themselves,