Some minor fixes to debug output.
This commit is contained in:
parent
88075bf2a0
commit
68e4384761
2 changed files with 1 additions and 2 deletions
|
|
@ -218,6 +218,5 @@ class TestBatchProcess(CommandTest):
|
||||||
CID = 8
|
CID = 8
|
||||||
def test_cmds(self):
|
def test_cmds(self):
|
||||||
# cannot test batchcode here, it must run inside the server process
|
# cannot test batchcode here, it must run inside the server process
|
||||||
self.player.ndb.is_superuser = True
|
|
||||||
self.call(batchprocess.CmdBatchCommands(), "examples.batch_cmds", "Running Batchcommand processor Automatic mode for examples.batch_cmds")
|
self.call(batchprocess.CmdBatchCommands(), "examples.batch_cmds", "Running Batchcommand processor Automatic mode for examples.batch_cmds")
|
||||||
#self.call(batchprocess.CmdBatchCode(), "examples.batch_code", "")
|
#self.call(batchprocess.CmdBatchCode(), "examples.batch_code", "")
|
||||||
|
|
|
||||||
|
|
@ -445,7 +445,7 @@ def server_services():
|
||||||
if hasattr(SESSIONS, "server") and hasattr(SESSIONS.server, "services"):
|
if hasattr(SESSIONS, "server") and hasattr(SESSIONS.server, "services"):
|
||||||
server = SESSIONS.server.services.namedServices
|
server = SESSIONS.server.services.namedServices
|
||||||
else:
|
else:
|
||||||
print "This function must be called from inside the evennia process."
|
# This function must be called from inside the evennia process.
|
||||||
server = {}
|
server = {}
|
||||||
del SESSIONS
|
del SESSIONS
|
||||||
return server
|
return server
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue