~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Lukáš Lalinsky
  • Date: 2007-08-16 17:36:50 UTC
  • mto: (2754.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 2755.
  • Revision ID: lalinsky@gmail.com-20070816173650-772z26k64nv7uq2k
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