File tree Expand file tree Collapse file tree 3 files changed +401
-395
lines changed Expand file tree Collapse file tree 3 files changed +401
-395
lines changed Original file line number Diff line number Diff line change 31
31
32
32
33
33
_SERVICE_ACCOUNT_JSON = _read_local_json ("url_signer_v4_test_account.json" )
34
- _CONFORMANCE_TESTS = _read_local_json ("url_signer_v4_test_data.json" )
34
+ _CONFORMANCE_TESTS = _read_local_json ("url_signer_v4_test_data.json" )[ "signingV4Tests" ]
35
35
_CLIENT_TESTS = [test for test in _CONFORMANCE_TESTS if "bucket" not in test ]
36
36
_BUCKET_TESTS = [
37
37
test for test in _CONFORMANCE_TESTS if "bucket" in test and not test .get ("object" )
Original file line number Diff line number Diff line change 26
26
from . import _read_local_json
27
27
28
28
_SERVICE_ACCOUNT_JSON = _read_local_json ("url_signer_v4_test_account.json" )
29
- _CONFORMANCE_TESTS = _read_local_json ("url_signer_v4_test_data.json" )
29
+ _CONFORMANCE_TESTS = _read_local_json ("url_signer_v4_test_data.json" )[
30
+ "postPolicyV4Tests"
31
+ ]
30
32
_POST_POLICY_TESTS = [test for test in _CONFORMANCE_TESTS if "policyInput" in test ]
31
33
_DUMMY_CREDENTIALS = Credentials .from_service_account_info (_SERVICE_ACCOUNT_JSON )
32
34
You can’t perform that action at this time.
0 commit comments