diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-12-19 06:59:43 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-12-19 06:59:44 +0000 |
| commit | b61104563908dbf76c0fb94b6eb46c91fe109d48 (patch) | |
| tree | 5eebac7bd4955c3c7b0427665af39186b599ebaf /openstackclient/tests/image/v2/fakes.py | |
| parent | b220f4b667366ee850da61b11e6a33a74514a3b9 (diff) | |
| parent | 556397aae721b240b6bd8eb971a18e669ad50c1d (diff) | |
| download | python-openstackclient-b61104563908dbf76c0fb94b6eb46c91fe109d48.tar.gz | |
Merge "Refactor TestImageCreate with FakeImage class"
Diffstat (limited to 'openstackclient/tests/image/v2/fakes.py')
| -rw-r--r-- | openstackclient/tests/image/v2/fakes.py | 2 |
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 |
