bsneider

Results 5 issues of bsneider

Moto version's tried master branch and 3.1.4 ```python @mock_sts def test_sts_account_override(monkeypatch): dummy_account_id = "MEMEMEMEME" monkeypatch.setenv("MOTO_ACCOUNT_ID", dummy_account_id) os_account_id = os.environ.get("MOTO_ACCOUNT_ID") os_account_id.should.equal(dummy_account_id) client = boto3.client("sts", region_name="us-west-2") resp = client.get_caller_identity() resp["Account"].should.equal(dummy_account_id) ``` this...

bug

This code fixes it lines 35-39 of S2Util.py ` minLatLng = S2LatLng.from_degrees(max(centerPoint.getLatitude() - latForRadius, -90), max(centerPoint.getLongitude() - lngForRadius, -180)) maxLatLng = S2LatLng.from_degrees(min(centerPoint.getLatitude() + latForRadius, 90), min(centerPoint.getLongitude() + lngForRadius, 180)) `

by using resource instead of client, the type does not need to be included in the data set that is stored in aws, it is instead inferred on insert by...