From: philipp Date: Fri, 20 Oct 2017 22:09:46 +0000 (+0000) Subject: Add test_coordtool. X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wradmin.git/commitdiff_plain/856dd6d96d1f5f85fea43f707e0f020c81d7b5ba Add test_coordtool. git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2712 7aebc617-e5e2-0310-91dc-80fb5f6d2477 --- diff --git a/tests/test_wradmin.py b/tests/test_wradmin.py index ce2135c..0474460 100644 --- a/tests/test_wradmin.py +++ b/tests/test_wradmin.py @@ -21,6 +21,13 @@ class TestNoDbWradmin(WradminTestBase): soup = bs4.BeautifulSoup(result.data, 'html.parser') self.assertEqual(soup.title.text, 'Hauptmenü') + def test_coordtool(self): + result = self.app.get('/coordtool/index') + self.assertEqual(result.status_code, 200) + self.assertTrue(result.data.startswith(b'