/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/tests/test_whitebox.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
import os
18
18
 
19
 
import bzrlib
20
 
from bzrlib import (
 
19
import breezy
 
20
from .. import (
21
21
    errors,
22
22
    osutils,
23
23
    tests,
24
24
    )
25
 
from bzrlib.osutils import relpath, pathjoin, abspath, realpath
 
25
from ..osutils import relpath, pathjoin, abspath, realpath
26
26
 
27
27
 
28
28
class MoreTests(tests.TestCaseWithTransport):
30
30
    def test_relpath(self):
31
31
        """test for branch path lookups
32
32
 
33
 
        bzrlib.osutils._relpath do a simple but subtle
 
33
        breezy.osutils._relpath do a simple but subtle
34
34
        job: given a path (either relative to cwd or absolute), work out
35
35
        if it is inside a branch and return the path relative to the base.
36
36
        """