mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 09:13:23 +00:00
12 lines
307 B
Python
12 lines
307 B
Python
from vcr.request import Request
|
|
|
|
|
|
def test_url():
|
|
req = Request('http', 'www.google.com', 80, 'GET', '/', '', {})
|
|
assert req.url == 'http://www.google.com/'
|
|
|
|
|
|
def test_str():
|
|
req = Request('http', 'www.google.com', 80, 'GET', '/', '', {})
|
|
str(req) == '<Request (GET) http://www.google.com>'
|