mirror of
https://github.com/kevin1024/vcrpy.git
synced 2025-12-09 17:15:35 +00:00
18 lines
316 B
Python
18 lines
316 B
Python
import pytest
|
|
|
|
|
|
@pytest.fixture(params=["https", "http"])
|
|
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"
|