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.
This commit is contained in:
BattleJenkins 2017-04-07 14:22:16 -07:00 committed by Griatch
parent 6f565be81e
commit 005923ee72

View file

@ -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()