| ============================= test session starts =============================
|
| platform linux -- Python 3.7.4, pytest-5.1.2, py-1.8.0, pluggy-0.12.0, cov-2.7.1
|
| rootdir: /tmp/test
|
| plugins: cov-2.7.1, services-1.3.1, mock-1.10.4, forked-1.0.2, xdist-1.29.0
|
| collected 1 item
|
|
|
| test_sample.py::test_fail FAILED [100%]
|
|
|
| =================================== FAILURES ===================================
|
| _________________________________ test_fail _________________________________
|
|
|
| def test_fail():
|
| raise ValueError('test')
|
| > assert False
|
| E AssertionError: assert False
|
|
|
| test_sample.py:10: AssertionError
|
| ------------------------------ Captured log call -------------------------------
|
| ERROR root:test_sample.py:6 test
|
| ========================= 1 failed in 0.10 seconds ==========================
|