~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_versionedfile.py

  • Committer: Aaron Bentley
  • Date: 2007-06-23 05:14:25 UTC
  • mto: (2520.5.2 bzr.mpbundle)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: aaron.bentley@utoronto.ca-20070623051425-xtdjn7z8xsaqah0f
Add get_sha1s to weaves

Show diffs side-by-side

added added

removed removed

Lines of Context:
788
788
            '3f786850e387550fdab836ed7e6dc881de23001b', vf.get_sha1('b'))
789
789
        self.assertEqual(
790
790
            '86f7e437faa5a7fce15d1ddcb9eaeaea377667b8', vf.get_sha1('c'))
 
791
 
 
792
        self.assertEqual(['3f786850e387550fdab836ed7e6dc881de23001b',
 
793
                          '86f7e437faa5a7fce15d1ddcb9eaeaea377667b8',
 
794
                          '3f786850e387550fdab836ed7e6dc881de23001b'],
 
795
                          vf.get_sha1s(['a', 'c', 'b']))
791
796
        
792
797
 
793
798
class TestWeave(TestCaseWithTransport, VersionedFileTestMixIn):