X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=test%2Ftest_ip6.py;h=33194ebc5b26cffcf081e90d189b03af2f49be3e;hb=3d2df215bf1de516ffbd8ee3815091ca3c3a492f;hp=95f9229ea5a4337cd5b144cc43e25e4dfc2b1979;hpb=6221927e9bad39c2856e844f8bc38947cb447f73;p=vpp.git diff --git a/test/test_ip6.py b/test/test_ip6.py index 95f9229ea5a..33194ebc5b2 100644 --- a/test/test_ip6.py +++ b/test/test_ip6.py @@ -1920,8 +1920,8 @@ class TestIP6Punt(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