~jameinel/bzr/2.4-failing-no-fdatasync

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-18 17:44:56 UTC
  • mfrom: (6027.1.1 2.4-add-LazyListRepr)
  • Revision ID: pqm@pqm.ubuntu.com-20110818174456-bfxvop3tb9f1b5dn
(jameinel) Add _LazyListJoin.__repr__ for easier debugging. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1660
1660
    def test_IDS_format_same_no(self):
1661
1661
        # When the formats are the same, pack is not called.
1662
1662
        self.run_fetch('2a', '2a', False)
 
1663
 
 
1664
 
 
1665
class Test_LazyListJoin(tests.TestCase):
 
1666
 
 
1667
    def test__repr__(self):
 
1668
        lazy = repository._LazyListJoin(['a'], ['b'])
 
1669
        self.assertEqual("bzrlib.repository._LazyListJoin((['a'], ['b']))",
 
1670
                         repr(lazy))