Tomek Rej

Results 4 comments of Tomek Rej

I removed the pytest.mark.django_db decorator and removed all calls to the django orm and the test passed. Then I brought back the decorator, but didn't reinstate any calls to the...

If I used the pytest.mark.db instead of pytest.mark.django_db I got this error: ``` E Failed: Database access not allowed, use the "django_db" mark, or the "db" or "transactional_db" fixtures to...

The good news is I think I found a way to have the test pass. Until now I was just running that individual test case, but I noticed that if...

@vijayshan thanks for your feedback. I did try to use transaction=True in my pytest.mark.django_db, but didn't seem to help. However I did not try to run your example code exactly,...