tests.rest.template_version_manager.tests_unit

Unit tests for template version manager rest api

class tests.rest.template_version_manager.tests_unit.TestGlobalTemplateVersionManagerList(methodName='runTest')

Bases: django.test.testcases.SimpleTestCase

setUp()

Hook method for setting up the test fixture before exercising it.

test_get_all_returns_http_200(**keywargs)
class tests.rest.template_version_manager.tests_unit.TestTemplateVersionManagerDetail(methodName='runTest')

Bases: django.test.testcases.SimpleTestCase

setUp()

Hook method for setting up the test fixture before exercising it.

test_get_returns_http_200_when_data_exists(**keywargs)
test_get_returns_http_404_when_data_not_found(**keywargs)
class tests.rest.template_version_manager.tests_unit.TestUserTemplateVersionManagerList(methodName='runTest')

Bases: django.test.testcases.SimpleTestCase

setUp()

Hook method for setting up the test fixture before exercising it.

test_get_all_returns_http_200(**keywargs)