Fix test_shared.py

This commit is contained in:
Florian Bruhin 2018-06-24 22:31:27 +02:00
parent f2f481d991
commit fc19262eaa

View File

@ -19,6 +19,8 @@
import pytest
from PyQt5.QtCore import QUrl
from qutebrowser.browser import shared
@ -47,4 +49,4 @@ def test_custom_headers(config_stub, dnt, accept_language, custom_headers,
headers.custom = custom_headers
expected_items = sorted(expected.items())
assert shared.custom_headers() == expected_items
assert shared.custom_headers(QUrl()) == expected_items