Skip to content

adding github workflow #1

adding github workflow

adding github workflow #1

GitHub Actions / JUnit Test Report failed May 10, 2024 in 0s

70 tests run, 46 passed, 0 skipped, 24 failed.

Annotations

Check failure on line 6 in tests\device\test_device_reset.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_device_reset.py.test

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 6 in tests\device\test_get_product_name.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_product_name.py.test

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 6 in tests\device\test_get_serial_number.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_serial_number.py.test

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 6 in tests\device\test_get_set_fan_auto_cleaning_interval.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_set_fan_auto_cleaning_interval.py.test

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 6 in tests\device\test_get_set_nox_tuning_parameters.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_set_nox_tuning_parameters.py.test

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 6 in tests\device\test_get_set_rht_acceleration_mode.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_set_rht_acceleration_mode.py.test

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 6 in tests\device\test_get_set_temperature_offset_parameters.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_set_temperature_offset_parameters.py.test_no_arg

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 25 in tests\device\test_get_set_temperature_offset_parameters.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_set_temperature_offset_parameters.py.test_raw_false

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 53 in tests\device\test_get_set_temperature_offset_parameters.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_set_temperature_offset_parameters.py.test_raw_true

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 6 in tests\device\test_get_set_voc_state.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_set_voc_state.py.test

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 6 in tests\device\test_get_set_voc_tuning_parameters.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_set_voc_tuning_parameters.py.test

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 6 in tests\device\test_get_set_warm_start_parameter.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_set_warm_start_parameter.py.test_no_arg

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 20 in tests\device\test_get_set_warm_start_parameter.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_set_warm_start_parameter.py.test_raw_false

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 38 in tests\device\test_get_set_warm_start_parameter.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_set_warm_start_parameter.py.test_raw_true

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 7 in tests\device\test_get_version.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_get_version.py.test

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 7 in tests\device\test_read_data_ready.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_read_data_ready.py.test_normal_mode

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 7 in tests\device\test_read_device_status.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_read_device_status.py.test_no_args

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 23 in tests\device\test_read_device_status.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_read_device_status.py.test_without_clear

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 35 in tests\device\test_read_device_status.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_read_device_status.py.test_with_clear

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 8 in tests\device\test_read_measured_values.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_read_measured_values.py.test_idle_mode

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 25 in tests\device\test_read_measured_values.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_read_measured_values.py.test_measure_mode

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 6 in tests\device\test_start_fan_cleaning.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_start_fan_cleaning.py.test

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 7 in tests\device\test_start_stop_measurement.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_start_stop_measurement.py.test_normal_mode

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError

Check failure on line 22 in tests\device\test_start_stop_measurement.py

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

tests\device\test_start_stop_measurement.py.test_without_pm

test setup failure
Raw output
request = <SubRequest 'bridge' for <Function test>>

    @pytest.fixture(scope="session")
    def bridge(request):
>       serial_port = _get_serial_port(request.config, validate=True)

conftest.py:52: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

config = <_pytest.config.Config object at 0x000001B705AED400>, validate = True

    def _get_serial_port(config, validate=False):
        """
        Get the serial port to be used for the tests.
        """
        port = config.getoption("--serial-port")
        if (validate is True) and (port is None):
>           raise ValueError("Please specify the serial port to be used with "
                             "the '--serial-port' argument.")
E           ValueError: Please specify the serial port to be used with the '--serial-port' argument.

conftest.py:27: ValueError