32
29
"""test for branch path lookups
34
31
bzrlib.osutils._relpath do a simple but subtle
35
32
job: given a path (either relative to cwd or absolute), work out
36
33
if it is inside a branch and return the path relative to the base.
42
40
# On Mac OSX, /tmp actually expands to /private/tmp
49
47
# check paths inside dtmp while standing outside it
50
48
self.assertEqual(rp(pathjoin(dtmp, 'foo')), 'foo')