~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-08-23 18:54:47 UTC
  • mfrom: (3645.1.1 bzr.dev)
  • Revision ID: pqm@pqm.ubuntu.com-20080823185447-4fimhc5kjnedx6t6
(James Westby) Give the user a bit more information about which saved
        location is being used.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
        self.assertContainsRe(errmsg, 'No submit branch known or specified')
57
57
        os.chdir('../branch')
58
58
        stdout, stderr = self.run_bzr('send -o-')
59
 
        self.assertEqual(stderr.count('Using saved location'), 1)
 
59
        self.assertEqual(stderr.count('Using saved parent location'), 1)
60
60
        br = read_bundle(StringIO(stdout))
61
61
        self.assertRevisions(br, ['revision3'])
62
62
 
68
68
        self.assertContainsRe(errmsg, 'No submit branch known or specified')
69
69
        os.chdir('../branch')
70
70
        stdout, stderr = self.run_bzr('bundle')
71
 
        self.assertEqual(stderr.count('Using saved location'), 1)
 
71
        self.assertEqual(stderr.count('Using saved parent location'), 1)
72
72
        br = read_bundle(StringIO(stdout))
73
73
        self.assertRevisions(br, ['revision3'])
74
74