aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_sixrd.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_sixrd.py')
-rw-r--r--test/test_sixrd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_sixrd.py b/test/test_sixrd.py
index a469ac5bab6..dbdd4b5b356 100644
--- a/test/test_sixrd.py
+++ b/test/test_sixrd.py
@@ -72,9 +72,9 @@ class Test6RD(VppTestCase):
if IP in rx:
self.fail()
- self.assertTrue(rx[IPv6].src == expected[IPv6].src)
- self.assertTrue(rx[IPv6].dst == expected[IPv6].dst)
- self.assertTrue(rx[IPv6].nh == expected[IPv6].nh)
+ self.assertEqual(rx[IPv6].src, expected[IPv6].src)
+ self.assertEqual(rx[IPv6].dst, expected[IPv6].dst)
+ self.assertEqual(rx[IPv6].nh, expected[IPv6].nh)
def payload(self, len):
return 'x' * len