From: philipp Date: Wed, 1 Nov 2017 22:07:43 +0000 (+0000) Subject: Follow redirects in tests that test update functions. X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wradmin.git/commitdiff_plain/f9eb2543aaa9da669608453e02fe04532144bdac Follow redirects in tests that test update functions. git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2734 7aebc617-e5e2-0310-91dc-80fb5f6d2477 --- 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'