Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
4d48993
)
make test: remove unneeded print
10/4210/2
author
Klement Sekera
<ksekera@cisco.com>
Mon, 12 Dec 2016 01:55:06 +0000
(
02:55
+0100)
committer
Damjan Marion
<dmarion.lists@gmail.com>
Mon, 12 Dec 2016 13:44:29 +0000
(13:44 +0000)
Change-Id: I99242486371cea230e72974a7fc8768ffee9af62
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/test_fib.py
patch
|
blob
|
history
diff --git
a/test/test_fib.py
b/test/test_fib.py
index
716ba28
..
1e28e8f
100644
(file)
--- 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__':