/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/blackbox/test_filesystem_cicp.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-22 00:56:52 UTC
  • mfrom: (6621.2.26 py3_pokes)
  • Revision ID: jelmer@jelmer.uk-20170522005652-yjahcr9hwmjkno7n
Merge Python3 porting work ('py3 pokes')

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
import os
21
21
 
22
 
from breezy import (
 
22
from ... import (
23
23
    osutils,
24
24
    tests,
25
25
    )
26
 
from breezy.tests import KnownFailure
27
 
from breezy.osutils import canonical_relpath, pathjoin
28
 
from breezy.tests.script import run_script
29
 
from breezy.tests.features import (
 
26
from .. import KnownFailure
 
27
from ...osutils import canonical_relpath, pathjoin
 
28
from ..script import run_script
 
29
from ..features import (
30
30
    CaseInsCasePresFilenameFeature,
31
31
    )
32
32
 
214
214
            $ brz mv camelcaseparent/camelcase camelcaseparent/camelCase
215
215
            CamelCaseParent/CamelCase => CamelCaseParent/camelCase
216
216
            """)
217
 
        self.failUnlessEqual(canonical_relpath(wt.basedir, 'camelcaseparent/camelcase'),
 
217
        self.assertEqual(canonical_relpath(wt.basedir, 'camelcaseparent/camelcase'),
218
218
                             'CamelCaseParent/camelCase')
219
219
 
220
220
    def test_mv_newcase_after(self):
230
230
            CamelCaseParent/CamelCase => CamelCaseParent/camelCase
231
231
            """)
232
232
        # brz should not have renamed the file to a different case
233
 
        self.failUnlessEqual(canonical_relpath(wt.basedir, 'camelcaseparent/camelcase'),
 
233
        self.assertEqual(canonical_relpath(wt.basedir, 'camelcaseparent/camelcase'),
234
234
                             'CamelCaseParent/camelCase')
235
235
 
236
236
    def test_mv_multiple(self):