mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-29 01:42:37 +02:00
Fix test for project deletion
This commit is contained in:
parent
db982572aa
commit
95b2cf870b
1 changed files with 4 additions and 1 deletions
|
@ -252,7 +252,10 @@ class BudgetTestCase(IhatemoneyTestCase):
|
|||
# project added
|
||||
self.assertEqual(len(models.Project.query.all()), 1)
|
||||
|
||||
c.get("/raclette/delete")
|
||||
c.post(
|
||||
"/raclette/delete",
|
||||
data={"password": "party"},
|
||||
)
|
||||
|
||||
# project removed
|
||||
self.assertEqual(len(models.Project.query.all()), 0)
|
||||
|
|
Loading…
Reference in a new issue