X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_bfd.py;h=423832b55a20ab281fa8983715630cc74620baa1;hb=ffba3c3;hp=a7f2b93982be328ffc78f4088f3c4f97901f63bc;hpb=2d3c7b9c4555ea4467253b0590c9aa1a6c644b4d;p=vpp.git diff --git a/test/test_bfd.py b/test/test_bfd.py index a7f2b93982b..423832b55a2 100644 --- a/test/test_bfd.py +++ b/test/test_bfd.py @@ -84,7 +84,7 @@ class BFDAPITestCase(VppTestCase): session = VppBFDUDPSession(self, self.pg0, self.pg0.remote_ip4) session.add_vpp_config() - with self.vapi.expect_negative_api_retval(): + with self.vapi.assert_negative_api_retval(): session.add_vpp_config() session.remove_vpp_config()