~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-02 14:08:26 UTC
  • mfrom: (3388.2.3 controlfiles)
  • Revision ID: pqm@pqm.ubuntu.com-20080502140826-nhg73h31i9viu175
(mbp) deprecate LocableFiles.get_utf8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2006 Canonical Ltd
 
1
# Copyright (C) 2005, 2006, 2008 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
43
43
        self.example_branch('a')
44
44
        self.run_bzr('branch a b')
45
45
        b = branch.Branch.open('b')
46
 
        self.assertEqual('b\n', b.control_files.get_utf8('branch-name').read())
 
46
        self.assertEqual('b\n', b.control_files._transport.get_bytes('branch-name'))
47
47
        self.run_bzr('branch a c -r 1')
48
48
        b.bzrdir.open_workingtree().commit(message='foo', allow_pointless=True)
49
49