~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

  • Committer: Aaron Bentley
  • Date: 2007-01-17 14:36:49 UTC
  • mto: (1551.9.35 Aaron's mergeable stuff)
  • mto: This revision was merged to the branch mainline in revision 2237.
  • Revision ID: abentley@panoramicfeedback.com-20070117143649-8fb6gmn8l2kksdh5
Remove (new) trailing whitespace

Show diffs side-by-side

added added

removed removed

Lines of Context:
432
432
        self.make_branch_and_tree('topdir')
433
433
        tree, branch, relpath = bzrdir.BzrDir.open_containing_tree_or_branch(
434
434
            'topdir/foo')
435
 
        self.assertEqual(os.path.realpath('topdir'), 
 
435
        self.assertEqual(os.path.realpath('topdir'),
436
436
                         os.path.realpath(tree.basedir))
437
 
        self.assertEqual(os.path.realpath('topdir'), 
 
437
        self.assertEqual(os.path.realpath('topdir'),
438
438
                         local_branch_path(branch))
439
439
        self.assertIs(tree.bzrdir, branch.bzrdir)
440
440
        self.assertEqual('foo', relpath)
442
442
        tree, branch, relpath = bzrdir.BzrDir.open_containing_tree_or_branch(
443
443
            'topdir/foo')
444
444
        self.assertIs(tree, None)
445
 
        self.assertEqual(os.path.realpath('topdir/foo'), 
 
445
        self.assertEqual(os.path.realpath('topdir/foo'),
446
446
                         local_branch_path(branch))
447
447
        self.assertEqual('', relpath)
448
448