Skip to content

Commit

Permalink
Remove match_querystring in responses
Browse files Browse the repository at this point in the history
Quoth the responses documentation:

> querystring is matched by default

Not sure how recent this is, unfortunately---but probably 0.17.0, since
that's the version where `match_querystring` was deprecated.
  • Loading branch information
sampsyo committed Aug 21, 2022
1 parent 63b7595 commit 8c84bae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_art.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,7 @@ def run(self, *args, **kwargs):
super().run(*args, **kwargs)

def mock_response(self, url, body):
responses.add(responses.GET, url, body=body, content_type='text/html',
match_querystring=True)
responses.add(responses.GET, url, body=body, content_type='text/html')

def test_aao_scraper_finds_image(self):
body = """
Expand Down

0 comments on commit 8c84bae

Please sign in to comment.