~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-13 02:04:41 UTC
  • mfrom: (1558.16.3 revert-missing)
  • Revision ID: pqm@pqm.ubuntu.com-20060613020441-b1038ac438997a41
Fix some typos (found using aspell) (Jelmer Vernooij).

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
"""Tests for the info command of bzr."""
20
20
 
21
 
import sys
22
21
 
23
22
import bzrlib
 
23
 
 
24
 
24
25
from bzrlib.osutils import format_date
25
26
from bzrlib.tests import TestSkipped
26
27
from bzrlib.tests.blackbox import ExternalBase
29
30
class TestInfo(ExternalBase):
30
31
 
31
32
    def test_info_non_existing(self):
32
 
        if sys.platform == "win32":
33
 
            location = "C:/i/do/not/exist/"
34
 
        else:
35
 
            location = "/i/do/not/exist/"
36
 
        out, err = self.runbzr('info '+location, retcode=3)
 
33
        out, err = self.runbzr('info /i/do/not/exist/', retcode=3)
37
34
        self.assertEqual(out, '')
38
 
        self.assertEqual(err, 'bzr: ERROR: Not a branch: %s\n' % location)
 
35
        self.assertEqual(err, 'bzr: ERROR: Not a branch: /i/do/not/exist/\n')
39
36
 
40
37
    def test_info_standalone(self):
41
38
        transport = self.get_transport()
1508
1505
        lco_tree.branch.unlock()
1509
1506
 
1510
1507
    def test_info_locking_oslocks(self):
1511
 
        if sys.platform == "win32":
1512
 
            raise TestSkipped("don't use oslocks on win32 in unix manner")
1513
 
 
1514
1508
        tree = self.make_branch_and_tree('branch',
1515
1509
                                         format=bzrlib.bzrdir.BzrDirFormat6())
1516
1510