summaryrefslogtreecommitdiff
path: root/tests/helpers/stubs.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-04-10 19:01:01 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-08-23 18:31:38 +0200
commit0877fb0d78635692e481c8bde224fac5ad0dd430 (patch)
tree4ba23ec5a361bbefa09e8b145bf8125d2e3be2e7 /tests/helpers/stubs.py
parenta11f1d34d3784b170fbc3f5a0e04d5c96ab06b74 (diff)
downloadqutebrowser-0877fb0d78635692e481c8bde224fac5ad0dd430.tar.gz
qutebrowser-0877fb0d78635692e481c8bde224fac5ad0dd430.zip
Run scripts/dev/rewrite_enums.py
Diffstat (limited to 'tests/helpers/stubs.py')
-rw-r--r--tests/helpers/stubs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/stubs.py b/tests/helpers/stubs.py
index 0b9c926c4..2963a2c13 100644
--- a/tests/helpers/stubs.py
+++ b/tests/helpers/stubs.py
@@ -135,7 +135,7 @@ class FakeNetworkReply:
"""QNetworkReply stub which provides a Content-Disposition header."""
KNOWN_HEADERS = {
- QNetworkRequest.ContentTypeHeader: 'Content-Type',
+ QNetworkRequest.KnownHeaders.ContentTypeHeader: 'Content-Type',
}
def __init__(self, headers=None, url=None):