diff options
Diffstat (limited to 'test/test_pnat.py')
-rw-r--r-- | test/test_pnat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pnat.py b/test/test_pnat.py index 45e20240760..ef5b3a107dc 100644 --- a/test/test_pnat.py +++ b/test/test_pnat.py @@ -40,7 +40,7 @@ class TestPNAT(VppTestCase): i.admin_down() def validate(self, rx, expected): - self.assertEqual(rx, expected.__class__(expected)) + self.assertTrue(bytes(rx), bytes(expected)) def validate_bytes(self, rx, expected): self.assertEqual(rx, expected) |