/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 bzrlib/tests/__init__.py

  • Committer: mbp at sourcefrog
  • Date: 2009-08-14 06:18:51 UTC
  • mfrom: (4595.6.2 doc)
  • mto: This revision was merged to the branch mainline in revision 4609.
  • Revision ID: mbp@sourcefrog.net-20090814061851-784t6zw4eyvx5kdu
Merge other doc changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
753
753
            stdin = StringIOWrapper(stdin)
754
754
        super(TestUIFactory, self).__init__(stdin, stdout, stderr)
755
755
 
756
 
    def make_progress_view(self):
757
 
        return NullProgressView()
758
 
 
759
 
    def update(self, message, count=None, total=None):
760
 
        """See progress.ProgressBar.update()."""
761
 
 
762
756
    def get_non_echoed_password(self):
763
757
        """Get password from stdin without trying to handle the echo mode"""
764
758
        password = self.stdin.readline()
768
762
            password = password[:-1]
769
763
        return password
770
764
 
 
765
    def make_progress_view(self):
 
766
        return NullProgressView()
 
767
 
771
768
 
772
769
class TestCase(unittest.TestCase):
773
770
    """Base class for bzr unit tests.