write tests with *StaticLiverServerTestCase* for my Django application.

*My issue: tests runs together fail while pass when run individually.*

I have read much about this behavior on SO but none of answer/comments help.

It seems that issue may come from shared files/fields/data.

I have tried using setUpClass/tearDownClass class methods as well as 
setUp/tearDown methods.

Using fixture did not resolve anymore.

I also tryed to make individual class for each test instead of one class 
with many test ethods but doesn't work anymore.

My tests involve Ajax calls and I think this is related.


You can see code in SO: 
https://stackoverflow.com/questions/71674587/django-selenium-staticliverservertestcase-tests-run-together-fail-but-pass-if
 

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ee18a18d-c125-47ec-aeac-d4d7b6e10a87n%40googlegroups.com.

Reply via email to