Skip to content

Commit

Permalink
fix incompatibility with vcrpy 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jeking3 committed Dec 22, 2018
1 parent 3ffcb23 commit e247a93
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
language: python
python:
- "2.7"
- "pypy"
- "3.6"
- 2.7
- 3.6
- 3.7
- pypy

before_install:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
- pip install -r requirements.txt
- pip install -r test-requirements.txt

install:
- python setup.py install
- python setup.py install

script: python setup.py test
2 changes: 1 addition & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tox
testtools>=0.9.34
vcrpy<2
vcrpy~=2.0.2
2 changes: 1 addition & 1 deletion tests/fixtures/ssl_tunnel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ interactions:
body: null
headers: {}
method: CONNECT
uri: http://vcsasdkTunnel:8089
uri: sdkTunnel:8089
response:
body: {string: !!python/unicode ''}
headers:
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/ssl_tunnel_http_failure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ interactions:
body: null
headers: {}
method: CONNECT
uri: http://vcsavcsa:80
uri: vcsa:80
response:
body: {string: !!python/unicode '<HTML><BODY><H1>404 Not Found</H1></BODY></HTML>'}
headers:
Expand Down

0 comments on commit e247a93

Please sign in to comment.