diff options
| author | Alex Schofield <git@ajschof.me> | 2024-08-22 11:17:19 +0100 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2024-08-22 11:17:19 +0100 |
| commit | d5e4192a16eb6bb60e1f245124c681999a582572 (patch) | |
| tree | 9c5de659fd83f5aa8bc0ea212266d21a08e80a02 /tests/test_extract_lambda.py | |
| parent | 2fa95ee69bb863dde8c31b870c08863cad84c65b (diff) | |
| download | de-project-bentley-d5e4192a16eb6bb60e1f245124c681999a582572.tar.gz de-project-bentley-d5e4192a16eb6bb60e1f245124c681999a582572.zip | |
fix: update additional fixtures to use scope function
Diffstat (limited to 'tests/test_extract_lambda.py')
| -rw-r--r-- | tests/test_extract_lambda.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_extract_lambda.py b/tests/test_extract_lambda.py index c340fab..2f5ff71 100644 --- a/tests/test_extract_lambda.py +++ b/tests/test_extract_lambda.py @@ -43,13 +43,13 @@ def aws_credentials(): os.environ["AWS_DEFAULT_REGION"] = "eu-west-2" -@pytest.fixture(scope="class") +@pytest.fixture(scope="function") def s3_client(aws_credentials): with mock_aws(): yield boto3.client("s3") -@pytest.fixture(scope="class") +@pytest.fixture(scope="function") def s3_mock_bucket(s3_client): bucket = s3_client.create_bucket( Bucket="extract_bucket", |
