aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dns
diff options
context:
space:
mode:
authorsnaramre <snaramre@cisco.com>2019-10-11 19:04:19 +0000
committerOle Trøan <otroan@employees.org>2019-10-22 07:39:53 +0000
commit26ea1465aeb2934fd86a372666cc3c65e190826c (patch)
tree7973ec7fafebc4b1e8db75a36d6848578fdb9678 /src/plugins/dns
parentb0d83f188dc9a6bb6cdb13e83baa8c345956a9d2 (diff)
tests: python3 changes for dns tests
Type: fix Change-Id: Ia81c60d469b29606d9988d7d9ed1e133e6af7158 Signed-off-by: snaramre <snaramre@cisco.com>
Diffstat (limited to 'src/plugins/dns')
-rw-r--r--src/plugins/dns/test/test_dns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dns/test/test_dns.py b/src/plugins/dns/test/test_dns.py
index 307e73c983a..0f878831b07 100644
--- a/src/plugins/dns/test/test_dns.py
+++ b/src/plugins/dns/test/test_dns.py
@@ -82,7 +82,7 @@ class TestDns(VppTestCase):
self.logger.info(self.vapi.cli("dns cache add bozo.clown.org 1.2.3.4"))
# Test the binary API
- rv = self.vapi.dns_resolve_name(name='bozo.clown.org')
+ rv = self.vapi.dns_resolve_name(name=b'bozo.clown.org')
self.assertEqual(rv.ip4_address, IPv4Address(u'1.2.3.4').packed)
# Configure 127.0.0.1/8 on the pg interface