/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/test_gpg.py

Tweak test_clears_progress

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
    def test_clears_progress(self):
70
70
        content = "some content\nwith newlines\n"
71
71
        old_clear_term = ui.ui_factory.clear_term
72
 
        clear_term_called = [False] 
 
72
        clear_term_called = [] 
73
73
        def clear_term():
74
74
            old_clear_term()
75
 
            clear_term_called == [False]
76
 
            clear_term_called[0] = True
 
75
            clear_term_called.append(True)
77
76
        ui.ui_factory.clear_term = clear_term
78
77
        try:
79
78
            self.assertProduces(content)