~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Andrew Bennetts
  • Date: 2009-02-17 03:32:35 UTC
  • mto: This revision was merged to the branch mainline in revision 4027.
  • Revision ID: andrew.bennetts@canonical.com-20090217033235-wtyd3u62xhxuwixy
Rename UnresumableWriteGroups to UnresumableWriteGroup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
583
583
        self.assertEqual('"foo" is not a valid shelf id, '
584
584
            'try a number instead.', str(err))
585
585
 
586
 
    def test_unresumable_write_groups(self):
 
586
    def test_unresumable_write_group(self):
587
587
        repo = "dummy repo"
588
588
        wg_tokens = ['token']
589
589
        reason = "a reason"
590
 
        err = errors.UnresumableWriteGroups(repo, wg_tokens, reason)
 
590
        err = errors.UnresumableWriteGroup(repo, wg_tokens, reason)
591
591
        self.assertEqual(
592
 
            "Repository dummy repo cannot resume write group(s) "
 
592
            "Repository dummy repo cannot resume write group "
593
593
            "['token']: a reason", str(err))
594
594
 
595
595
    def test_unsuspendable_write_group(self):