X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_ping.py;h=7e5c92f63c67a036ab87d643491c4ac333d759f4;hb=0ad4a439d68f906295656876cc3bb3092da2cf56;hp=4f3921e992e9de2af9ea9c854bbb03518ca0e50f;hpb=e3d52803149d58737aad38435361e692d70c9d7a;p=vpp.git diff --git a/test/test_ping.py b/test/test_ping.py index 4f3921e992e..7e5c92f63c6 100644 --- a/test/test_ping.py +++ b/test/test_ping.py @@ -36,10 +36,15 @@ class TestPing(VppTestCase): super(TestPing, cls).tearDownClass() raise + @classmethod + def tearDownClass(cls): + super(TestPing, cls).tearDownClass() + def tearDown(self): super(TestPing, self).tearDown() - if not self.vpp_dead: - self.vapi.cli("show hardware") + + def show_commands_at_teardown(self): + self.logger.info(self.vapi.cli("show hardware")) def test_ping_basic(self): """ basic ping test """