Skip to content
Snippets Groups Projects
Commit 13ffbef8 authored by Jörn Künsemöller's avatar Jörn Künsemöller
Browse files

Task LSMR-13: Added some simple tests for the GeneratorTemplate model....

Task LSMR-13: Added some simple tests for the GeneratorTemplate model. Postgres-specifics are commented out until the test setup can handle that.
parent 2de33fc7
No related branches found
No related tags found
1 merge request!87Lsmr epic
......@@ -29,8 +29,8 @@ class BasicFunctionTestCase(unittest.TestCase):
def setUp(self):
pass
def test_generator_template_listview(self):
r = requests.get(BASE_URL + '/generator_template/')
def test_generator_template_list_apiformat(self):
r = requests.get(BASE_URL + '/generator_template/?format=api')
self.assertEqual(r.status_code, 200)
self.assertTrue("Generator Template List" in r.content.decode('utf8'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment