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

Removed default '80' port of uri in tests

This commit is contained in:
Max Shytikov
2014-05-03 22:32:27 +02:00
parent 61e3bdc402
commit 1190a0e62e
7 changed files with 21 additions and 21 deletions

View File

@@ -6,6 +6,6 @@ def test_recorded_request_url_with_redirected_request(tmpdir):
with vcr.use_cassette(str(tmpdir.join('test.yml'))) as cass:
assert len(cass) == 0
urlopen('http://httpbin.org/redirect/3')
assert cass.requests[0].url == 'http://httpbin.org:80/redirect/3'
assert cass.requests[3].url == 'http://httpbin.org:80/get'
assert cass.requests[0].url == 'http://httpbin.org/redirect/3'
assert cass.requests[3].url == 'http://httpbin.org/get'
assert len(cass) == 4