1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-10 01:25:34 +00:00

Move some tests to use mockbin instead httpbin

This commit is contained in:
Jair Henrique
2023-05-11 13:21:25 -03:00
parent 77da67ef0a
commit 14cef83c15
7 changed files with 118 additions and 99 deletions

View File

@@ -5,3 +5,13 @@ import pytest
def scheme(request):
"""Fixture that returns both http and https."""
return request.param
@pytest.fixture
def mockbin(scheme):
return scheme + "://mockbin.org"
@pytest.fixture
def mockbin_request_url(mockbin):
return mockbin + "/request"