diff options
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_loopback.py')
-rwxr-xr-x | smoketest/scripts/cli/test_interfaces_loopback.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_loopback.py b/smoketest/scripts/cli/test_interfaces_loopback.py index e3538fc59..36000c3ff 100755 --- a/smoketest/scripts/cli/test_interfaces_loopback.py +++ b/smoketest/scripts/cli/test_interfaces_loopback.py @@ -36,7 +36,7 @@ class LoopbackInterfaceTest(BasicInterfaceTest.BaseTest): # loopback interface must persist! for intf in self._interfaces: - self.assertTrue(intf in interfaces()) + self.assertIn(intf, interfaces()) def test_add_single_ip_address(self): super().test_add_single_ip_address() @@ -48,5 +48,8 @@ class LoopbackInterfaceTest(BasicInterfaceTest.BaseTest): for addr in self._loopback_addresses: self.assertTrue(is_intf_addr_assigned('lo', addr)) + def test_interface_disable(self): + self.skipTest('not supported') + if __name__ == '__main__': unittest.main(verbosity=2) |