Skip to content

Commit

Permalink
fixup: rewrite close-connection test to account for new behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-psb committed Nov 27, 2024
1 parent d5f13af commit 255057b
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,6 @@ def test_remote_content_changed_with_on_demand(

# THEN
get_url = urljoin(distribution.base_url, expected_file_list[0][0])
with pytest.raises(ClientPayloadError, match="Response payload is not completed"):
download_file(get_url)

# Assert again with curl just to be sure.
result = subprocess.run(["curl", "-v", get_url], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
assert result.returncode == 18
assert b"* Closing connection 0" in result.stderr
Expand Down

0 comments on commit 255057b

Please sign in to comment.