Revision bc4f25c0 snf-pithos-app/pithos/api/test/util/__init__.py
b/snf-pithos-app/pithos/api/test/util/__init__.py | ||
---|---|---|
94 | 94 |
return get_random_word(length)[:length] |
95 | 95 |
|
96 | 96 |
|
97 |
def get_random_name(length=8): |
|
98 |
return get_random_data(length) |
|
99 |
|
|
100 |
|
|
97 | 101 |
def md5_hash(data): |
98 | 102 |
md5 = hashlib.md5() |
99 | 103 |
md5.update(data) |
Also available in: Unified diff