First make of a testing method for oob

This commit is contained in:
Griatch 2014-06-15 23:17:27 +02:00
parent e6c1ab3df8
commit a9cf081494

View file

@ -311,3 +311,6 @@ def unreport(oobhandler, session, vartype="prop", *args, **kwargs):
else: # assume attribute
oobhandler.untrack_attribute(obj, session.sessid, key)
def echo(oobhandler, session, *args, **kwargs):
"Test function, returning the args, kwargs"
session.msg(oob=("send", args, kwargs))