~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ui.py

  • Committer: Patch Queue Manager
  • Date: 2012-08-23 14:24:38 UTC
  • mfrom: (6499.3.13 832042-shared-stores)
  • Revision ID: pqm@pqm.ubuntu.com-20120823142438-804xd3yql622ahhp
(vila) Share and cache local config files (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
 
57
57
    def test_output_encoding_configuration(self):
58
58
        enc = fixtures.generate_unicode_encodings().next()
59
 
        config.GlobalConfig().set_user_option('output_encoding',
60
 
            enc)
 
59
        config.GlobalStack().set('output_encoding', enc)
61
60
        ui = tests.TestUIFactory(stdin=None,
62
61
            stdout=tests.StringIOWrapper(),
63
62
            stderr=tests.StringIOWrapper())