tests: adapt to changes in markup of list of drafts (#72623)
This commit is contained in:
parent
e36384fef2
commit
9e7f79a9a8
|
@ -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)
|
||||
|
|
Reference in New Issue