Пример #1
0
 def test_routes(self):
     assert len(get_ip_route()) == \
         len(self.ip.get_routes(family=socket.AF_INET, table=255))
Пример #2
0
 def test_routes(self):
     assert len(get_ip_route()) == \
         len(self.ip.get_routes(family=socket.AF_INET, table=255))