~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-04 13:42:42 UTC
  • mfrom: (4463.1.2 progress)
  • Revision ID: pqm@pqm.ubuntu.com-20090804134242-l38wkokrlhd8ci6l
(mbp) updates to progress-related docstrings and remove another
        obsolete method

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.