File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
compute/client_library/snippets/tests Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 1313# limitations under the License.
1414import os
1515
16- from unittest .mock import patch
17-
1816import uuid
1917
2018import pytest
2321from ..disks .сonsistency_groups .add_disk_consistency_group import (
2422 add_disk_consistency_group ,
2523)
26- from ..disks .сonsistency_groups .clone_disks_consistency_group import (
27- clone_disks_to_consistency_group ,
28- )
2924from ..disks .сonsistency_groups .create_consistency_group import create_consistency_group
3025from ..disks .сonsistency_groups .delete_consistency_group import delete_consistency_group
3126from ..disks .сonsistency_groups .list_disks_consistency_group import (
@@ -99,10 +94,3 @@ def test_add_remove_and_list_disks_consistency_group(
9994 consistency_group_region = REGION ,
10095 )
10196 assert not disks
102-
103-
104- def test_clone_disk_consistency_group ():
105- with patch ("google.cloud.compute_v1.RegionDisksClient" ) as mock_client :
106- client = mock_client .return_value
107- clone_disks_to_consistency_group (PROJECT_ID , "group-4" , "us-east1" )
108- client .bulk_insert .assert_called_once ()
You can’t perform that action at this time.
0 commit comments