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_ipsec_esp.py
diff --git
a/test/test_ipsec_esp.py
b/test/test_ipsec_esp.py
index
a8b28c5
..
e5db0a6
100644
(file)
--- a/
test/test_ipsec_esp.py
+++ b/
test/test_ipsec_esp.py
@@
-332,8
+332,9
@@
class TemplateIpsecEspUdp(ConfigIpsecESP):
def tearDown(self):
super(TemplateIpsecEspUdp, self).tearDown()
def tearDown(self):
super(TemplateIpsecEspUdp, 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"))
class TestIpsecEspUdp(TemplateIpsecEspUdp, IpsecTra4Tests, IpsecTun4Tests):
class TestIpsecEspUdp(TemplateIpsecEspUdp, IpsecTra4Tests, IpsecTun4Tests):