diff --git a/neutron/tests/functional/agent/l3/framework.py b/neutron/tests/functional/agent/l3/framework.py index 015d9cb287b..35a2b259778 100644 --- a/neutron/tests/functional/agent/l3/framework.py +++ b/neutron/tests/functional/agent/l3/framework.py @@ -464,7 +464,7 @@ class L3AgentTestFramework(base.BaseSudoTestCase): def _assert_internal_devices(self, router): internal_devices = router.router[constants.INTERFACE_KEY] - self.assertTrue(len(internal_devices)) + self.assertGreater(len(internal_devices), 0) for device in internal_devices: self.assertTrue(self.device_exists_with_ips_and_mac( device, router.get_internal_device_name, router.ns_name))