diff options
author | Klement Sekera <ksekera@cisco.com> | 2016-12-12 02:55:06 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2016-12-12 13:44:29 +0000 |
commit | 1a419f2b630c648b33c30efef02e182d7b3e3751 (patch) | |
tree | 70806e7a88c1ee0b647954a5efbb6c6ef23d714c /test/test_fib.py | |
parent | 4d4899390c9e47c38039f831e9205368635ed930 (diff) |
make test: remove unneeded print
Change-Id: I99242486371cea230e72974a7fc8768ffee9af62
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/test_fib.py')
-rw-r--r-- | test/test_fib.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_fib.py b/test/test_fib.py index 716ba287e1e..1e28e8f8043 100644 --- a/test/test_fib.py +++ b/test/test_fib.py @@ -4,6 +4,7 @@ import unittest from framework import VppTestCase, VppTestRunner + class TestFIB(VppTestCase): """ FIB Test Case """ @@ -21,7 +22,8 @@ class TestFIB(VppTestCase): """ FIB Unit Tests """ error = self.vapi.cli("test fib") - self.logger.critical(error) + if error: + self.logger.critical(error) self.assertEqual(error.find("Failed"), -1) if __name__ == '__main__': |