From: philipp Date: Wed, 1 Nov 2017 22:07:33 +0000 (+0000) Subject: Add test_rodelbahn_update. X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wradmin.git/commitdiff_plain/382d62ede0d2a2b27e8ffe40f03b68e6eaf5cfd8 Add test_rodelbahn_update. git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2727 7aebc617-e5e2-0310-91dc-80fb5f6d2477 --- diff --git a/tests/test_wradmin.py b/tests/test_wradmin.py index 4a932c8..fc5ceba 100644 --- a/tests/test_wradmin.py +++ b/tests/test_wradmin.py @@ -105,3 +105,10 @@ class TestDbWradmin(WradminTestBase): soup = bs4.BeautifulSoup(result.data, 'html.parser') self.assertEqual(soup.title.text, 'Rodelbahn') self.assertIn('Hühnerspiel', str(soup)) + + def test_rodelbahn_update(self): + result = self.app.get('/rodelbahn/update') + self.assertEqual(result.status_code, 200) + self.assertTrue(result.data.startswith(b'