adding github workflow #2
67 tests run, 33 passed, 0 skipped, 34 failed.
Annotations
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_single_shot_measurement
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_soft_reset
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_read_serial_number
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_single_shot_measurement[Sht3xRepeatability.HIGH]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_single_shot_measurement[Sht3xRepeatability.MEDIUM]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_single_shot_measurement[Sht3xRepeatability.LOW]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_heater_on
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_heater_off
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_read_status_register
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_clear_status_register
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_soft_reset
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_read_serial_number
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht3x/test_heater.py
github-actions / JUnit Test Report
test_heater.test
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht3x/test_single_shot_measurement.py
github-actions / JUnit Test Report
test_single_shot_measurement.test_invalid_config
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_single_shot_measurement[Sht4xRepeatability.HIGH]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_single_shot_measurement[Sht4xRepeatability.MEDIUM]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_single_shot_measurement[Sht4xRepeatability.LOW]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_activate_heater[Sht4xHeaterActivationDuration.LONG-Sht4xHeaterPower.HIGH]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_activate_heater[Sht4xHeaterActivationDuration.LONG-Sht4xHeaterPower.MEDIUM]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_activate_heater[Sht4xHeaterActivationDuration.LONG-Sht4xHeaterPower.LOW]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_activate_heater[Sht4xHeaterActivationDuration.SHORT-Sht4xHeaterPower.HIGH]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_activate_heater[Sht4xHeaterActivationDuration.SHORT-Sht4xHeaterPower.MEDIUM]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_activate_heater[Sht4xHeaterActivationDuration.SHORT-Sht4xHeaterPower.LOW]
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_soft_reset
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError
Check failure on line 1 in tests/sht2x/test_cmds.py
github-actions / JUnit Test Report
test_cmds.test_read_serial_number
failed on setup with "ValueError: Please specify the serial port to be used with the '--serial-port' argument."
Raw output
request = <SubRequest 'bridge' for <Function test_single_shot_measurement>>
@pytest.fixture(scope="session")
def bridge(request):
> serial_port = _get_serial_port(request.config, validate=True)
conftest.py:58:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
config = <_pytest.config.Config object at 0x7f3ff4fab130>, 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:33: ValueError