tests.rest.data.tests_unit¶
Unit tests for data rest api
-
class
tests.rest.data.tests_unit.TestDataDetail(methodName='runTest')¶ Bases:
django.test.testcases.SimpleTestCase-
setUp()¶ Hook method for setting up the test fixture before exercising it.
-
test_delete_returns_http_404_when_data_not_found(**keywargs)¶
-
test_get_returns_http_404_when_data_not_found(**keywargs)¶
-
test_patch_returns_http_400_when_no_update_data_provided(**keywargs)¶
-
test_patch_returns_http_404_when_data_not_found(**keywargs)¶
-