-
Notifications
You must be signed in to change notification settings - Fork 0
API Tests
Chad Ramos edited this page Aug 29, 2018
·
2 revisions
To run the test suit associated with the API, the following step needs to be completed before the tests will execute.
ALTER USER username CREATEDB;
username
should be the same USER
you set up in your environment variables, API_DB_USER
.
Once your USER
has CREATEDB
privileges, you can run the following command to run the test suite.
python manage.py test
All tests are located in the tests
modules at src\queries\tests