G
G
glader2019-01-15 18:04:26
Django
glader, 2019-01-15 18:04:26

How do you find a test that doesn't clean up after itself?

There is a big django project. A number of pytest tests have been written. Tests load fixtures before starting. And after running the tests, some fixtures are not removed. How to find what is the problem?
Tests are chasing postgres if that's important. Python 3.6, Django 2.1.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
glader, 2019-02-20
@glader

I rewrote the tests from classes to simple functions, everything worked as it should.

N
Nick V, 2019-01-15
@half-life

Debug.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question