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:50 +0200 |
commit | 6fe3f5ad74456065bb841d89aa11f126243eeaab (patch) | |
tree | 2455ba4c31f7711d15631b543505a3acfe2caecd /smoketest/scripts/cli/base_interfaces_test.py | |
parent | a6c5874445eba0eae5cb89a95358f4c6c74b7f79 (diff) | |
download | vyos-1x-6fe3f5ad74456065bb841d89aa11f126243eeaab.tar.gz vyos-1x-6fe3f5ad74456065bb841d89aa11f126243eeaab.zip |
smoketest: use assertNotIn() in base interface test
(cherry picked from commit 61aed576582cedc38cafa758651f1446d4ba4d34)
Diffstat (limited to 'smoketest/scripts/cli/base_interfaces_test.py')
-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 4acde99d3..a508404de 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: |