tests: update for pytest 3.3 with merged catchlog (#20317)
This commit is contained in:
parent
69c9fd57d1
commit
72caf60520
|
@ -2484,7 +2484,7 @@ def test_formdata_generated_document_odt_to_pdf_download_push_to_portfolio(pub,
|
|||
resp = resp.form.submit('button_export_to')
|
||||
assert http_post_request.call_count == 1
|
||||
assert ('file template.pdf pushed to portfolio of foo@localhost'
|
||||
== caplog.records()[-1].message)
|
||||
== caplog.records[-1].message)
|
||||
|
||||
resp = resp.follow() # $form/$id/create_doc
|
||||
resp = resp.follow() # $form/$id/create_doc/
|
||||
|
@ -2500,7 +2500,7 @@ def test_formdata_generated_document_odt_to_pdf_download_push_to_portfolio(pub,
|
|||
resp = resp.form.submit('button_export_to')
|
||||
assert http_post_request.call_count == 1
|
||||
assert ('file template.pdf pushed to portfolio of foo@localhost'
|
||||
== caplog.records()[-1].message)
|
||||
== caplog.records[-1].message)
|
||||
assert resp.location == form_location
|
||||
resp = resp.follow() # back to form page
|
||||
|
||||
|
|
Loading…
Reference in New Issue