Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
misc: Fix python scripts shebang line
[vpp.git]
/
src
/
plugins
/
dns
/
test
/
test_dns.py
diff --git
a/src/plugins/dns/test/test_dns.py
b/src/plugins/dns/test/test_dns.py
index
307e73c
..
55923e2
100644
(file)
--- a/
src/plugins/dns/test/test_dns.py
+++ b/
src/plugins/dns/test/test_dns.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
import unittest
import unittest
@@
-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
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
self.assertEqual(rv.ip4_address, IPv4Address(u'1.2.3.4').packed)
# Configure 127.0.0.1/8 on the pg interface