def test_get_ap_None(self): self.assertEqual(rules.get_ap('00:18:0A:F2:DE:12'), None)
def test_get_ap(self): ap = rules.get_ap('00:18:0A:F2:DE:11') self.assertTrue(isinstance(ap, AccessPoint))