[The current test](https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/compute/encryption/generate_wrapped_rsa_key_test.py#L17) just invokes the function, but it's very nice if the test actually check if one of the operations described in [the doc](https://cloud.google.com/compute/docs/disks/customer-supplied-encryption). For example, you can invoke: ``` $ gcloud beta compute disks create example-disk --csek-key-file example-file ``` with the file created by the current code in the example. When I run the command above with an arbitrary file, it threw the following error: ``` InvalidKeyFileException: No JSON object could be decoded ``` IMHO, ensuring it successfully creates a disk by such a test will be a big win.
Activity
Adding test for customer-supplied disk encryption key. Fixes #281
chore(deps): update all dependencies (#281)
chore(deps): update dependency backoff to v2.2.1 (#281)
chore(deps): update dependency backoff to v2.2.1 (#281)
chore(deps): update all dependencies (#281)
chore(deps): update all dependencies (#281)
chore(deps): update dependency google-cloud-vision to v2.6.3 (#281)
chore(deps): update dependency google-cloud-vision to v2.6.3 (#281)
chore(deps): update all dependencies (#281)
chore(deps): update dependency google-cloud-translate to v3.6.0 (#281)
8 remaining items
chore(deps): update all dependencies (#281)
chore(deps): update dependency google-cloud-speech to v2.11.1 (#281)
chore(deps): update dependency google-cloud-monitoring to v2.11.1 (#281)
migrate code from googleapis/python-security-private-ca (#9028)
chore(deps): update dependency google-cloud-monitoring to v2.11.1 (#281)
chore(deps): update dependency google-cloud-speech to v2.11.1 (#281)
migrate code from googleapis/python-security-private-ca (#9028)
chore(deps): update dependency google-cloud-monitoring to v2.11.1 (#281)
chore(deps): update dependency google-cloud-speech to v2.11.1 (#281)
chore(deps): update dependency pytest to v7.1.3 (#281)
chore(deps): update dependency pytest to v7.1.3 (#281)
chore(deps): update dependency google-api-python-client to v2.77.0 (#281
chore(deps): update dependency google-api-python-client to v2.77.0 (#281
chore: format code files with nox (#281)
chore: migrate code from googleapis/python-db-dtypes-pandas (#13776)