def test_join_normalized(self): |
newpath = self.root.join(self.root.sep+'sampledir') |
strp = str(newpath) |
assert strp.endswith('sampledir') |
assert strp.startswith(str(self.root)) |
newpath = self.root.join((self.root.sep*2) + 'sampledir') |
-> strp = str(newpath) |
assert strp.endswith('sampledir') |
assert strp.startswith(str(self.root)) |