tests: adapt to title change

This commit is contained in:
Frédéric Péters 2016-09-04 17:52:23 +02:00
parent bd9588ed6f
commit 148aa07a06
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ def test_add_agenda(app, admin_user):
agenda = Agenda.objects.get(label='Foo bar')
assert resp.location == 'http://localhost:80/manage/agendas/%s/' % agenda.id
resp = resp.follow()
assert '<h2>Agenda - Foo bar</h2>' in resp.body
assert '<h2>Foo bar</h2>' in resp.body
def test_rename_agenda(app, admin_user):
agenda = Agenda(label=u'Foo bar')
@ -93,7 +93,7 @@ def test_rename_agenda(app, admin_user):
resp = resp.form.submit()
assert resp.location == 'http://localhost:80/manage/agendas/%s/' % agenda.id
resp = resp.follow()
assert '<h2>Agenda - Foo baz</h2>' in resp.body
assert '<h2>Foo baz</h2>' in resp.body
def test_delete_agenda(app, admin_user):
agenda = Agenda(label=u'Foo bar')