From 6f81a8f7dd58bc2311717ed7355886ebfd3c3719 Mon Sep 17 00:00:00 2001 From: philipp Date: Fri, 10 May 2019 22:14:48 +0000 Subject: [PATCH] Now the failure mode when updating sledruns is tested as well. git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2810 7aebc617-e5e2-0310-91dc-80fb5f6d2477 --- tests/test_wradmin.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tests/test_wradmin.py b/tests/test_wradmin.py index f9963dd..53b6fe4 100644 --- a/tests/test_wradmin.py +++ b/tests/test_wradmin.py @@ -153,13 +153,24 @@ class TestDbWradmin(WradminTestBase): self.assertIn('Rodelbahn', soup.title.text) self.assertIn('Hühnerspiel', str(soup)) - def test_rodelbahn_update(self): + def test_rodelbahn_update_success(self): result = self.app.get('/rodelbahn/update', follow_redirects=True) self.assertEqual(result.status_code, 200) self.assertTrue(result.data.startswith(b'