Esempio n. 1
0
 def test_fail(self):
     host = Host((None, None))
     assert host.is_ok() == False, "Bad host thinks it is good"
Esempio n. 2
0
 def test(self):
     host = Host((0x00000001, 80))
     assert host.is_ok() == True, "Good host thinks it is bad"