def test_nslooky_fails_on_wrong_argument(self): self.assertRaises(TypeError, hostmac.nslooky( ip=100, detected_os=hostmac.detect_os()))
def test_nslooky_returns_string(self): self.assertEqual(str, type(hostmac.nslooky( ip="192.168.1.1", detected_os=hostmac.detect_os())))