diff --git a/tests/end2end/features/misc.feature b/tests/end2end/features/misc.feature index 83d5f4731..48273bdf8 100644 --- a/tests/end2end/features/misc.feature +++ b/tests/end2end/features/misc.feature @@ -330,17 +330,17 @@ Feature: Various utility commands. Scenario: DNT header When I set content.headers.do_not_track to true And I open headers - Then the header DNT should be set to 1 + Then the header Dnt should be set to 1 Scenario: DNT header (off) When I set content.headers.do_not_track to false And I open headers - Then the header DNT should be set to 0 + Then the header Dnt should be set to 0 Scenario: DNT header (unset) When I set content.headers.do_not_track to And I open headers - Then the header DNT should be set to + Then the header Dnt should be set to Scenario: Accept-Language header When I set content.headers.accept_language to en,de diff --git a/tests/unit/browser/test_shared.py b/tests/unit/browser/test_shared.py index fe57e8e6a..b8da41a02 100644 --- a/tests/unit/browser/test_shared.py +++ b/tests/unit/browser/test_shared.py @@ -30,11 +30,9 @@ from qutebrowser.browser import shared (False, None, {}, {b'DNT': b'0'}), (None, None, {}, {}), # Accept-Language - (False, 'de, en', {}, {b'DNT': b'0', - b'Accept-Language': b'de, en'}), + (False, 'de, en', {}, {b'DNT': b'0', b'Accept-Language': b'de, en'}), # Custom headers - (False, None, {'X-Qute': 'yes'}, {b'DNT': b'0', - b'X-Qute': b'yes'}), + (False, None, {'X-Qute': 'yes'}, {b'DNT': b'0', b'X-Qute': b'yes'}), # Mixed (False, 'de, en', {'X-Qute': 'yes'}, {b'DNT': b'0', b'Accept-Language': b'de, en',