From: philipp Date: Wed, 1 Nov 2017 22:07:30 +0000 (+0000) Subject: Add test_gasthaus_update. X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wradmin.git/commitdiff_plain/bf6a450f3a8cc837cba303da746f8c2a30d33f02 Add test_gasthaus_update. git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2726 7aebc617-e5e2-0310-91dc-80fb5f6d2477 --- diff --git a/tests/test_wradmin.py b/tests/test_wradmin.py index 4c691b0..4a932c8 100644 --- a/tests/test_wradmin.py +++ b/tests/test_wradmin.py @@ -80,6 +80,13 @@ class TestDbWradmin(WradminTestBase): self.assertEqual(soup.title.text, 'Gasthaus') self.assertIn('Meißner', str(soup)) + def test_gasthaus_update(self): + result = self.app.get('/gasthaus/update') + self.assertEqual(result.status_code, 200) + self.assertTrue(result.data.startswith(b'