diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-20 21:56:20 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-20 21:56:20 +0200 |
commit | 61aed576582cedc38cafa758651f1446d4ba4d34 (patch) | |
tree | e2df676cfc8ddf9a9c8cc928adc2851f92262438 /smoketest/scripts/cli | |
parent | 3f6ae12908f54222f2f79a87bed51f71e2fbac87 (diff) | |
download | vyos-1x-61aed576582cedc38cafa758651f1446d4ba4d34.tar.gz vyos-1x-61aed576582cedc38cafa758651f1446d4ba4d34.zip |
smoketest: use assertNotIn() in base interface test
Diffstat (limited to 'smoketest/scripts/cli')
-rw-r--r-- | smoketest/scripts/cli/base_interfaces_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/base_interfaces_test.py b/smoketest/scripts/cli/base_interfaces_test.py index 6a5b9c4ee..8a84199d9 100644 --- a/smoketest/scripts/cli/base_interfaces_test.py +++ b/smoketest/scripts/cli/base_interfaces_test.py @@ -214,7 +214,7 @@ class BasicInterfaceTest: self.cli_commit() for interface in self._interfaces: - self.assertTrue(AF_INET6 not in ifaddresses(interface)) + self.assertNotIn(AF_INET6, ifaddresses(interface)) def test_interface_mtu(self): if not self._test_mtu: |