getDirname strips the leading / chars
This commit is contained in:
parent
b1bfe39cd5
commit
f0f9240fc8
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class TestHelper:
|
|||
assert helper.getDirname("") == ""
|
||||
assert helper.getDirname("content.json") == ""
|
||||
assert helper.getDirname("data/users/") == "data/users/"
|
||||
assert helper.getDirname("/data/users/content.json") == "/data/users/"
|
||||
assert helper.getDirname("/data/users/content.json") == "data/users/"
|
||||
|
||||
|
||||
def testGetFilename(self):
|
||||
|
|
Loading…
Reference in a new issue