def test_commondir(self):
# XXX This is here in local until we find a way to implement this
# using the subversion command line api.
p1 = self.root.join('something')
p2 = self.root.join('otherthing')
-> assert p1.common(p2) == self.root
assert p2.common(p1) == self.root