~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-05 20:08:52 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-20060905200852-067430c9209fea7f
Find more occurrances of put() and replace with put_file or put_bytes

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
        """Create a bzr dir."""
95
95
        t = get_transport(url)
96
96
        t.mkdir('.bzr')
97
 
        t.put('.bzr/branch-format', StringIO(self.get_format_string()))
 
97
        t.put_bytes('.bzr/branch-format', self.get_format_string())
98
98
        return SampleBzrDir(t, self)
99
99
 
100
100
    def is_supported(self):