From 13ffbef8a335f0b2c244ee696695e71a285eca0a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rn=20K=C3=BCnsem=C3=B6ller?=
 <jkuensem@physik.uni-bielefeld.de>
Date: Fri, 29 Jun 2018 15:17:03 +0000
Subject: [PATCH] Task LSMR-13: Added some simple tests for the
 GeneratorTemplate model. Postgres-specifics are commented out until the test
 setup can handle that.

---
 SAS/LSMR/test/t_functional.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/SAS/LSMR/test/t_functional.py b/SAS/LSMR/test/t_functional.py
index 3b37be511bc..577babf4465 100755
--- a/SAS/LSMR/test/t_functional.py
+++ b/SAS/LSMR/test/t_functional.py
@@ -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'))
 
-- 
GitLab