Skip to content

Commit

Permalink
Add a comment about controlling pytest-recording
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Feb 21, 2024
1 parent cedfab8 commit 7e255d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
SingleConstant,
)

# These tests all use saved HTTP responses by default (with pytest-recording).
# To ignore these & use exflcalproxy, run pytest with the --disable-recording flag.
# To update the saved cassettes from exflcalproxy, pass --record-mode=rewrite.


def drop_cookie_header(response):
response['headers'].pop('Set-Cookie', None)
Expand Down

0 comments on commit 7e255d5

Please sign in to comment.