Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
044c7b6d
Commit
044c7b6d
authored
Sep 06, 2013
by
Sofia Papagiannaki
Browse files
pithos: Fix AttributeError in tests
parent
f8982874
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-pithos-app/pithos/api/test/__init__.py
View file @
044c7b6d
...
...
@@ -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
):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment