+ def test_gasthaus_update(self):
+ result = self.app.get('/gasthaus/update')
+ self.assertEqual(result.status_code, 200)
+ self.assertTrue(result.data.startswith(b'<!DOCTYPE html'))
+ soup = bs4.BeautifulSoup(result.data, 'html.parser')
+ self.assertIn('Die Gasthausliste wurde erfolgreich aktualisiert.', str(soup))
+