| ======================================================================================================= test session starts =======================================================================================================
|
| platform win32 -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0 -- D:\Projects\PycharmProjects\PythonProject\.venv\Scripts\python.exe
|
| rootdir: D:\Projects\PycharmProjects\PythonProject\selenium_learning\9_pytest\chapter_9-2
|
| collecting ...
|
| collected 2 items
|
|
|
| test_dir\test_file_01.py . [ 50%]
|
| test_dir\test_file_02.py F [100%]
|
|
|
| ============================================================================================================ FAILURES =============================================================================================================
|
| __________________________________________________________________________________________________________ test_add_3_4 ___________________________________________________________________________________________________________
|
|
|
| def test_add_3_4():
|
| print('test_numbers_3_4')
|
| > assert add(3, 4) == 8
|
| E assert 7 == 8
|
| E + where 7 = add(3, 4)
|
|
|
| test_dir\test_file_02.py:8: AssertionError
|
| ------------------------------------------------------------------------------------------------------ Captured stdout call -------------------------------------------------------------------------------------------------------
|
| test_numbers_3_4
|
| ===================================================================================================== short test summary info =====================================================================================================
|
| [31mFAILED [0m test_dir/test_file_02.py:: [1mtest_add_3_4 [0m - assert 7 == 8
|
| =================================================================================================== [31m [1m1 failed [0m, [32m1 passed [0m [31m in 0.03s [0m [31m ===================================================================================================
|