X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wradmin.git/blobdiff_plain/d70fad99d36574e9cd34b14ccbefc2c77e62b459..bb018ad2e3c2710c5827990cdb438b92bbcb5f1e:/tests/test_wradmin.py diff --git a/tests/test_wradmin.py b/tests/test_wradmin.py index 7b3c081..4c691b0 100644 --- a/tests/test_wradmin.py +++ b/tests/test_wradmin.py @@ -64,6 +64,22 @@ class TestDbWradmin(WradminTestBase): self.assertEqual(soup.title.text, 'Rodelbahnbericht') self.assertIn('Brandstatt Alm', str(soup.table)) + def test_gasthaus_list(self): + result = self.app.get('/gasthaus/list') + self.assertEqual(result.status_code, 200) + self.assertTrue(result.data.startswith(b'