Local test run. In order to run endpoint test currently, we would need to change the following setting in the settings.py STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
Then run the test with ./manage.py test
**Using SQLite3**
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
02-01 02:55:02 add_states:handle [INFO] l31: OH:Ohio found, skipping.
.02-01 02:55:02 add_states:handle [INFO] l31: GA:Georgia missing. Adding now.
02-01 02:55:02 add_states:handle [INFO] l31: MN:Minnesota missing. Adding now.
02-01 02:55:02 add_states:handle [INFO] l31: TX:Texas missing. Adding now.
.02-01 02:55:02 add_states:handle [INFO] l31: CA:California missing. Adding now.
......02-01 02:55:03 views:health [INFO] 177:Health AnonymousUser
.02-01 02:55:03 views:health [INFO] 177:Health AnonymousUser
....
----------------------------------------------------------------------
Ran 13 tests in 2.915s
OK
Destroying test database for alias 'default'...
Were docs updated if needed?
[X] No
[ ] Yes
[ ] N/A
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist:
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
Signed-off-by: Kevin Ruiz jkevincodes@gmail.com
Contributes to #142
What did you do?
Add test for locations endpoint
Why did you do it?
Missing test
How have you tested it?
Local test run. In order to run endpoint test currently, we would need to change the following setting in the
settings.py
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
Then run the test with
./manage.py test
Were docs updated if needed?
Type of change
Checklist: