mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3597 from 0xDEADFED5/test_fix_windows
make test_new_task_waiting_input more reliable on Windows
This commit is contained in:
commit
31d1865ec4
1 changed files with 1 additions and 1 deletions
|
|
@ -543,7 +543,7 @@ class TestCmdTasks(BaseEvenniaCommandTest):
|
|||
self.call(system.CmdTasks(), f"/cancel {self.task.get_id()}")
|
||||
self.task_handler.clock.advance(self.timedelay + 1)
|
||||
self.assertFalse(self.task.exists())
|
||||
self.task = self.task_handler.add(self.timedelay, func_test_cmd_tasks)
|
||||
self.task = self.task_handler.add(self.timedelay + 1, func_test_cmd_tasks)
|
||||
self.assertTrue(self.task.get_id(), 1)
|
||||
self.char1.msg = Mock()
|
||||
self.char1.execute_cmd("y")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue