~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2006-05-02 20:46:11 UTC
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: john@arbash-meinel.com-20060502204611-02caa5c20fb84ef8
Moved url functions into bzrlib.urlutils

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import tempfile
23
23
 
24
24
from bzrlib.tests import ChrootedTestCase
25
 
from bzrlib.osutils import getcwd, local_path_to_url
 
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 = local_path_to_url(getcwd())
 
34
        cwd = urlutils.local_path_to_url(getcwd())
34
35
        out, err = self.run_bzr('log', retcode=3)
35
36
 
36
37
        self.assertEqual(u'bzr: ERROR: Not a branch: %s/\n' % (cwd,),