示例#1
0
文件: tests.py 项目: deone/radius-dev
 def test_get_ap_None(self):
     self.assertEqual(rules.get_ap('00:18:0A:F2:DE:12'), None)
示例#2
0
 def test_get_ap_None(self):
     self.assertEqual(rules.get_ap('00:18:0A:F2:DE:12'), None)
示例#3
0
文件: tests.py 项目: deone/radius-dev
 def test_get_ap(self):
     ap = rules.get_ap('00:18:0A:F2:DE:11')
     self.assertTrue(isinstance(ap, AccessPoint))
示例#4
0
 def test_get_ap(self):
     ap = rules.get_ap('00:18:0A:F2:DE:11')
     self.assertTrue(isinstance(ap, AccessPoint))