~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: 2010-02-11 04:02:41 UTC
  • mfrom: (5017.2.2 tariff)
  • Revision ID: pqm@pqm.ubuntu.com-20100211040241-w6n021dz0uus341n
(mbp) add import-tariff tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    )
32
32
from bzrlib.transport import memory
33
33
 
34
 
 
35
34
class TestInfo(tests.TestCaseWithTransport):
36
35
 
37
36
    def setUp(self):
212
211
         0 added
213
212
         0 removed
214
213
         0 renamed
215
 
         0 unknown
216
 
         1 ignored
 
214
         1 unknown
 
215
         0 ignored
217
216
         0 versioned subdirectories
218
217
 
219
218
Branch history:
380
379
         0 added
381
380
         0 removed
382
381
         0 renamed
383
 
         0 unknown
384
 
         1 ignored
 
382
         1 unknown
 
383
         0 ignored
385
384
         0 versioned subdirectories
386
385
 
387
386
Branch history:
1228
1227
        # Do a light checkout of the heavy one
1229
1228
        transport.mkdir('tree/lightcheckout')
1230
1229
        lco_dir = bzrdir.BzrDirMetaFormat1().initialize('tree/lightcheckout')
1231
 
        branch.BranchReferenceFormat().initialize(lco_dir,
1232
 
            target_branch=co_branch)
 
1230
        branch.BranchReferenceFormat().initialize(lco_dir, co_branch)
1233
1231
        lco_dir.create_workingtree()
1234
1232
        lco_tree = lco_dir.open_workingtree()
1235
1233
 
1325
1323
 
1326
1324
    def test_info_locking_oslocks(self):
1327
1325
        if sys.platform == "win32":
1328
 
            self.skip("don't use oslocks on win32 in unix manner")
 
1326
            raise TestSkipped("don't use oslocks on win32 in unix manner")
1329
1327
        # This test tests old (all-in-one, OS lock using) behaviour which
1330
1328
        # simply cannot work on windows (and is indeed why we changed our
1331
1329
        # design. As such, don't try to remove the thisFailsStrictLockCheck