Skip to content

test_circuit_status fails #37

@olegogogo

Description

@olegogogo

i have real can node v3:
изображение
when i have tried to test it with test_circuit_status.py, some tests failed

====================================================================== short test summary info =======================================================================
FAILED test_circuit_status.py::TestCircuitStatus::test_circuit_5v_id - AttributeError: 'NoneType' object has no attribute 'message'
FAILED test_circuit_status.py::TestCircuitStatus::test_circuit_vin_id - AttributeError: 'NoneType' object has no attribute 'message'
FAILED test_circuit_status.py::TestCircuitStatus::test_voltage_5v - AttributeError: 'NoneType' object has no attribute 'message'
FAILED test_circuit_status.py::TestCircuitStatus::test_voltage_vin - NotImplementedError
FAILED test_circuit_status.py::TestCircuitStatus::test_error_flags_5v - NotImplementedError
FAILED test_circuit_status.py::TestCircuitStatus::test_error_flags_vin - NotImplementedError
============================================================== 6 failed, 4 passed, 3 warnings in 14.08s ==============================================================

On the other hand, in dronecan_gui_tool the voltage is shown in the circuit_status messages:
изображение

So I expected the tests to be passed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions