You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jalMogo edited this page Aug 23, 2018
·
7 revisions
Welcome to the api wiki!
Useful tips for running our unit tests:
Running a specific unit test (note we are using nose, for now, which requires the syntax below):
./manage.py test sa_api_v2.tests.test_views:TestPlaceInstanceView.test_GET_response
Running tests that output to a file:
./manage.py test 2>&1 | tee test-output.txt
Running tests that will stop on break points, and/or output print statements to the console:
(this is due a constraint based on our nose dependency, and breakpoints won't work with captures stdout/stderr either, like 2>&1 above):