示例#1
0
 def test_default_routes(self):
     assert len(get_ip_default_routes()) == \
         len(self.ip.get_default_routes(family=socket.AF_INET, table=254))
示例#2
0
 def test_default_routes(self):
     assert len(get_ip_default_routes()) == \
         len(self.ip.get_default_routes(family=socket.AF_INET, table=254))