summaryrefslogtreecommitdiff
path: root/tests/helpers/stubs.py
diff options
context:
space:
mode:
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 e4cf9bcc7..233fe848b 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):