tests: adapt to title change
This commit is contained in:
parent
bd9588ed6f
commit
148aa07a06
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue