summaryrefslogtreecommitdiffstats
path: root/test/test_sctp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_sctp.py')
-rw-r--r--test/test_sctp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_sctp.py b/test/test_sctp.py
index d7efc8c9353..70201eba360 100644
--- a/test/test_sctp.py
+++ b/test/test_sctp.py
@@ -66,7 +66,7 @@ class TestSCTP(VppTestCase):
"no-echo uri " + uri)
if error:
self.logger.critical(error)
- self.assertEqual(error.find("failed"), -1)
+ self.assertNotIn("failed", error)
error = self.vapi.cli("test echo client mbytes 10 no-return " +
" appns 1" +
@@ -76,7 +76,7 @@ class TestSCTP(VppTestCase):
" uri " + uri)
if error:
self.logger.critical(error)
- self.assertEqual(error.find("failed"), -1)
+ self.assertNotIn("failed", error)
# Delete inter-table routes
ip_t01.remove_vpp_config()