diff options
author | Jan <jgelety@cisco.com> | 2016-10-26 15:44:27 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-11-11 18:06:15 +0000 |
commit | 49c0fcabada485d4f0e4bf9e2d5e26b79bbcc645 (patch) | |
tree | ae72c84823e34a34b791736db1df9baf79a9127b /test/framework.py | |
parent | fa1456a38da80ee0a354ea14a65df7c3b10f605e (diff) |
Add single-loop test variant to L2BD and L2XC tests
- create single-loop version of tests
- update doc strings
- add possibility to log CLI string for logging level "info"
Change-Id: Ibc9e5650b8a33d2ed168a8440c2ae03227be60bb
Signed-off-by: Jan <jgelety@cisco.com>
Diffstat (limited to 'test/framework.py')
-rw-r--r-- | test/framework.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/framework.py b/test/framework.py index 8dbc18fda4f..fdb600c4093 100644 --- a/test/framework.py +++ b/test/framework.py @@ -276,11 +276,11 @@ class VppTestCase(unittest.TestCase): def tearDown(self): """ Show various debug prints after each test """ if not self.vpp_dead: - self.logger.info(self.vapi.cli("show int")) - self.logger.info(self.vapi.cli("show trace")) - self.logger.info(self.vapi.cli("show hardware")) - self.logger.info(self.vapi.cli("show error")) - self.logger.info(self.vapi.cli("show run")) + self.logger.info(self.vapi.ppcli("show int")) + self.logger.debug(self.vapi.cli("show trace")) + self.logger.info(self.vapi.ppcli("show hardware")) + self.logger.info(self.vapi.ppcli("show error")) + self.logger.info(self.vapi.ppcli("show run")) def setUp(self): """ Clear trace before running each test""" |