Resolves the last issue with pytest-httpx
This commit is contained in:
parent
76a56f7b01
commit
6ad581dc3c
@ -62,7 +62,6 @@ repos:
|
||||
rev: v6.2.1
|
||||
hooks:
|
||||
- id: beautysh
|
||||
language_version: '3.10'
|
||||
additional_dependencies:
|
||||
- setuptools
|
||||
args:
|
||||
|
@ -497,6 +497,7 @@ class TestParser:
|
||||
|
||||
assert mail_parser.archive_path is not None
|
||||
|
||||
@pytest.mark.httpx_mock(can_send_already_matched_responses=True)
|
||||
def test_generate_pdf_html_email(
|
||||
self,
|
||||
httpx_mock: HTTPXMock,
|
||||
@ -575,6 +576,7 @@ class TestParser:
|
||||
with pytest.raises(ParseError):
|
||||
mail_parser.parse(html_email_file, "message/rfc822")
|
||||
|
||||
@pytest.mark.httpx_mock(can_send_already_matched_responses=True)
|
||||
def test_generate_pdf_html_email_merge_failure(
|
||||
self,
|
||||
httpx_mock: HTTPXMock,
|
||||
|
Loading…
x
Reference in New Issue
Block a user