def test_routes(self): assert len(get_ip_route()) == \ len(self.ip.get_routes(family=socket.AF_INET, table=255))