summaryrefslogtreecommitdiff
path: root/smoketest
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-20 21:56:20 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-20 21:56:50 +0200
commit6fe3f5ad74456065bb841d89aa11f126243eeaab (patch)
tree2455ba4c31f7711d15631b543505a3acfe2caecd /smoketest
parenta6c5874445eba0eae5cb89a95358f4c6c74b7f79 (diff)
downloadvyos-1x-6fe3f5ad74456065bb841d89aa11f126243eeaab.tar.gz
vyos-1x-6fe3f5ad74456065bb841d89aa11f126243eeaab.zip
smoketest: use assertNotIn() in base interface test
(cherry picked from commit 61aed576582cedc38cafa758651f1446d4ba4d34)
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/scripts/cli/base_interfaces_test.py2
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: