~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
 
87
87
        self.monkey_patch_gpg()
88
88
 
89
 
        self.run_bzr('sign-my-commits', 'other')
 
89
        self.run_bzr('sign-my-commits other')
90
90
 
91
91
        self.assertSigned(repo, 'A')
92
92
        self.assertSigned(repo, 'B')
99
99
 
100
100
        self.monkey_patch_gpg()
101
101
 
102
 
        self.run_bzr('sign-my-commits', '.', 'Alternate <alt@foo.com>')
 
102
        self.run_bzr(['sign-my-commits', '.', 'Alternate <alt@foo.com>'])
103
103
 
104
104
        self.assertUnsigned(repo, 'A')
105
105
        self.assertUnsigned(repo, 'B')
112
112
 
113
113
        self.monkey_patch_gpg()
114
114
 
115
 
        out = self.run_bzr('sign-my-commits', '--dry-run')[0]
 
115
        out = self.run_bzr('sign-my-commits --dry-run')[0]
116
116
 
117
117
        self.assertEquals('A\nB\nC\nSigned 3 revisions\n', out)
118
118
        self.assertUnsigned(repo, 'A')