summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/image
diff options
context:
space:
mode:
authorlsmman <lsmman07@gmail.com>2021-10-06 19:21:51 +0900
committerlsmman <lsmman07@gmail.com>2021-10-06 19:21:51 +0900
commitabed9f20f5d9c1af3345456ec82d726e49db9f68 (patch)
tree8c4b1c4fc794fe1cfe08347a48a4dfe15c103c1f /openstackclient/tests/unit/image
parentff372ffdfbfe036993f84be20cd18262599b37de (diff)
downloadpython-openstackclient-abed9f20f5d9c1af3345456ec82d726e49db9f68.tar.gz
Remove non-working code after method return.
Delete duplicate return code. While adding return of a new Member type, the existing return code part is not deleted. Note the code in fakes.py in the below commit where these codes were added. - Project: python-openstackclient - The commit: 60e7c51df4cf061ebbb435a959ad63c7d3a296bf Change-Id: Iae44770a784732991962cd38472095f76ab2543f
Diffstat (limited to 'openstackclient/tests/unit/image')
-rw-r--r--openstackclient/tests/unit/image/v2/fakes.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/openstackclient/tests/unit/image/v2/fakes.py b/openstackclient/tests/unit/image/v2/fakes.py
index 516d5630..0d83f98b 100644
--- a/openstackclient/tests/unit/image/v2/fakes.py
+++ b/openstackclient/tests/unit/image/v2/fakes.py
@@ -308,8 +308,3 @@ class FakeImage(object):
image_member_info.update(attrs)
return member.Member(**image_member_info)
-
- image_member = fakes.FakeModel(
- copy.deepcopy(image_member_info))
-
- return image_member