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:35:40 +0100 |
commit | 7375d9f06e5c8bc7e023c9ca3e40b2d83edbaaae (patch) | |
tree | 48927de761658137a1303d311f6ced96c19ef04d /smoketest/scripts/cli/test_vrf.py | |
parent | f228a1ae057ad61bcdd04c02eae794ae595a2aba (diff) | |
download | vyos-1x-7375d9f06e5c8bc7e023c9ca3e40b2d83edbaaae.tar.gz vyos-1x-7375d9f06e5c8bc7e023c9ca3e40b2d83edbaaae.zip |
smoketest: interfaces: use provided unittest framework assert methods
(cherry picked from commit b2b5ea81243f672d3cc3c4082374551f38fd4dde)
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' |