diff options
Diffstat (limited to 'test/test_ipip.py')
-rw-r--r-- | test/test_ipip.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ipip.py b/test/test_ipip.py index 9574c2c299c..85b35fa7f24 100644 --- a/test/test_ipip.py +++ b/test/test_ipip.py @@ -88,7 +88,7 @@ class TestIPIP(VppTestCase): self.table.remove_vpp_config() def validate(self, rx, expected): - self.assertEqual(rx, expected.__class__(expected)) + self.assertTrue(bytes(rx), bytes(expected)) def generate_ip4_frags(self, payload_length, fragment_size): p_ether = Ether(src=self.pg1.remote_mac, dst=self.pg1.local_mac) @@ -764,7 +764,7 @@ class TestIPIP6(VppTestCase): rv = self.vapi.ipip_del_tunnel(sw_if_index=self.tunnel_if_index) def validate(self, rx, expected): - self.assertEqual(rx, expected.__class__(expected)) + self.assertTrue(bytes(rx), bytes(expected)) def generate_ip6_frags(self, payload_length, fragment_size): p_ether = Ether(src=self.pg1.remote_mac, dst=self.pg1.local_mac) |