tests: adapt to changes in markup of list of drafts (#72623)

This commit is contained in:
Frédéric Péters 2022-12-26 16:54:47 +01:00
parent e36384fef2
commit 9e7f79a9a8
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ def test_myspace_with_user_forms():
resp = app.get('/myspace/')
assert formdata.id != draft.id
assert '<a href="/test/%s/"' % formdata.id in resp
assert '<a href="/test/%s"' % draft.id in resp
assert '<a href="/test/%s/"' % draft.id in resp
resp = app.get('/test/%s/' % formdata.id, status=302)
assert resp.location == 'http://example.net/cat/test/%s/' % formdata.id
resp = app.get('/test/%s/' % draft.id, status=302)