mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-28 11:35:44 +08:00
fixes for unit tests, back to 50/51 passing.
This commit is contained in:
@@ -570,6 +570,12 @@ def CANCEL_FRAME(date):
|
||||
|
||||
return BT_UPDATE_FRAME('CANCEL', result)
|
||||
|
||||
def DONE_FRAME(msg):
|
||||
assert isinstance(msg, basestring), \
|
||||
"Done message must be a string."
|
||||
|
||||
return BT_UPDATE_FRAME('DONE', msg)
|
||||
|
||||
|
||||
def BT_UPDATE_FRAME(prefix, payload):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user