/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_workingtree.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-06-03 22:15:13 UTC
  • mfrom: (7311.2.7 detect-local-wt)
  • Revision ID: breezy.the.bot@gmail.com-20190603221513-lwqguwnu6lpf2t1o
Remove WorkingTree.find_trees, simplify detection of subtrees.

Merged from https://code.launchpad.net/~jelmer/brz/detect-local-wt/+merge/368240

Show diffs side-by-side

added added

removed removed

Lines of Context:
452
452
        tree.auto_resolve()
453
453
 
454
454
 
455
 
class TestFindTrees(TestCaseWithTransport):
456
 
 
457
 
    def test_find_trees(self):
458
 
        self.make_branch_and_tree('foo')
459
 
        self.make_branch_and_tree('foo/bar')
460
 
        # Sticking a tree inside a control dir is heinous, so let's skip it
461
 
        self.make_branch_and_tree('foo/.bzr/baz')
462
 
        self.make_branch('qux')
463
 
        trees = workingtree.WorkingTree.find_trees('.')
464
 
        self.assertEqual(2, len(list(trees)))
465
 
 
466
 
 
467
455
class TestStoredUncommitted(TestCaseWithTransport):
468
456
 
469
457
    def store_uncommitted(self):