Skip to content

Commit

Permalink
update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nadolskit committed Sep 27, 2024
1 parent c4a049c commit bdf406a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_paperqa.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,9 +814,9 @@ def test_pdf_reader_w_no_match_doc_details(stub_data_dir: Path) -> None:
)


# default: ['method', 'scheme', 'host', 'port', 'path', 'query']
# vcr.VCR default: ('method', 'scheme', 'host', 'port', 'path', 'query')
# this is the default list + body
# this ensures vcr distinguishes requests with a different body
# Adding body won't create new cassettes; it just helps vcr correctly match the right request with its response.
@pytest.mark.vcr(match_on=["method", "scheme", "host", "port", "path", "query", "body"])
def test_pdf_reader_match_doc_details(stub_data_dir: Path) -> None:
docs = Docs()
Expand Down

0 comments on commit bdf406a

Please sign in to comment.