Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test should run in a standalone database, not the default database. #54

Open
gregcorbett opened this issue Feb 21, 2018 · 1 comment
Open

Comments

@gregcorbett
Copy link
Member

The tests that make GET requests to the Django server currently run in the default database (which is specified here).

This is bad for development, as the tests may fail if data is present and then erase some but not all of the data.

It's also a risk for those deploying the container, as the tests are part of the container.

@gregcorbett
Copy link
Member Author

One solution is to have the tests run in a separate database when a database is needed.

I have made a start on this branch.

@gregcorbett gregcorbett removed their assignment Jan 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant