Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Python3 tests: Fix asserts.
[vpp.git]
/
test
/
test_ip4.py
diff --git
a/test/test_ip4.py
b/test/test_ip4.py
index
ca461f1
..
bd44a0a
100644
(file)
--- a/
test/test_ip4.py
+++ b/
test/test_ip4.py
@@
-1147,8
+1147,8
@@
class TestIPPunt(VppTestCase):
# but not equal to the number sent, since some were policed
#
rx = self.pg1._get_capture(1)
# but not equal to the number sent, since some were policed
#
rx = self.pg1._get_capture(1)
- self.assert
True(len(rx) >
0)
- self.assert
True(len(rx) <
len(pkts))
+ self.assert
Greater(len(rx),
0)
+ self.assert
Less(len(rx),
len(pkts))
#
# remove the poilcer. back to full rx
#
# remove the poilcer. back to full rx