Skip to content

Commit

Permalink
added unit test: test_create_test_configuration.py Ref issue OpenBank…
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson committed Jan 4, 2019
1 parent a19960b commit 6289862
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions apitester/test_create_test_configuration.py
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6289862

Please sign in to comment.