Revision f7667baf pithos/api/tests.py
b/pithos/api/tests.py | ||
---|---|---|
1273 | 1273 |
def test_move(self): |
1274 | 1274 |
#perform move |
1275 | 1275 |
meta = {'test':'testcopy'} |
1276 |
src_path = os.path.join('/', self.containers[0], self.obj['name'])
|
|
1276 |
src_path = '/'.join(('/', self.containers[0], self.obj['name']))
|
|
1277 | 1277 |
status = self.client.move_object(self.containers[0], self.obj['name'], |
1278 | 1278 |
self.containers[0], 'testcopy', |
1279 | 1279 |
meta)[0] |
... | ... | |
1510 | 1510 |
'photos/me.jpg'] |
1511 | 1511 |
|
1512 | 1512 |
if __name__ == "__main__": |
1513 |
unittest.main() |
|
1513 |
unittest.main() |
Also available in: Unified diff