mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
requirements: Upgrade Python requirements.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 93198a19ed)
This commit is contained in:
committed by
Tim Abbott
parent
893c10f869
commit
2e4785f51c
@@ -37,7 +37,7 @@ from django.http.request import QueryDict
|
||||
from django.http.response import HttpResponseBase
|
||||
from django.test import override_settings
|
||||
from django.urls import URLResolver
|
||||
from moto.s3 import mock_s3
|
||||
from moto.core.decorator import mock_aws
|
||||
from mypy_boto3_s3.service_resource import Bucket
|
||||
from typing_extensions import ParamSpec, override
|
||||
|
||||
@@ -562,7 +562,7 @@ P = ParamSpec("P")
|
||||
|
||||
|
||||
def use_s3_backend(method: Callable[P, None]) -> Callable[P, None]:
|
||||
@mock_s3
|
||||
@mock_aws
|
||||
@override_settings(LOCAL_UPLOADS_DIR=None)
|
||||
@override_settings(LOCAL_AVATARS_DIR=None)
|
||||
@override_settings(LOCAL_FILES_DIR=None)
|
||||
|
||||
Reference in New Issue
Block a user