Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ============================================================== test session starts ===============================================================
- platform linux -- Python 3.5.2, pytest-4.4.1, py-1.7.0, pluggy-0.9.0
- rootdir: /home/ashot/questions
- collected 1 item
- test_file.py F [100%]
- ==================================================================== FAILURES ====================================================================
- _____________________________________________________________________ test_1 _____________________________________________________________________
- def test_1():
- > sub_function()
- test_file.py:9:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- def sub_function():
- > pytest.fail("This will fail here")
- E Failed: This will fail here
- test_file.py:6: Failed
- ============================================================ 1 failed in 0.12 seconds ============================================================
- ============================================================== test session starts ===============================================================
- platform linux -- Python 3.5.2, pytest-4.4.1, py-1.7.0, pluggy-0.9.0
- rootdir: /home/ashot/questions
- collected 1 item
- test_file.py F [100%]
- ==================================================================== FAILURES ====================================================================
- _____________________________________________________________________ test_1 _____________________________________________________________________
- def test_1():
- > sub_function()
- E Failed: This will fail here
- test_file.py:9: Failed
- ============================================================ 1 failed in 0.12 seconds ============================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement