Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Tests: Refactor tearDown show command logging, add lifecycle markers.
[vpp.git]
/
test
/
test_ping.py
diff --git
a/test/test_ping.py
b/test/test_ping.py
index
75c18d4
..
7e5c92f
100644
(file)
--- a/
test/test_ping.py
+++ b/
test/test_ping.py
@@
-42,8
+42,9
@@
class TestPing(VppTestCase):
def tearDown(self):
super(TestPing, self).tearDown()
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 """
def test_ping_basic(self):
""" basic ping test """