mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 04:31:49 +02:00
fix tests, broken by #1096
Now the "danger" strings appears nearly everywhere, but the test looks for a flash message, thus "alert-danger"
This commit is contained in:
parent
165ca86bda
commit
c1f147cc81
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class HistoryTestCase(IhatemoneyTestCase):
|
|||
# Disable History
|
||||
resp = self.client.post("/demo/edit", data=new_data, follow_redirects=True)
|
||||
self.assertEqual(resp.status_code, 200)
|
||||
self.assertNotIn("danger", resp.data.decode("utf-8"))
|
||||
self.assertNotIn("alert-danger", resp.data.decode("utf-8"))
|
||||
|
||||
resp = self.client.get("/demo/edit")
|
||||
self.assertEqual(resp.status_code, 200)
|
||||
|
|
Loading…
Reference in a new issue