~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/commands/test_missing.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-08-28 05:54:22 UTC
  • mfrom: (2754.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070828055422-9h8abp4darakavba
(Lukáš Lalinský) Use UTF-8 encoded StringIO for log tests to avoid failures on non-ASCII committer names

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
 
18
18
from bzrlib.builtins import cmd_missing
19
 
from bzrlib.tests import StringIOWrapper
20
19
from bzrlib.tests.transport_util import TestCaseWithConnectionHookedTransport
21
20
 
22
21
 
33
32
 
34
33
        cmd = cmd_missing()
35
34
        # We don't care about the ouput but 'outf' should be defined
36
 
        cmd.outf = StringIOWrapper()
 
35
        cmd.outf = self.make_utf8_encoded_stringio()
37
36
        cmd.run(self.get_url('branch2'))
38
37
        self.assertEquals(1, len(self.connections))
39
38