# HG changeset patch # User Stefano Rivera # Date 1359223589 -7200 # Node ID f46c3197e8870cdc092e57e806c4b07ddbf9c503 # Parent fb8c146017a988311cfd1d362b4392730965413e Clear the event queue regularly in GameLogicTestCase diff -r fb8c146017a9 -r f46c3197e887 pyntnclick/tests/game_logic_utils.py --- a/pyntnclick/tests/game_logic_utils.py Sat Jan 26 20:01:39 2013 +0200 +++ b/pyntnclick/tests/game_logic_utils.py Sat Jan 26 20:06:29 2013 +0200 @@ -75,6 +75,7 @@ self.assertEquals(scene, self.state.current_scene.name) def handle_result(self, result): + self.clear_event_queue() if result is None: return None if hasattr(result, 'process'):