Commit 044c7b6d authored by Sofia Papagiannaki's avatar Sofia Papagiannaki

pithos: Fix AttributeError in tests

parent f8982874
......@@ -153,6 +153,13 @@ class PithosTestSuiteRunner(DjangoTestSuiteRunner):
class PithosTestClient(Client):
def _get_path(self, parsed):
# If there are parameters, add them
if parsed[3]:
return unquote(parsed[2] + ";" + parsed[3])
else:
return unquote(parsed[2])
def copy(self, path, data={}, content_type=MULTIPART_CONTENT,
follow=False, **extra):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment