示例#1
0
 def test_testing_config(self):
     assert pytest.approx(0.15) == sm.wait_timeout(0.1)
示例#2
0
 def test_production_config(self):
     assert pytest.approx(3.0) == sm.wait_timeout(2)
示例#3
0
文件: mailbox_test.py 项目: nirs/vdsm
 def test_testing_config(self):
     assert pytest.approx(0.15) == sm.wait_timeout(0.1)
示例#4
0
 def test_config(self, monitor_interval, expected_timeout):
     actual_timeout = sm.wait_timeout(monitor_interval)
     assert actual_timeout == pytest.approx(expected_timeout)
示例#5
0
文件: mailbox_test.py 项目: nirs/vdsm
 def test_production_config(self):
     assert pytest.approx(3.0) == sm.wait_timeout(2)