Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoughtseize1 committed Dec 13, 2024
1 parent b139a58 commit acba234
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
# flake8: noqa


# <REGION compute_consistency_group_remove_disk>
# <REGION compute_consistency_group_stop_replication>
# <IMPORTS/>

# <INGREDIENT wait_for_extended_operation />

# <INGREDIENT stop_replication_in_consistency_group />

# </REGION compute_consistency_group_remove_disk>
# </REGION compute_consistency_group_stop_replication>
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# directory and apply your changes there.


# [START compute_consistency_group_remove_disk]
# [START compute_consistency_group_stop_replication]
from __future__ import annotations

import sys
Expand Down Expand Up @@ -101,4 +101,4 @@ def stop_replication_consistency_group(project_id, location, consistency_group_n
return True


# [END compute_consistency_group_remove_disk]
# [END compute_consistency_group_stop_replication]
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_add_remove_and_list_disks_consistency_group(
consistency_group_name=autodelete_consistency_group.name,
consistency_group_region=REGION,
)
assert disks[0].name == autodelete_regional_blank_disk.name
assert any(disk.name == autodelete_regional_blank_disk.name for disk in disks)
# Remove disk from consistency group
remove_disk_consistency_group(
project_id=PROJECT_ID,
Expand Down

0 comments on commit acba234

Please sign in to comment.