Patch out tickerhandler to avoid reactor testing issues

This commit is contained in:
Griatch 2018-06-12 23:50:50 +02:00
parent e23ca1abf0
commit c211a5414f

View file

@ -1325,6 +1325,7 @@ class TestTurnBattleRangeFunc(EvenniaTest):
class TestTurnBattleItemsFunc(EvenniaTest):
@patch("evennia.contrib.turnbattle.tb_items.tickerhandler", new=MagicMock())
def setUp(self):
super(TestTurnBattleItemsFunc, self).setUp()
self.testroom = create_object(DefaultRoom, key="Test Room")