9087a7f9301e17510bc903b9beb532bc7ae641fd,lambdas/access_counts/tests/test_access_counts.py,TestAccessCounts,test_access_counts,#TestAccessCounts#,74

Before Change



        self.s3_stubber.add_response(
            method="list_objects_v2",
            expected_params={
                "Bucket": "cloudtrail-bucket",
                "Prefix": "AWSLogs/123456/CloudTrail/",
                "Delimiter": "/",
            },
            service_response={
                "CommonPrefixes": [{
                    "Prefix": "AWSLogs/123456/CloudTrail/ng-north-1/"
                }]
            }
        )

After Change



        self._run_queries([index.DROP_CLOUDTRAIL, index.DROP_OBJECT_ACCESS_LOG, index.DROP_PACKAGE_HASHES])

        cloudtrail_query = index.CREATE_CLOUDTRAIL.format(
            bucket="cloudtrail-bucket",
            accounts="123456",
            regions=",".join(Session().get_available_regions("s3")),
            start_date="2009/02/12",
            end_date="2009/02/13",
        )
        self._run_queries([cloudtrail_query, index.CREATE_OBJECT_ACCESS_LOG, index.CREATE_PACKAGE_HASHES])

        self._run_queries([index.REPAIR_OBJECT_ACCESS_LOG])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: quiltdata/quilt
Commit Name: 9087a7f9301e17510bc903b9beb532bc7ae641fd
Time: 2020-07-16
Author: dima@quiltdata.io
File Name: lambdas/access_counts/tests/test_access_counts.py
Class Name: TestAccessCounts
Method Name: test_access_counts


Project Name: quiltdata/quilt
Commit Name: 9087a7f9301e17510bc903b9beb532bc7ae641fd
Time: 2020-07-16
Author: dima@quiltdata.io
File Name: lambdas/access_counts/tests/test_access_counts.py
Class Name: TestAccessCounts
Method Name: test_access_counts


Project Name: dpressel/mead-baseline
Commit Name: 60fd6764c1b29d88b2b8b33fbc5d1f1c1dc9d344
Time: 2018-09-19
Author: sagnik1987@gmail.com
File Name: python/xpctl/sql/backend.py
Class Name: SQLRepo
Method Name: put_model


Project Name: Featuretools/featuretools
Commit Name: c01791970a47f73d03a5b97811b0fd57a1e5e57b
Time: 2021-03-31
Author: 4307001+thehomebrewnerd@users.noreply.github.com
File Name: featuretools/utils/s3_utils.py
Class Name:
Method Name: get_transport_params