~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart.py

Deprecate LockableFiles.put_utf8

Show diffs side-by-side

added added

removed removed

Lines of Context:
392
392
        backing = self.get_transport()
393
393
        request = smart.branch.SmartServerBranchGetConfigFile(backing)
394
394
        branch = self.make_branch('.')
395
 
        branch.control_files.put_utf8('branch.conf', 'foo bar baz')
 
395
        branch._transport.put_bytes('branch.conf', 'foo bar baz')
396
396
        self.assertEqual(SmartServerResponse(('ok', ), 'foo bar baz'),
397
397
            request.execute(''))
398
398