Skip to content

Commit 9c8cec8

Browse files
committed
Deleted mock tests
1 parent d2ba844 commit 9c8cec8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

compute/client_library/snippets/tests/test_consistency_groups.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
# limitations under the License.
1414
import os
1515

16-
from unittest.mock import patch
17-
1816
import uuid
1917

2018
import pytest
@@ -23,9 +21,6 @@
2321
from ..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-
)
2924
from ..disks.сonsistency_groups.create_consistency_group import create_consistency_group
3025
from ..disks.сonsistency_groups.delete_consistency_group import delete_consistency_group
3126
from ..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()

0 commit comments

Comments
 (0)