Fix test to avoid problems on slow computers.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
This commit is contained in:
parent
c406547057
commit
6849ba0864
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ class TimerEventTest(UsesQApplication):
|
||||||
|
|
||||||
self.widget.killTimer(timer_id)
|
self.widget.killTimer(timer_id)
|
||||||
|
|
||||||
self.assertEqual(self.widget.runs, 5)
|
self.assert_(self.widget.runs >= self.widget.max_runs)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue