~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_uifactory/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-12-09 06:37:40 UTC
  • mfrom: (4792.8.16 progress-output)
  • Revision ID: pqm@pqm.ubuntu.com-20091209063740-orfojzx53lbt29ey
(mbp) progress bars automatically synchronize with other terminal
        output

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
        self.factory.show_warning(msg)
75
75
        self._check_show_warning(msg)
76
76
 
 
77
    def test_make_output_stream(self):
 
78
        # at the moment this is only implemented on text uis; i'm not sure
 
79
        # what it should do elsewhere
 
80
        try:
 
81
            output_stream = self.factory.make_output_stream()
 
82
        except NotImplementedError, e:
 
83
            raise tests.TestSkipped(str(e))
 
84
        output_stream.write('hello!')
 
85
 
77
86
 
78
87
class TestTextUIFactory(tests.TestCase, UIFactoryTestMixin):
79
88