diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-16 20:24:53 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-16 21:34:30 +0100 |
commit | b2b5ea81243f672d3cc3c4082374551f38fd4dde (patch) | |
tree | ac8538c79480f6f6236af30c14b8d935ae376979 /smoketest/scripts/cli/test_vrf.py | |
parent | b373d3841608838fd28f98691cb14e42c128c216 (diff) | |
download | vyos-1x-b2b5ea81243f672d3cc3c4082374551f38fd4dde.tar.gz vyos-1x-b2b5ea81243f672d3cc3c4082374551f38fd4dde.zip |
smoketest: interfaces: use provided unittest framework assert methods
Diffstat (limited to 'smoketest/scripts/cli/test_vrf.py')
-rwxr-xr-x | smoketest/scripts/cli/test_vrf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_vrf.py b/smoketest/scripts/cli/test_vrf.py index bd8c5ab02..5270e758a 100755 --- a/smoketest/scripts/cli/test_vrf.py +++ b/smoketest/scripts/cli/test_vrf.py @@ -37,7 +37,7 @@ class VRFTest(unittest.TestCase): self.session.delete(base_path) self.session.commit() for vrf in vrfs: - self.assertTrue(vrf not in interfaces()) + self.assertNotIn(vrf, interfaces()) def test_vrf_table_id(self): table = '1000' |