1- # Copyright 2016, Google, Inc.
2- # Licensed under the Apache License, Version 2.0 (the "License");
3- # you may not use this file except in compliance with the License.
4- # You may obtain a copy of the License at
1+ # Copyright 2016 Google, Inc.
52#
6- # http://www.apache.org/licenses/LICENSE-2.0
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
76#
8- # Unless required by applicable law or agreed to in writing, software
9- # distributed under the License is distributed on an "AS IS" BASIS,
10- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11- # See the License for the specific language governing permissions and
12- # limitations under the License.
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
1314
1415import os
1516import uuid
@@ -33,7 +34,7 @@ def test_create_disk():
3334 google_public_key = generate_wrapped_rsa_key .get_google_public_cert_key ()
3435 wrapped_rsa_key = generate_wrapped_rsa_key .wrap_rsa_key (
3536 google_public_key , key_bytes )
36- disk_name = 'new-encrypted-disk-{}' . format ( uuid .uuid4 ().hex )
37+ disk_name = f 'new-encrypted-disk-{ uuid .uuid4 ().hex } '
3738
3839 try :
3940 # Create the disk, if the encryption key is invalid, this will raise.
0 commit comments