Work towards resolving unittests with deferreds
This commit is contained in:
parent
a342353fd6
commit
74e8c74f80
7 changed files with 43 additions and 20 deletions
|
|
@ -21,7 +21,7 @@ from evennia.commands.cmdhandler import CMD_LOGINSTART
|
|||
from evennia.utils.logger import log_trace
|
||||
from evennia.utils.utils import (variable_from_module, is_iter,
|
||||
to_str, to_unicode,
|
||||
make_iter,
|
||||
make_iter, delay,
|
||||
callables_from_module)
|
||||
from evennia.utils.inlinefuncs import parse_inlinefunc
|
||||
|
||||
|
|
@ -314,7 +314,6 @@ class ServerSessionHandler(SessionHandler):
|
|||
# this delay is necessary notably for Mudlet, which will fail on the connection screen
|
||||
# unless the MXP protocol has been negotiated. Unfortunately this may be too short for some
|
||||
# networks, the symptom is that < and > are not parsed by mudlet on first connection.
|
||||
from evennia.utils.utils import delay
|
||||
delay(0.3, self.data_in, sess, text=[[CMD_LOGINSTART], {}])
|
||||
# self.data_in(sess, text=[[CMD_LOGINSTART], {}])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue