Fix test_shared.py
This commit is contained in:
parent
f2f481d991
commit
fc19262eaa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user