aboutsummaryrefslogtreecommitdiff
path: root/tests/tasks/test_sender.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/tasks/test_sender.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tasks/test_sender.py b/tests/tasks/test_sender.py
index 6e33887..6a9afc1 100644
--- a/tests/tasks/test_sender.py
+++ b/tests/tasks/test_sender.py
@@ -988,7 +988,7 @@ def test_endpoint_from_html_ignores_elements_without_rel_and_non_string_href(
def test_read_target_body_rejects_declared_oversized_body(
app: Flask, sender_module: ModuleType
) -> None:
- app.config["WEBMENTIONS_SSG_MAX_TARGET_BYTES"] = 10
+ app.config["MAX_TARGET_BYTES"] = 10
response = httpx.Response(200, headers={"Content-Length": "11"}, content=b"x" * 11)
@@ -1017,7 +1017,7 @@ def test_read_target_body_ignores_invalid_content_length(
def test_read_target_body_rejects_streamed_oversized_body(
app: Flask, sender_module: ModuleType
) -> None:
- app.config["WEBMENTIONS_SSG_MAX_TARGET_BYTES"] = 10
+ app.config["MAX_TARGET_BYTES"] = 10
class BodyStream(httpx.SyncByteStream):
def __iter__(self):