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

Commit c07ec28

Browse files
committed
Adjust replacing tests
1 parent 22e6e3f commit c07ec28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test_headers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ def test_replacing(self):
272272

273273
assert list(h.items()) == [
274274
(b'name', b'value'),
275-
(b'name2', b'42'),
276275
(b'name3', b'value3'),
276+
(b'name2', b'42'),
277277
(b'name4', b'other_value'),
278278
]
279279

test/test_hyper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ def test_putheader_replaces_headers(self):
122122
assert list(s.headers.items()) == [
123123
(b':method', b'GET'),
124124
(b':scheme', b'https'),
125-
(b':authority', b'www.example.org'),
126125
(b':path', b'/'),
126+
(b':authority', b'www.example.org'),
127127
(b'name', b'value2'),
128128
]
129129

0 commit comments

Comments
 (0)