/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_revision.py

  • Committer: Lukáš Lalinsky
  • Date: 2007-08-16 18:50:22 UTC
  • mto: (2755.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2757.
  • Revision ID: lalinsky@gmail.com-20070816185022-nra7t01mk81d47rm
Rename get_author to get_apparent_author, revert the long log back to displaying the committer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
322
322
        r.message = '\na\nb'
323
323
        self.assertEqual('a', r.get_summary())
324
324
 
325
 
    def test_get_author(self):
 
325
    def test_get_apparent_author(self):
326
326
        r = revision.Revision('1')
327
327
        r.committer = 'A'
328
 
        self.assertEqual('A', r.get_author())
 
328
        self.assertEqual('A', r.get_apparent_author())
329
329
        r.properties['author'] = 'B'
330
 
        self.assertEqual('B', r.get_author())
 
330
        self.assertEqual('B', r.get_apparent_author())