mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-08 16:53:23 +00:00
Fix failure in test_local_host resulting from attempting to add tuple to list.
This commit is contained in:
@@ -71,7 +71,7 @@ class Cassette(object):
|
||||
self._ignore_hosts = ignore_hosts
|
||||
if ignore_localhost:
|
||||
self._ignore_hosts = list(set(
|
||||
self._ignore_hosts + ['localhost', '0.0.0.0', '127.0.0.1']
|
||||
list(self._ignore_hosts) + ['localhost', '0.0.0.0', '127.0.0.1']
|
||||
))
|
||||
|
||||
# self.data is the list of (req, resp) tuples
|
||||
|
||||
Reference in New Issue
Block a user