Skip to content

Commit

Permalink
Clean up commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
jayjb committed Jan 16, 2024
1 parent c5040c9 commit 243acd9
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions tests/integration/test_custom_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,27 +391,3 @@ def test_custom_image_web_image_cors_support(
for header, value in request_details["resp_headers"].items():
assert header in _resp.headers
assert value in _resp.headers[header]
# import pdb; pdb.set_trace()
# extract incoming file's bytes
# incoming_file = _resp.content

# # compare bytes between files
# assert input_file == incoming_file

# # check the memo
# stats = get_stats_from_webhook(webhook_receiver, token=token_info.token)
# if stats:
# assert len(stats) == 1
# assert stats[0]["memo"] == memo
# _ = TokenAlertDetailGeneric(**stats[0])

# # Check that the returned history has a single hit, and is on the HTTP channel
# resp = get_token_history(token_info=token_info, version=version)
# token_history = CustomImageTokenHistory(**resp)
# assert len(token_history.hits) == 1
# token_hit = token_history.hits[0]
# assert token_hit.input_channel == "HTTP"
# if version.live:
# assert token_hit.geo_info.ip == requests.get("https://ipinfo.io/ip").text
# else:
# assert token_hit.geo_info.ip == "127.0.0.1"

0 comments on commit 243acd9

Please sign in to comment.