Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit c3f24dd

Browse files
committed
Update release tests.
1 parent 0eb717e commit c3f24dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test_release.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ def test_abusing_nghttp2_org(self):
3939
# Make all the requests, then read the responses in a random order.
4040
stream_ids = [c.request('GET', path) for path in paths]
4141
random.shuffle(stream_ids)
42-
responses = [c.getresponse(i) for i in stream_ids]
42+
responses = [c.get_response(i) for i in stream_ids]
4343

4444
# Also get anything that was pushed. Add the responses to the list of
4545
# responses.
46-
pushes = [p for i in stream_ids for p in c.getpushes(i)]
46+
pushes = [p for i in stream_ids for p in c.get_pushes(i)]
4747
for p in pushes:
48-
responses.append(p.getresponse())
48+
responses.append(p.get_response())
4949

5050
text_data = b''.join([r.read() for r in responses])
5151

0 commit comments

Comments
 (0)