Révision 9e7f79a9
Ajouté par Frédéric Péters il y a plus d'un an
tests/test_user_pages.py | ||
---|---|---|
105 | 105 |
resp = app.get('/myspace/') |
106 | 106 |
assert formdata.id != draft.id |
107 | 107 |
assert '<a href="/test/%s/"' % formdata.id in resp |
108 |
assert '<a href="/test/%s"' % draft.id in resp |
|
108 |
assert '<a href="/test/%s/"' % draft.id in resp
|
|
109 | 109 |
resp = app.get('/test/%s/' % formdata.id, status=302) |
110 | 110 |
assert resp.location == 'http://example.net/cat/test/%s/' % formdata.id |
111 | 111 |
resp = app.get('/test/%s/' % draft.id, status=302) |
Formats disponibles : Unified diff
tests: adapt to changes in markup of list of drafts (#72623)