Revision bc4f25c0 snf-pithos-app/pithos/api/test/permissions.py
b/snf-pithos-app/pithos/api/test/permissions.py | ||
---|---|---|
35 | 35 |
# or implied, of GRNET S.A. |
36 | 36 |
|
37 | 37 |
from pithos.api.test import PithosAPITest |
38 |
from pithos.api.test.util import get_random_data |
|
38 |
from pithos.api.test.util import get_random_data, get_random_name
|
|
39 | 39 |
|
40 | 40 |
from synnefo.lib import join_urls |
41 | 41 |
|
... | ... | |
53 | 53 |
r = self.post(url, **kwargs) |
54 | 54 |
self.assertEqual(r.status_code, 202) |
55 | 55 |
|
56 |
self.container = get_random_data(8)
|
|
56 |
self.container = get_random_name()
|
|
57 | 57 |
self.create_container(self.container) |
58 | 58 |
self.object = self.upload_object(self.container)[0] |
59 | 59 |
l = [self.object + '/', self.object + '/a', self.object + 'a', |
Also available in: Unified diff