0001-tests-update-for-pytest-3.3-with-merged-catchlog-203.patch
tests/test_form_pages.py | ||
---|---|---|
2484 | 2484 |
resp = resp.form.submit('button_export_to') |
2485 | 2485 |
assert http_post_request.call_count == 1 |
2486 | 2486 |
assert ('file template.pdf pushed to portfolio of foo@localhost' |
2487 |
== caplog.records()[-1].message)
|
|
2487 |
== caplog.records[-1].message) |
|
2488 | 2488 | |
2489 | 2489 |
resp = resp.follow() # $form/$id/create_doc |
2490 | 2490 |
resp = resp.follow() # $form/$id/create_doc/ |
... | ... | |
2500 | 2500 |
resp = resp.form.submit('button_export_to') |
2501 | 2501 |
assert http_post_request.call_count == 1 |
2502 | 2502 |
assert ('file template.pdf pushed to portfolio of foo@localhost' |
2503 |
== caplog.records()[-1].message)
|
|
2503 |
== caplog.records[-1].message) |
|
2504 | 2504 |
assert resp.location == form_location |
2505 | 2505 |
resp = resp.follow() # back to form page |
2506 | 2506 |
tox.ini | ||
---|---|---|
13 | 13 |
pytest |
14 | 14 |
pytest-mock |
15 | 15 |
pytest-cov |
16 |
pytest-catchlog |
|
17 | 16 |
WebTest |
18 | 17 |
psycopg2 |
19 | 18 |
mechanize |
20 |
- |