/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/ui_testing.py

  • Committer: Martin
  • Date: 2018-03-24 15:16:49 UTC
  • mto: This revision was merged to the branch mainline in revision 6921.
  • Revision ID: gzlist@googlemail.com-20180324151649-ntpdj362ppsc1gew
Delay stream wrapping and fix choose in char based mode

Cut down version of ui_config_after_init that changes fewer semantics
but still fixes issue with uncommit/shelve interactions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
            stderr = StringIOWithEncoding()
63
63
        super(TextUIFactory, self).__init__(stdin, stdout, stderr)
64
64
 
 
65
    def _setup_streams(self):
 
66
        self.raw_stdin = self.stdin
 
67
        self.raw_stdout = self.stdout
 
68
        self.raw_stderr = self.stderr
 
69
 
65
70
 
66
71
class TestUIFactory(TextUIFactory):
67
72
    """A UI Factory for testing.