aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_ip4.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ip4.py')
-rw-r--r--test/test_ip4.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ip4.py b/test/test_ip4.py
index ca461f1d276..bd44a0a7fc9 100644
--- 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)
- self.assertTrue(len(rx) > 0)
- self.assertTrue(len(rx) < len(pkts))
+ self.assertGreater(len(rx), 0)
+ self.assertLess(len(rx), len(pkts))
#
# remove the poilcer. back to full rx