kopia lustrzana https://github.com/halcy/Mastodon.py
try making the matching more lax
rodzic
8713b8670d
commit
9083ad4e59
|
@ -54,9 +54,10 @@ def status3(api2):
|
||||||
yield _status
|
yield _status
|
||||||
api2.status_delete(_status['id'])
|
api2.status_delete(_status['id'])
|
||||||
|
|
||||||
|
# Match very generously, so as to not upset any tests
|
||||||
@pytest.fixture(scope="module")
|
@pytest.fixture(scope="module")
|
||||||
def vcr_config():
|
def vcr_config():
|
||||||
return dict(
|
return dict(
|
||||||
match_on = ['method', 'path', 'query', 'body'],
|
match_on = ['path'],
|
||||||
decode_compressed_response = True
|
decode_compressed_response = True
|
||||||
)
|
)
|
||||||
|
|
Ładowanie…
Reference in New Issue