Skip to content

Commit

Permalink
Robustify test_server__server
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpap committed Nov 22, 2020
1 parent 217b959 commit faa406b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/bokeh/server/test_server__server.py
Expand Up @@ -343,7 +343,7 @@ async def test__exclude_headers(ManagedServerLoop) -> None:
token = extract_token_from_json(html)
payload = get_token_payload(token)
assert 'headers' in payload
assert payload['headers'] == {'Accept-Encoding': 'gzip'}
assert payload["headers"].get("Accept-Encoding") == "gzip"

async def test__include_cookies(ManagedServerLoop) -> None:
application = Application()
Expand Down

0 comments on commit faa406b

Please sign in to comment.