~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2007-06-26 13:49:44 UTC
  • mto: (2581.1.1 cleanup-runbzr)
  • mto: This revision was merged to the branch mainline in revision 2588.
  • Revision ID: v.ladeuil+lp@free.fr-20070626134944-snlh5i0zsa30mysx
Enforce run_bzr(string) where possible.

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
        bzr = self.run_bzr
144
144
 
145
145
        def get_rh(expected_len):
146
 
            rh = self.run_bzr(['revision-history'])[0]
 
146
            rh = self.run_bzr('revision-history')[0]
147
147
            # Make sure we don't have trailing empty revisions
148
148
            rh = rh.strip().split('\n')
149
149
            self.assertEqual(len(rh), expected_len)
185
185
        bzr = self.run_bzr
186
186
 
187
187
        def get_rh(expected_len):
188
 
            rh = self.run_bzr(['revision-history'])[0]
 
188
            rh = self.run_bzr('revision-history')[0]
189
189
            # Make sure we don't have trailing empty revisions
190
190
            rh = rh.strip().split('\n')
191
191
            self.assertEqual(len(rh), expected_len)