summaryrefslogtreecommitdiffstats
path: root/test/test_fib.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_fib.py')
-rw-r--r--test/test_fib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_fib.py b/test/test_fib.py
index 6b597465796..2f4d7265cf4 100644
--- a/test/test_fib.py
+++ b/test/test_fib.py
@@ -14,7 +14,7 @@ class TestFIB(VppTestCase):
if error:
self.logger.critical(error)
- self.assertEqual(error.find("Failed"), -1)
+ self.assertNotIn("Failed", error)
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)