~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_revision.py

  • Committer: Jelmer Vernooij
  • Date: 2009-05-14 21:29:57 UTC
  • mto: (4290.1.9 rio-serializer2)
  • mto: This revision was merged to the branch mainline in revision 4368.
  • Revision ID: jelmer@samba.org-20090514212957-fdg0uxi17n5j93ui
Extend valid_tags tests a bit, test that stanza pairs contain the right types.

Show diffs side-by-side

added added

removed removed

Lines of Context:
208
208
        self.assertEqual('a', r.get_summary())
209
209
        r.message = '\na\nb'
210
210
        self.assertEqual('a', r.get_summary())
211
 
        r.message = None
212
 
        self.assertEqual('', r.get_summary())
213
211
 
214
212
    def test_get_apparent_author(self):
215
213
        r = revision.Revision('1')