Skip to content

Commit 49bd922

Browse files
committed
Merge pull request #128 from ligangty/main
Fix: tests failure due to new boto3 release
1 parent 2e5209f commit 49bd922

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
from charon.storage import PRODUCT_META_KEY, CHECKSUM_META_KEY
2727
from tests.commons import TEST_BUCKET
2828
from boto3_type_annotations import s3
29+
from moto import mock_s3
2930

3031

3132
SHORT_TEST_PREFIX = "ga"
@@ -82,6 +83,7 @@ def get_config_base(self) -> str:
8283
return os.path.join(self.get_temp_dir(), '.charon')
8384

8485

86+
@mock_s3
8587
class PackageBaseTest(BaseTest):
8688
def setUp(self):
8789
super().setUp()

tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ pytest-cov
55
pytest-html
66
flake8
77
requests-mock
8-
moto
8+
moto==3.0.2.dev12
99

0 commit comments

Comments
 (0)