~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_merge_directive.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-06-05 19:12:37 UTC
  • mfrom: (3449.4.2 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080605191237-2306x0goo9pfh9to
(Lukáš Lalinský) Sanitize nick before using it as a patch filename for bzr send.

Show diffs side-by-side

added added

removed removed

Lines of Context:
374
374
 
375
375
    def test_disk_name(self):
376
376
        tree_a, tree_b, branch_c = self.make_trees()
377
 
        tree_a.branch.nick = 'fancy-name'
 
377
        tree_a.branch.nick = 'fancy <name>'
378
378
        md = self.from_objects(tree_a.branch.repository, 'rev2a', 500, 120,
379
379
            tree_b.branch.base)
380
380
        self.assertEqual('fancy-name-2', md.get_disk_name(tree_a.branch))