File tree Expand file tree Collapse file tree 2 files changed +0
-14
lines changed
Expand file tree Collapse file tree 2 files changed +0
-14
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments