[Python] Tests seem to fail on slow systems due to hard-coded sleep() values
When running pytest on the RedPitaya the tests are not being cleared. I suspect this is due to timing issues with the slower CPU but this will have to be further examined.
The failed tests give the following summary:
FAILED python/tests/test_broadcastmanager.py::test_manager_discover - assert 0 == 1
FAILED python/tests/test_broadcastmanager.py::test_manager_ext_callback_runtime - assert 0 == 1
FAILED python/tests/test_broadcastmanager.py::test_manager_method_callback_runtime - assert 0 == 1
FAILED python/tests/test_broadcastmanager.py::test_manager_callback_decorator - assert 0 == 1
FAILED python/tests/test_cmd_receiver.py::test_thread_shutdown - assert not <constellation.cscp.CSCPMessage object at 0xb4dc0250>
FAILED python/tests/test_heartbeat.py::test_hb_extrasystoles - assert 4 == 2
FAILED python/tests/test_monitoring.py::test_monitoring_sender_loop - assert 11111 not in {11111: []}
FAILED python/tests/test_satellite.py::test_satellite_fsm_change_on_cmd - AssertionError: assert 'init' in 'new'
FAILED python/tests/test_satellite.py::test_satellite_fsm_change_transitional - AssertionError: assert 'initializing' in 'new'
FAILED python/tests/test_satellite.py::test_satellite_chirp_offer - assert False
FAILED python/tests/test_satellite.py::test_satellite_fsm_transition_walk - AssertionError: assert 'transitioning' in 'transition not allowed'