Skip to content

Commit 07e6e36

Browse files
committed
fix: update secretmanager global tests for delayed destroy
1 parent 3c20ea7 commit 07e6e36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

secretmanager/snippets/snippets_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def secret(
170170
annotation_value: str,
171171
ttl: Optional[str],
172172
) -> Iterator[Tuple[str, str, str, str]]:
173-
print(f"creating secret {secret_id}")
173+
print(f"creating secret with given secret id.")
174174

175175
parent = f"projects/{project_id}"
176176
time.sleep(5)
@@ -596,4 +596,4 @@ def test_update_secret_with_delayed_destroy(secret_with_delayed_destroy: Tuple[s
596596
project_id, secret_id = secret_with_delayed_destroy
597597
updated_version_destroy_ttl_value = 118400
598598
updated_secret = update_secret_with_delayed_destroy(project_id, secret_id, updated_version_destroy_ttl_value)
599-
assert updated_secret.version_destroy_ttl == timedelta(seconds=version_destroy_ttl)
599+
assert updated_secret.version_destroy_ttl == timedelta(seconds=updated_version_destroy_ttl_value)

0 commit comments

Comments
 (0)