Attempt to fix TickerHandler error in unit tests
This commit is contained in:
parent
eb95416ee8
commit
785522fb3c
1 changed files with 2 additions and 0 deletions
|
|
@ -1337,6 +1337,8 @@ class TestTurnBattleFunc(EvenniaTest):
|
||||||
user.db.conditions = {"Poisoned":[5, user]}
|
user.db.conditions = {"Poisoned":[5, user]}
|
||||||
tb_items.itemfunc_cure_condition(test_healpotion, user, user)
|
tb_items.itemfunc_cure_condition(test_healpotion, user, user)
|
||||||
self.assertTrue(user.db.conditions == {})
|
self.assertTrue(user.db.conditions == {})
|
||||||
|
# Delete the test character to prevent ticker handler problems
|
||||||
|
user.delete()
|
||||||
|
|
||||||
# Test tree select
|
# Test tree select
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue