~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_bound_branches.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-03-31 00:43:21 UTC
  • mfrom: (1551.2.51 win32fixes)
  • Revision ID: pqm@pqm.ubuntu.com-20060331004321-2171d32febcbfe4d
Various fixes for win32

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
                           BzrDirFormat6,
29
29
                           BzrDirMetaFormat1,
30
30
                           )
 
31
from bzrlib.osutils import getcwd
31
32
from bzrlib.workingtree import WorkingTree
32
33
 
33
34
 
50
51
        out,err = self.run_bzr('bind', '../master', retcode=3)
51
52
        self.assertEqual('', out)
52
53
        self.assertEqual('bzr: ERROR: To use this feature you must '
53
 
                         'upgrade your branch at %s/.\n' % os.getcwdu(), err)
 
54
                         'upgrade your branch at %s/.\n' % getcwd(), err)
54
55
    
55
56
    def test_unbind_format_6_bzrdir(self):
56
57
        # bind on a format 6 bzrdir should error
57
58
        out,err = self.run_bzr('unbind', retcode=3)
58
59
        self.assertEqual('', out)
59
60
        self.assertEqual('bzr: ERROR: To use this feature you must '
60
 
                         'upgrade your branch at %s/.\n' % os.getcwdu(), err)
 
61
                         'upgrade your branch at %s/.\n' % getcwd(), err)
61
62
 
62
63
 
63
64
class TestBoundBranches(TestCaseWithTransport):