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

Method test_commondir

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

Source from the content-addressed store, hash-verified

1414 assert (atime2 - atime1) <= duration
1415
1416 def test_commondir(self, path1):
1417 # XXX This is here in local until we find a way to implement this
1418 # using the subversion command line api.
1419 p1 = path1.join("something")
1420 p2 = path1.join("otherthing")
1421 assert p1.common(p2) == path1
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

Callers

nothing calls this directly

Calls 2

joinMethod · 0.80
commonMethod · 0.80

Tested by

no test coverage detected