1462
1462
self.wt.branch, formatter, formatter_kwargs=formatter_kwargs)
1464
1464
def test_line_default(self):
1465
self.assertFormatterResult(log.LineLogFormatter, None, """\
1465
self.assertFormatterResult(log.LineLogFormatter, None, b"""\
1466
1466
1: John Doe 2005-11-22 add a
1469
1469
def test_line_committer(self):
1470
self.assertFormatterResult(log.LineLogFormatter, 'committer', """\
1470
self.assertFormatterResult(log.LineLogFormatter, 'committer', b"""\
1471
1471
1: Lorem Ipsum 2005-11-22 add a
1474
1474
def test_line_first(self):
1475
self.assertFormatterResult(log.LineLogFormatter, 'first', """\
1475
self.assertFormatterResult(log.LineLogFormatter, 'first', b"""\
1476
1476
1: John Doe 2005-11-22 add a
1479
1479
def test_line_all(self):
1480
self.assertFormatterResult(log.LineLogFormatter, 'all', """\
1480
self.assertFormatterResult(log.LineLogFormatter, 'all', b"""\
1481
1481
1: John Doe, Jane Rey 2005-11-22 add a
1485
1485
def test_short_default(self):
1486
self.assertFormatterResult(log.ShortLogFormatter, None, """\
1486
self.assertFormatterResult(log.ShortLogFormatter, None, b"""\
1487
1487
1 John Doe\t2005-11-22
1492
1492
def test_short_committer(self):
1493
self.assertFormatterResult(log.ShortLogFormatter, 'committer', """\
1493
self.assertFormatterResult(log.ShortLogFormatter, 'committer', b"""\
1494
1494
1 Lorem Ipsum\t2005-11-22
1499
1499
def test_short_first(self):
1500
self.assertFormatterResult(log.ShortLogFormatter, 'first', """\
1500
self.assertFormatterResult(log.ShortLogFormatter, 'first', b"""\
1501
1501
1 John Doe\t2005-11-22
1506
1506
def test_short_all(self):
1507
self.assertFormatterResult(log.ShortLogFormatter, 'all', """\
1507
self.assertFormatterResult(log.ShortLogFormatter, 'all', b"""\
1508
1508
1 John Doe, Jane Rey\t2005-11-22
1513
1513
def test_long_default(self):
1514
self.assertFormatterResult(log.LongLogFormatter, None, """\
1514
self.assertFormatterResult(log.LongLogFormatter, None, b"""\
1515
1515
------------------------------------------------------------
1517
1517
author: John Doe <jdoe@example.com>, Jane Rey <jrey@example.com>