Exemplo n.º 1
0
 def test_failed_custom(self):
     tout = KeywordTimeout('1s', 'Custom message', VariableMock())
     tout.starttime = time.time() - 2
     assert_equal(tout.get_message(), 'Custom message')
Exemplo n.º 2
0
 def test_failed_custom(self):
     tout = KeywordTimeout('1s', 'Custom message', VariableMock())
     tout.starttime = time.time() - 2
     assert_equals(tout.get_message(), 'Custom message')
 def test_failed_custom(self):
     tout = KeywordTimeout("1s", "Custom message", VariableMock())
     tout.starttime = time.time() - 2
     assert_equal(tout.get_message(), "Custom message")