diff --git a/lambdas/pkgpush/tests/test_copy.py b/lambdas/pkgpush/tests/test_copy.py index bd2b529b7ee..d8297c129b0 100644 --- a/lambdas/pkgpush/tests/test_copy.py +++ b/lambdas/pkgpush/tests/test_copy.py @@ -7,7 +7,6 @@ from quilt_shared.aws import AWSCredentials from quilt_shared.types import NonEmptyStr - CREDENTIALS = AWSCredentials( key=NonEmptyStr("test_aws_access_key_id"), secret=NonEmptyStr("test_aws_secret_access_key"), diff --git a/lambdas/pkgpush/tests/test_hash_calc.py b/lambdas/pkgpush/tests/test_hash_calc.py index 7247c40380f..b251dfc0957 100644 --- a/lambdas/pkgpush/tests/test_hash_calc.py +++ b/lambdas/pkgpush/tests/test_hash_calc.py @@ -13,7 +13,6 @@ from quilt_shared.pkgpush import Checksum, ChecksumType from quilt_shared.types import NonEmptyStr - CREDENTIALS = AWSCredentials( key=NonEmptyStr("test_aws_access_key_id"), secret=NonEmptyStr("test_aws_secret_access_key"), diff --git a/lambdas/s3hash/tests/conftest.py b/lambdas/s3hash/tests/conftest.py index 9349bd15d41..705ac556d72 100644 --- a/lambdas/s3hash/tests/conftest.py +++ b/lambdas/s3hash/tests/conftest.py @@ -1,11 +1,10 @@ import asyncio -from botocore.stub import Stubber import pytest +from botocore.stub import Stubber import t4_lambda_s3hash as s3hash - AWS_CREDENTIALS = s3hash.AWSCredentials.parse_obj( { "key": "test-key", diff --git a/lambdas/s3hash/tests/test_mpu_dst.py b/lambdas/s3hash/tests/test_mpu_dst.py index 3af9d788d42..f8b8f7bae81 100644 --- a/lambdas/s3hash/tests/test_mpu_dst.py +++ b/lambdas/s3hash/tests/test_mpu_dst.py @@ -1,5 +1,5 @@ -from botocore.stub import Stubber import pytest +from botocore.stub import Stubber import t4_lambda_s3hash as s3hash