From 7375d9f06e5c8bc7e023c9ca3e40b2d83edbaaae Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 16 Jan 2021 20:24:53 +0100 Subject: smoketest: interfaces: use provided unittest framework assert methods (cherry picked from commit b2b5ea81243f672d3cc3c4082374551f38fd4dde) --- smoketest/scripts/cli/test_vrf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smoketest/scripts/cli/test_vrf.py') 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' -- cgit v1.2.3