From 005923ee72bb2df5923a6f172d7202a5f4a3f7c0 Mon Sep 17 00:00:00 2001 From: BattleJenkins Date: Fri, 7 Apr 2017 14:22:16 -0700 Subject: [PATCH] Stop the turn handler script at the end of tests Put in a line of code to stop the turn handler script when the tests are completed, as I think the script lingering and attempting to iterate causes problems with the Travis build. --- evennia/contrib/tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/evennia/contrib/tests.py b/evennia/contrib/tests.py index 0c77a2bcae..5ab925d8d9 100644 --- a/evennia/contrib/tests.py +++ b/evennia/contrib/tests.py @@ -845,3 +845,5 @@ class TestTurnBattleFunc(EvenniaTest): turnhandler.join_fight(joiner) self.assertTrue(turnhandler.db.turn == 1) self.assertTrue(turnhandler.db.fighters == [joiner, attacker, defender]) + # Remove the script at the end + turnhandler.stop()