Skip to content

Commit

Permalink
remove pointless code
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Jan 30, 2025
1 parent 49e86a0 commit 7dc4a41
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drms/tests/test_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ def test_jsocinfoconstants():

def test_request_headers():
with patch("drms.json.urlopen") as mock:
mock_response = mock.return_value
mock_response.read.return_value = b'{"key": "value"}'
mock_response.__enter__.return_value = mock_response
HttpJsonRequest("http://example.com", "latin1")

actual_request = mock.call_args[0][0]
Expand Down

0 comments on commit 7dc4a41

Please sign in to comment.