~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-08-29 18:45:27 UTC
  • mto: This revision was merged to the branch mainline in revision 6169.
  • Revision ID: jelmer@samba.org-20110829184527-ud4139xmnuwsjmr6
Cope with branch in current directory in 'bzr branches --scan'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        out, err = self.run_bzr('branches', working_dir='a')
43
43
        self.assertEquals(out, "")
44
44
 
 
45
    def test_scan_current(self):
 
46
        self.run_bzr('init .')
 
47
        self.assertEquals(".\n", self.run_bzr('branches --scan')[0])
 
48
 
45
49
    def test_scan(self):
46
50
        self.run_bzr('init source')
47
51
        self.run_bzr('init source/subsource')