def test_default_routes(self): assert len(get_ip_default_routes()) == \ len(self.ip.get_default_routes(family=socket.AF_INET, table=254))