From f9eb2543aaa9da669608453e02fe04532144bdac Mon Sep 17 00:00:00 2001 From: philipp Date: Wed, 1 Nov 2017 22:07:43 +0000 Subject: [PATCH] Follow redirects in tests that test update functions. git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2734 7aebc617-e5e2-0310-91dc-80fb5f6d2477 --- tests/test_wradmin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_wradmin.py b/tests/test_wradmin.py index 9eb227f..80801b1 100644 --- a/tests/test_wradmin.py +++ b/tests/test_wradmin.py @@ -81,7 +81,7 @@ class TestDbWradmin(WradminTestBase): self.assertIn('Meißner', str(soup)) def test_gasthaus_update(self): - result = self.app.get('/gasthaus/update') + result = self.app.get('/gasthaus/update', follow_redirects=True) self.assertEqual(result.status_code, 200) self.assertTrue(result.data.startswith(b'