~dobey/ubuntu-sso-client/update-13-10

« back to all changes in this revision

Viewing changes to ubuntu_sso/main/tests/test_qt.py

Clean up timers that are sometimes slowing down all tests that follow.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
    def clean_timers(self):
43
43
        """Remove all timers."""
 
44
        for timer in qt.TIMERS:
 
45
            timer.stop()
44
46
        qt.TIMERS = set()
45
47
 
46
48
    @defer.inlineCallbacks