Beispiel #1
0
 def test_testing_config(self):
     assert pytest.approx(0.15) == sm.wait_timeout(0.1)
Beispiel #2
0
 def test_production_config(self):
     assert pytest.approx(3.0) == sm.wait_timeout(2)
Beispiel #3
0
 def test_testing_config(self):
     assert pytest.approx(0.15) == sm.wait_timeout(0.1)
Beispiel #4
0
 def test_config(self, monitor_interval, expected_timeout):
     actual_timeout = sm.wait_timeout(monitor_interval)
     assert actual_timeout == pytest.approx(expected_timeout)
Beispiel #5
0
 def test_production_config(self):
     assert pytest.approx(3.0) == sm.wait_timeout(2)