diff --git a/apitester/test_create_test_configuration.py b/apitester/test_create_test_configuration.py new file mode 100644 index 0000000..a16198e --- /dev/null +++ b/apitester/test_create_test_configuration.py @@ -0,0 +1,12 @@ +from django.test import TestCase +from runtests.models import TestConfiguration + +class NewTestConfigurationTestCase(TestCase): + ''' + Create a new (empty) TestConfiguration model. + ''' + def test_create_test_configuration(self): + test_config = TestConfiguration(owner_id=1, name='Fred', + api_version='3.0.1') + test_config.save() + return test_config