1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 09:13:23 +00:00

New Feature: Ignore Some Requests

Add 2 new options, ignore_localhost and ignore_hosts, which can ignore
requests so they aren't recorded in a cassette.

Closes #74
This commit is contained in:
Kevin McCarthy
2014-05-03 14:46:39 -10:00
parent b5cfd517cf
commit 3990b32892
6 changed files with 70 additions and 11 deletions

16
tox.ini
View File

@@ -31,6 +31,7 @@ commands =
deps =
mock
pytest
pytest-localserver
PyYAML
[testenv:py26oldrequests]
@@ -38,6 +39,7 @@ basepython = python2.6
deps =
mock
pytest
pytest-localserver
PyYAML
requests==1.2.3
@@ -46,6 +48,7 @@ basepython = python2.7
deps =
mock
pytest
pytest-localserver
PyYAML
requests==1.2.3
@@ -54,6 +57,7 @@ basepython = python3.3
deps =
mock
pytest
pytest-localserver
PyYAML
requests==1.2.3
@@ -62,6 +66,7 @@ basepython = python3.4
deps =
mock
pytest
pytest-localserver
PyYAML
requests==1.2.3
@@ -70,6 +75,7 @@ basepython = pypy
deps =
mock
pytest
pytest-localserver
PyYAML
requests==1.2.3
@@ -78,6 +84,7 @@ basepython = python2.6
deps =
mock
pytest
pytest-localserver
PyYAML
requests
@@ -86,6 +93,7 @@ basepython = python2.7
deps =
mock
pytest
pytest-localserver
PyYAML
requests
@@ -94,6 +102,7 @@ basepython = python3.4
deps =
mock
pytest
pytest-localserver
PyYAML
requests
@@ -102,6 +111,7 @@ basepython = python3.4
deps =
mock
pytest
pytest-localserver
PyYAML
requests
@@ -110,6 +120,7 @@ basepython = pypy
deps =
mock
pytest
pytest-localserver
PyYAML
requests
@@ -118,6 +129,7 @@ basepython = python2.6
deps =
mock
pytest
pytest-localserver
PyYAML
httplib2
@@ -126,6 +138,7 @@ basepython = python2.7
deps =
mock
pytest
pytest-localserver
PyYAML
httplib2
@@ -134,6 +147,7 @@ basepython = python3.4
deps =
mock
pytest
pytest-localserver
PyYAML
httplib2
@@ -142,6 +156,7 @@ basepython = python3.4
deps =
mock
pytest
pytest-localserver
PyYAML
httplib2
@@ -150,5 +165,6 @@ basepython = pypy
deps =
mock
pytest
pytest-localserver
PyYAML
httplib2