MCPcopy
hub / github.com/pytest-dev/pytest / test_commondir_nocommon

Method test_commondir_nocommon

testing/_py/test_local.py:1424–1429  ·  view source on GitHub ↗
(self, path1)

Source from the content-addressed store, hash-verified

1422 assert p2.common(p1) == path1
1423
1424 def test_commondir_nocommon(self, path1):
1425 # XXX This is here in local until we find a way to implement this
1426 # using the subversion command line api.
1427 p1 = path1.join("something")
1428 p2 = local(path1.sep + "blabla")
1429 assert p1.common(p2) == "/"
1430
1431 def test_join_to_root(self, path1):
1432 root = path1.parts()[0]

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
commonMethod · 0.80

Tested by

no test coverage detected