summaryrefslogtreecommitdiff
path: root/python/samba/tests/dns_forwarder.py
diff options
context:
space:
mode:
authorJoe Guo <joeg@catalyst.net.nz>2018-07-30 18:21:11 +1200
committerDouglas Bagnall <dbagnall@samba.org>2018-08-24 07:49:30 +0200
commitfd6b2086cbf03d8dd0b46160f345bf7cc5551aeb (patch)
tree101163cf6456ed94237bf4210a39965384494c45 /python/samba/tests/dns_forwarder.py
parent211c9a5f85bffbb012b4567bad265c9339588fbf (diff)
downloadsamba-fd6b2086cbf03d8dd0b46160f345bf7cc5551aeb.tar.gz
PEP8: fix E303: too many blank lines (2)
Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'python/samba/tests/dns_forwarder.py')
-rw-r--r--python/samba/tests/dns_forwarder.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/samba/tests/dns_forwarder.py b/python/samba/tests/dns_forwarder.py
index 1539710a213..5c7a70e7051 100644
--- a/python/samba/tests/dns_forwarder.py
+++ b/python/samba/tests/dns_forwarder.py
@@ -159,7 +159,6 @@ class DNSTest(TestCase):
self.assert_dns_rcode_equals(response, dns.DNS_RCODE_OK)
-
def contact_real_server(host, port):
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0)
s.connect((host, port))
@@ -332,7 +331,6 @@ class TestDnsForwarding(DNSTest):
except socket.timeout:
self.fail("DNS server is too slow (timeout %s)" % timeout)
-
def test_single_forwarder_waiting_forever(self):
s = self.start_toy_server(dns_servers[0], 53, 'forwarder1')
s.send('timeout 10000', 0)