Skip to content

Commit b4661da

Browse files
Removing duplicate method. Fixes #41
1 parent cfda250 commit b4661da

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

browsermobproxy/client.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,3 @@ def retry(self, retry_count):
338338
r = requests.put('%s/proxy/%s/retry' % (self.host, self.port),
339339
{'retrycount': retry_count})
340340
return r.status_code
341-
342-
def empty_dns_cache(self):
343-
"""
344-
Empties the DNS Cache in BrowserMob Proxy.
345-
"""
346-
return requests.delete('%s/proxy/%s/dns/cache' % (self.host, self.port))\
347-
.status_code

test/test_client.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,3 @@ def test_retry(self):
263263
"""
264264
status_code = self.client.retry(4)
265265
assert(status_code == 200)
266-
267-
def test_we_can_delete_dns_cache(self):
268-
"""
269-
/proxy/:port/dns/cache
270-
"""
271-
status_code = self.client.empty_dns_cache()
272-
assert(status_code == 200)

0 commit comments

Comments
 (0)