Skip to content

Commit

Permalink
Merge pull request #3070 from ccnmtl/django-s3sign-0.5.1
Browse files Browse the repository at this point in the history
⬆️ django-s3sign 0.5.1
  • Loading branch information
nikolas authored Jan 30, 2025
2 parents 3d02a78 + 881e776 commit 6ab4add
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ gunicorn==23.0.0
django-impersonate==1.9.1
django-stagingcontext==0.1.0
django-ga-context==0.1.0
django-s3sign==0.1.9
django-s3sign==0.5.1
django-smtp-ssl==1.0
certifi==2024.12.14 # sentry-sdk

Expand Down
4 changes: 2 additions & 2 deletions wardenclyffe/main/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,12 +366,12 @@ def test_sign_s3(self):
with self.settings(
AWS_ACCESS_KEY='',
AWS_SECRET_KEY='',
AWS_S3_UPLOAD_BUCKET=''):
AWS_S3_UPLOAD_BUCKET='test_bucket_name'):
r = self.c.get(
"/sign_s3/?s3_object_name=default_name&s3_object_type=foo")
self.assertEqual(r.status_code, 200)
j = json.loads(r.content)
self.assertTrue('signed_request' in j)
self.assertTrue('presigned_post_url' in j)


class TestStaff(TestCase):
Expand Down

0 comments on commit 6ab4add

Please sign in to comment.