~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_progress.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-02-06 16:38:04 UTC
  • mfrom: (3207.1.2 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080206163804-6zyjbbfpsm8txfdm
(Lukas) give a better error when using version-info --custom without
        --template

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
 
32
32
class FakeStack:
33
 
 
34
33
    def __init__(self, top):
35
34
        self.__top = top
36
35
 
53
52
 
54
53
 
55
54
class TestProgress(TestCase):
56
 
 
57
55
    def setUp(self):
58
56
        q = DummyProgress()
59
57
        self.top = ChildProgress(_stack=FakeStack(q))