/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 bzrlib/tests/blackbox/test_commit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-09-22 17:02:26 UTC
  • mfrom: (2846.2.1 approved.branch5)
  • Revision ID: pqm@pqm.ubuntu.com-20070922170226-ex2ydmlyboaoj87c
win32-specific fixes (bialix)

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
import os
21
21
 
22
22
from bzrlib import (
 
23
    osutils,
23
24
    ignores,
24
25
    )
25
26
from bzrlib.bzrdir import BzrDir
154
155
        a_tree.commit(message='Initial message')
155
156
 
156
157
        b_tree = a_tree.branch.create_checkout('b')
157
 
        expected = "%s/" % (os.path.abspath('a'), )
 
158
        expected = "%s/" % (osutils.abspath('a'), )
158
159
        out, err = self.run_bzr('commit -m blah --unchanged', working_dir='b')
159
160
        self.assertEqual(err, 'Committing revision 2 to "%s".\n'
160
161
                         'Committed revision 2.\n' % expected)
212
213
        os.chdir('this')
213
214
        out,err = self.run_bzr('commit -m added')
214
215
        self.assertEqual('', out)
215
 
        expected = '%s/' % (os.getcwd(), )
 
216
        expected = '%s/' % (osutils.getcwd(), )
216
217
        self.assertEqualDiff(
217
218
            'Committing revision 2 to "%s".\n'
218
219
            'modified filetomodify\n'