New paste Repaste Download
================================================================================= test session starts ==================================================================================
platform linux -- Python 3.12.3, pytest-8.3.5, pluggy-1.5.0 -- /home/byaremkiv/git/link/venv/bin/python3
cachedir: .pytest_cache
metadata: {'Python': '3.12.3', 'Platform': 'Linux-6.11.0-24-generic-x86_64-with-glibc2.39', 'Packages': {'pytest': '8.3.5', 'pluggy': '1.5.0'}, 'Plugins': {'cov': '6.1.1', 'html': '4.1.1', 'order': '1.3.0', 'metadata': '3.1.1'}}
rootdir: /home/byaremkiv/git/link
plugins: cov-6.1.1, html-4.1.1, order-1.3.0, metadata-3.1.1
collecting ...
collected 3 items                                                                                                                                                                      
test/functional/simple_test.py::test_program_2_devices[0052005a464d500a20333836] FAILED                                                                                          [ 33%]
test/functional/simple_test.py::test_program_2_devices[002100554241500820323735] FAILED                                                                                          [ 66%]
test/functional/simple_test.py::test_connect_links PASSED                                                                                                                        [100%]
======================================================================================= FAILURES =======================================================================================
___________________________________________________________________ test_program_2_devices[0052005a464d500a20333836] ___________________________________________________________________
device_id = '0052005a464d500a20333836'
    @pytest.mark.order(1)
    @pytest.mark.parametrize("device_id", [(config_file["device_id_1"]), (config_file["device_id_2"])])
    def test_program_2_devices(device_id):
>      assert program_device(device_id)
test/functional/simple_test.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
device_id = '0052005a464d500a20333836'
    def program_device(device_id):
        device = find_device(device_id)
>       assert device, f"Device with ID {device_id} not found"
E       AssertionError: Device with ID 0052005a464d500a20333836 not found
E       assert None
test/functional/common.py:16: AssertionError
___________________________________________________________________ test_program_2_devices[002100554241500820323735] ___________________________________________________________________
device_id = '002100554241500820323735'
    @pytest.mark.order(1)
    @pytest.mark.parametrize("device_id", [(config_file["device_id_1"]), (config_file["device_id_2"])])
    def test_program_2_devices(device_id):
>      assert program_device(device_id)
test/functional/simple_test.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
device_id = '002100554241500820323735'
    def program_device(device_id):
        device = find_device(device_id)
>       assert device, f"Device with ID {device_id} not found"
E       AssertionError: Device with ID 002100554241500820323735 not found
E       assert None
test/functional/common.py:16: AssertionError
======================================================================================== PASSES ========================================================================================
--------------------------------------------------------- generated xml file: /home/byaremkiv/git/link/output/test_report.xml ----------------------------------------------------------
=============================================================================  [31m [1m2 failed [0m,  [32m1 passed [0m [31m in 0.06s [0m [31m ==============================================================================
Filename: None. Size: 4kb. View raw, , hex, or download this file.

This paste expires on 2025-05-16 15:47:18.507313. Pasted through deprecated-web.