[Answered ]-Pytest and Selenium in Docker : wrong database used for the test suite?

1👍

Thanks to @mariodev comment, I found a way to make it work.

I used this basic mark with my test :

@pytest.mark.django_db

I finally made it work with the transactional option :

@pytest.mark.django_db(transaction=True)
👤Ruff9

Leave a comment