summaryrefslogtreecommitdiffstats
path: root/tests/test_lingo_manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_lingo_manager.py')
-rw-r--r--tests/test_lingo_manager.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_lingo_manager.py b/tests/test_lingo_manager.py
index a66a178..44c1f17 100644
--- a/tests/test_lingo_manager.py
+++ b/tests/test_lingo_manager.py
@@ -42,6 +42,7 @@ def test_add_regie(app, admin_user, payment_backend):
app = login(app)
resp = app.get('/manage/lingo/regies/', status=200)
resp = resp.click('New')
+ assert '/manage/lingo/regies/' in resp.text
resp.forms[0]['label'] = 'Test'
resp.forms[0]['slug'] = 'test'
resp.forms[0]['description'] = 'description'
@@ -59,6 +60,7 @@ def test_edit_regie(app, admin_user, payment_backend):
app = login(app)
resp = app.get('/manage/lingo/regies/', status=200)
resp = resp.click('Test')
+ assert '/manage/lingo/regies/' in resp.text
resp.forms[0]['description'] = 'other description'
resp = resp.forms[0].submit()
assert resp.location.endswith('/manage/lingo/regies/')