/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branchbuilder.py

  • Committer: John Arbash Meinel
  • Date: 2008-07-29 16:16:36 UTC
  • mto: (3514.4.18 merge_lca_multi)
  • mto: This revision was merged to the branch mainline in revision 3590.
  • Revision ID: john@arbash-meinel.com-20080729161636-aekx4mzqqf4733wl
Apply the review changes from Martin to the exact patch he approved.

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
 
194
194
    def test_unknown_action(self):
195
195
        builder = self.build_a_rev()
196
 
        self.assertRaises(errors.UnknownBuildAction,
 
196
        e = self.assertRaises(ValueError,
197
197
            builder.build_snapshot, 'B-id', None, [('weirdo', ('foo',))])
 
198
        self.assertEqual('Unknown build action: "weirdo"', str(e))
198
199
 
199
200
    # TODO: rename a file/directory, but rename isn't supported by the
200
201
    #       MemoryTree api yet, so for now we wait until it is used