def test_testing_config(self): assert pytest.approx(0.15) == sm.wait_timeout(0.1)
def test_production_config(self): assert pytest.approx(3.0) == sm.wait_timeout(2)
def test_config(self, monitor_interval, expected_timeout): actual_timeout = sm.wait_timeout(monitor_interval) assert actual_timeout == pytest.approx(expected_timeout)