Skip to content

Commit a129270

Browse files
fix(secretmanager): update samples and testcases
1 parent 61486ed commit a129270

File tree

2 files changed

+0
-86
lines changed

2 files changed

+0
-86
lines changed

secretmanager/snippets/edit_secret_labels.py

Lines changed: 0 additions & 75 deletions
This file was deleted.

secretmanager/snippets/snippets_test.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
from disable_secret_version_with_etag import disable_secret_version_with_etag
4747
from disable_secret_with_delayed_destroy import disable_secret_with_delayed_destroy
4848
from edit_secret_annotations import edit_secret_annotations
49-
from edit_secret_labels import edit_secret_labels
5049
from enable_secret_version import enable_secret_version
5150
from enable_secret_version_with_etag import enable_secret_version_with_etag
5251
from get_secret import get_secret
@@ -719,16 +718,6 @@ def test_edit_secret_annotations(
719718
assert updated_secret.annotations[annotation_key] == updated_annotation_value
720719

721720

722-
def test_edit_secret_labels(
723-
secret: Tuple[str, str, str], label_key: str
724-
) -> None:
725-
project_id, secret_id, _ = secret
726-
updated_label_value = "updatedlabelvalue"
727-
labels = {label_key: updated_label_value}
728-
updated_secret = edit_secret_labels(project_id, secret_id, labels)
729-
assert updated_secret.labels[label_key] == updated_label_value
730-
731-
732721
def test_update_secret(secret: Tuple[str, str, str]) -> None:
733722
project_id, secret_id, _ = secret
734723
updated_secret = update_secret(project_id, secret_id)

0 commit comments

Comments
 (0)