summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/identity/v3/test_group.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/unit/identity/v3/test_group.py')
-rw-r--r--openstackclient/tests/unit/identity/v3/test_group.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/openstackclient/tests/unit/identity/v3/test_group.py b/openstackclient/tests/unit/identity/v3/test_group.py
index d35e98c6..eb50adb5 100644
--- a/openstackclient/tests/unit/identity/v3/test_group.py
+++ b/openstackclient/tests/unit/identity/v3/test_group.py
@@ -239,7 +239,7 @@ class TestGroupDelete(TestGroup):
def test_group_delete_with_domain(self):
get_mock_result = [exceptions.CommandError, self.groups[0]]
self.groups_mock.get = (
- mock.MagicMock(side_effect=get_mock_result))
+ mock.Mock(side_effect=get_mock_result))
arglist = [
'--domain', self.domain.id,
@@ -487,7 +487,7 @@ class TestGroupSet(TestGroup):
def test_group_set_with_domain(self):
get_mock_result = [exceptions.CommandError, self.group]
self.groups_mock.get = (
- mock.MagicMock(side_effect=get_mock_result))
+ mock.Mock(side_effect=get_mock_result))
arglist = [
'--domain', self.domain.id,
@@ -550,7 +550,7 @@ class TestGroupShow(TestGroup):
def test_group_show_with_domain(self):
get_mock_result = [exceptions.CommandError, self.group]
self.groups_mock.get = (
- mock.MagicMock(side_effect=get_mock_result))
+ mock.Mock(side_effect=get_mock_result))
arglist = [
'--domain', self.domain.id,