Advertisement
javajeff13

Pytest console output

Jan 22nd, 2022
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. =================================================== test session starts ====================================================
  2. platform darwin -- Python 3.10.0b2, pytest-6.2.5, py-1.10.0, pluggy-1.0.0 -- /Users/jwr003/coding/pytest-fold/.venv/bin/python
  3. cachedir: .pytest_cache
  4. rootdir: /Users/jwr003/coding/pytest-fold
  5. plugins: Faker-11.3.0
  6. collecting ...
  7. collected 4 items
  8.  
  9. tests/test_pytest_fold.py::test_version FAILED [ 25%]
  10. tests/test_pytest_fold.py::test_which_fails_1 FAILED [ 50%]
  11. tests/test_pytest_fold.py::test_which_passes_1 PASSED [ 75%]
  12. tests/test_pytest_fold.py::test_which_fails_2 FAILED [100%]
  13.  
  14. ========================================================= FAILURES =========================================================
  15. _______________________________________________________ test_version _______________________________________________________
  16.  
  17. ==>MARKER1<==
  18. def test_version():
  19. > assert __version__ == "0.1.0"
  20. E AssertionError: assert '' == '0.1.0'
  21. E - 0.1.0
  22.  
  23. tests/test_pytest_fold.py:14: AssertionError
  24. ==>MARKER2<==
  25. ____________________________________________________ test_which_fails_1 ____________________________________________________
  26.  
  27. ==>MARKER1<==
  28. def test_which_fails_1():
  29. > assert 0
  30. E assert 0
  31.  
  32. tests/test_pytest_fold.py:18: AssertionError
  33. ==>MARKER2<==
  34. ____________________________________________________ test_which_fails_2 ____________________________________________________
  35.  
  36. ==>MARKER1<==
  37. def test_which_fails_2():
  38. > assert 0
  39. E assert 0
  40.  
  41. tests/test_pytest_fold.py:26: AssertionError
  42. ==>MARKER2<==
  43. ================================================= short test summary info ==================================================
  44. FAILED tests/test_pytest_fold.py::test_version - AssertionError: assert '' == '0.1.0'
  45. FAILED tests/test_pytest_fold.py::test_which_fails_1 - assert 0
  46. FAILED tests/test_pytest_fold.py::test_which_fails_2 - assert 0
  47. =============================================== 3 failed, 1 passed in 12.41s ===============================================
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement