Skip to content

Commit

Permalink
NXPY-253: Restore capability to use the client with a local HTTP serv…
Browse files Browse the repository at this point in the history
…er -rebased with master.
  • Loading branch information
gitofanindya committed Feb 26, 2024
1 parent 7675bf8 commit 6c25ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional/test_upload_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import boto3
import pytest
import requests.exceptions
from moto import mock_s3
from moto import mock_aws
from nuxeo.constants import UP_AMAZON_S3
from nuxeo.exceptions import HTTPError, UploadError
from nuxeo.handlers.s3 import ChunkUploaderS3, UploaderS3
Expand Down Expand Up @@ -38,7 +38,7 @@ def bucket():

@pytest.fixture
def s3(aws_credentials, bucket):
with mock_s3():
with mock_aws():
client = boto3.client(UP_AMAZON_S3, region_name="eu-west-1")

# Create a bucket
Expand Down

0 comments on commit 6c25ee6

Please sign in to comment.