~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2006-06-20 03:30:14 UTC
  • mfrom: (1793 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1797.
  • Revision ID: mbp@sourcefrog.net-20060620033014-e19ce470e2ce6561
[merge] bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
from bzrlib.tests import ChrootedTestCase
25
25
from bzrlib.osutils import getcwd
 
26
import bzrlib.urlutils as urlutils
26
27
 
27
28
 
28
29
class TestOutsideWT(ChrootedTestCase):
30
31
 
31
32
    def test_cwd_log(self):
32
33
        os.chdir(tempfile.mkdtemp())
33
 
        cwd = getcwd()
34
34
        out, err = self.run_bzr('log', retcode=3)
35
 
 
36
 
        self.assertEqual(u'bzr: ERROR: Not a branch: %s/\n' % (cwd,),
 
35
        self.assertEqual(u'bzr: ERROR: Not a branch: %s/\n' % (getcwd(),),
37
36
                         err)
38
37
 
39
38
    def test_url_log(self):