How to run tests django rest framework tests?
I believe your test methods need to start with test
. Change def getList
to def testGetList
or def test_get_list
.
As with other python tests (see https://docs.python.org/2/library/unittest.html#basic-example), if methods do not start with test
they will not be run as tests.