~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_repository.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-05 20:58:28 UTC
  • mto: (1946.2.8 reduce-knit-churn)
  • mto: This revision was merged to the branch mainline in revision 1988.
  • Revision ID: john@arbash-meinel.com-20060905205828-6b69f9a2e2fb8100
Run the full test suite, and fix up any deprecation warnings.
That includes some Store tests that used to try and pass a string for the
file-like object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
    def initialize(self, a_bzrdir, shared=False):
73
73
        """Initialize a repository in a BzrDir"""
74
74
        t = a_bzrdir.get_repository_transport(self)
75
 
        t.put('format', StringIO(self.get_format_string()))
 
75
        t.put_bytes('format', self.get_format_string())
76
76
        return 'A bzr repository dir'
77
77
 
78
78
    def is_supported(self):