~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-08-06 02:31:39 UTC
  • mfrom: (2665.1.2 stricter-run_bzr)
  • Revision ID: pqm@pqm.ubuntu.com-20070806023139-97nrt9mu4qihcdf3
(robertc) Merge Michael Hudson's run_bzr keyword usage fix. (Michael Hudson)

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
        self.assertEqual('baz', self.working_dir)
173
173
        self.assertEqual(['foo', 'bar'], self.argv)
174
174
 
 
175
    def test_reject_extra_keyword_arguments(self):
 
176
        self.assertRaises(TypeError, self.run_bzr, "foo bar",
 
177
                          error_regex=['error message'])
 
178
 
175
179
 
176
180
class TestBenchmarkTests(TestCaseWithTransport):
177
181