~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_selftest.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-05 03:14:25 UTC
  • mfrom: (5816.5.7 workingtree-3)
  • Revision ID: pqm@pqm.ubuntu.com-20110505031425-f1pyxrpf6wu8jads
(jelmer) Split WorkingTree3 out into a separate file. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
    tests,
53
53
    transport,
54
54
    workingtree,
 
55
    workingtree_3,
55
56
    workingtree_4,
56
57
    )
57
58
from bzrlib.repofmt import (
340
341
        server1 = "a"
341
342
        server2 = "b"
342
343
        formats = [workingtree_4.WorkingTreeFormat4(),
343
 
                   workingtree.WorkingTreeFormat3(),]
 
344
                   workingtree_3.WorkingTreeFormat3(),]
344
345
        scenarios = make_scenarios(server1, server2, formats)
345
346
        self.assertEqual([
346
347
            ('WorkingTreeFormat4',
377
378
        server1 = "a"
378
379
        server2 = "b"
379
380
        formats = [workingtree_4.WorkingTreeFormat4(),
380
 
                   workingtree.WorkingTreeFormat3(),]
 
381
                   workingtree_3.WorkingTreeFormat3(),]
381
382
        scenarios = make_scenarios(server1, server2, formats)
382
383
        self.assertEqual(7, len(scenarios))
383
384
        default_wt_format = workingtree.format_registry.get_default()
454
455
        from bzrlib.tests.per_intertree import (
455
456
            make_scenarios,
456
457
            )
457
 
        from bzrlib.workingtree import WorkingTreeFormat3
 
458
        from bzrlib.workingtree_3 import WorkingTreeFormat3
458
459
        from bzrlib.workingtree_4 import WorkingTreeFormat4
459
460
        input_test = TestInterTreeScenarios(
460
461
            "test_scenarios")