This repository has been archived on 2023-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
python-blog/attachments/tests/conftest.py

13 lines
214 B
Python

import pytest
def replace_post_body(request):
request.body = None
return request
@pytest.fixture(scope="module")
def vcr_config():
return {
"before_record_request": replace_post_body,
}