Skip to content

Commit 0c03e18

Browse files
Merge pull request #478 from luhn/assertion-fix
Fix assertion in `test_merge_cookies_resp_is_wsgi_callable`
2 parents 39d5af3 + ba7eaa8 commit 0c03e18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,7 @@ def dummy_wsgi_callable(environ, start_response):
10521052
environ = {}
10531053

10541054
def dummy_start_response(status, headers, exc_info=None):
1055-
assert headers, [("Set-Cookie" == "a=1; Path=/")]
1055+
assert headers == [("Set-Cookie", "a=1; Path=/")]
10561056

10571057
result = wsgiapp(environ, dummy_start_response)
10581058
assert result == "abc"

0 commit comments

Comments
 (0)