mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 02:36:32 +01:00
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:
parent
6f565be81e
commit
005923ee72
1 changed files with 2 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue