Skip to content
Luke Swart edited this page Nov 17, 2016 · 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:

./manage.py test --pdb
Clone this wiki locally