~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ui.py

  • Committer: Jelmer Vernooij
  • Date: 2009-04-07 11:54:04 UTC
  • mfrom: (4222.2.11 ui-username)
  • mto: This revision was merged to the branch mainline in revision 4284.
  • Revision ID: jelmer@samba.org-20090407115404-hyi0ky5adtshx5q9
merge new ui-username work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
287
287
            username = ui.get_username(u'Hello\u1234 %(host)s',
288
288
                host=u'some\u1234')
289
289
            self.assertEquals(u"someuser\u1234", username.decode('utf8'))
290
 
            self.assertEquals(ui.stdout.getvalue().decode("utf8"),
291
 
              u"Hello\u1234 some\u1234: ")
 
290
            self.assertEquals(u"Hello\u1234 some\u1234: ", 
 
291
                ui.stdout.getvalue().decode("utf8"))
292
292
        finally:
293
293
            pb.finished()
294
294