summaryrefslogtreecommitdiff
path: root/openstackclient/tests/image/v2/fakes.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/tests/image/v2/fakes.py')
-rw-r--r--openstackclient/tests/image/v2/fakes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/tests/image/v2/fakes.py b/openstackclient/tests/image/v2/fakes.py
index 692ef104..5441a3e2 100644
--- a/openstackclient/tests/image/v2/fakes.py
+++ b/openstackclient/tests/image/v2/fakes.py
@@ -195,7 +195,7 @@ class FakeImage(object):
'owner': 'image-owner' + uuid.uuid4().hex,
'protected': bool(random.choice([0, 1])),
'visibility': random.choice(['public', 'private']),
- 'tags': [uuid.uuid4().hex for r in range(random.randint(1, 5))],
+ 'tags': [uuid.uuid4().hex for r in range(2)],
}
# Overwrite default attributes if there are some attributes set