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

  • Committer: John Arbash Meinel
  • Date: 2009-02-23 15:42:47 UTC
  • mto: This revision was merged to the branch mainline in revision 4033.
  • Revision ID: john@arbash-meinel.com-20090223154247-has31lzprui21glu
Track down a few more files that have trailing whitespace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1751
1751
 
1752
1752
    def assertStreamMetaEqual(self, records, expected, stream):
1753
1753
        """Assert that streams expected and stream have the same records.
1754
 
        
 
1754
 
1755
1755
        :param records: A list to collect the seen records.
1756
1756
        :return: A generator of the records in stream.
1757
1757
        """
1770
1770
 
1771
1771
        :param skipped_records: A list with one element to increment when a
1772
1772
            record is skipped.
1773
 
        :param full_texts: A dict from key->fulltext representation, for 
 
1773
        :param full_texts: A dict from key->fulltext representation, for
1774
1774
            checking chunked or fulltext stored records.
1775
1775
        :param stream: A record_stream.
1776
1776
        :return: An iterator over the bytes of each record.
2453
2453
        self._lines["B"] = ["HEY"]
2454
2454
        self._lines["C"] = ["Alberta"]
2455
2455
        it = self.texts.iter_lines_added_or_present_in_keys([("A",), ("B",)])
2456
 
        self.assertEquals(sorted([("FOO", "A"), ("BAR", "A"), ("HEY", "B")]), 
 
2456
        self.assertEquals(sorted([("FOO", "A"), ("BAR", "A"), ("HEY", "B")]),
2457
2457
            sorted(list(it)))
2458
2458
 
2459
2459