Rev 2585: fixup run_bzr syntax in launchpad plugin in http://sourcefrog.net/bzr/cleanup-runbzr

Martin Pool mbp at sourcefrog.net
Wed Jul 4 10:27:24 BST 2007


At http://sourcefrog.net/bzr/cleanup-runbzr

------------------------------------------------------------
revno: 2585
revision-id: mbp at sourcefrog.net-20070704092722-2y1awxvaoeyv1w0h
parent: mbp at sourcefrog.net-20070704085614-b4e73tc8zymf0i34
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: cleanup-runbzr
timestamp: Wed 2007-07-04 19:27:22 +1000
message:
  fixup run_bzr syntax in launchpad plugin
modified:
  bzrlib/plugins/launchpad/test_register.py test_register.py-20060315182712-40f5dda945c829a8
=== modified file 'bzrlib/plugins/launchpad/test_register.py'
--- a/bzrlib/plugins/launchpad/test_register.py	2006-10-11 23:08:27 +0000
+++ b/bzrlib/plugins/launchpad/test_register.py	2007-07-04 09:27:22 +0000
@@ -129,7 +129,7 @@
 
     def test_register_help(self):
         """register-branch accepts --help"""
-        out, err = self.run_bzr('register-branch', '--help')
+        out, err = self.run_bzr(['register-branch', '--help'])
         self.assertContainsRe(out, r'Register a branch')
 
     def test_register_no_url(self):
@@ -137,9 +137,9 @@
         self.run_bzr('register-branch', retcode=3)
 
     def test_register_dry_run(self):
-        out, err = self.run_bzr('register-branch',
+        out, err = self.run_bzr(['register-branch',
                                 'http://test-server.com/bzr/branch',
-                                '--dry-run')
+                                '--dry-run'])
         self.assertEquals(out, 'Branch registered.\n')
 
     def test_onto_transport(self):




More information about the bazaar-commits mailing list