Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. ============================================================== test session starts ===============================================================
  2. platform linux -- Python 3.5.2, pytest-4.4.1, py-1.7.0, pluggy-0.9.0
  3. rootdir: /home/ashot/questions
  4. collected 1 item
  5.  
  6. test_file.py F [100%]
  7.  
  8. ==================================================================== FAILURES ====================================================================
  9. _____________________________________________________________________ test_1 _____________________________________________________________________
  10.  
  11. def test_1():
  12. > sub_function()
  13.  
  14. test_file.py:9:
  15. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  16.  
  17. def sub_function():
  18. > pytest.fail("This will fail here")
  19. E Failed: This will fail here
  20.  
  21. test_file.py:6: Failed
  22. ============================================================ 1 failed in 0.12 seconds ============================================================
  23.  
  24. ============================================================== test session starts ===============================================================
  25. platform linux -- Python 3.5.2, pytest-4.4.1, py-1.7.0, pluggy-0.9.0
  26. rootdir: /home/ashot/questions
  27. collected 1 item
  28.  
  29. test_file.py F [100%]
  30.  
  31. ==================================================================== FAILURES ====================================================================
  32. _____________________________________________________________________ test_1 _____________________________________________________________________
  33.  
  34. def test_1():
  35. > sub_function()
  36. E Failed: This will fail here
  37.  
  38. test_file.py:9: Failed
  39. ============================================================ 1 failed in 0.12 seconds ============================================================
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement