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 3131
3232
3333_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" ]
3535_CLIENT_TESTS = [test for test in _CONFORMANCE_TESTS if "bucket" not in test ]
3636_BUCKET_TESTS = [
3737 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 2626from . import _read_local_json
2727
2828_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+ ]
3032_POST_POLICY_TESTS = [test for test in _CONFORMANCE_TESTS if "policyInput" in test ]
3133_DUMMY_CREDENTIALS = Credentials .from_service_account_info (_SERVICE_ACCOUNT_JSON )
3234
You can’t perform that action at this time.
0 commit comments