diff --git a/Test/start.py b/Test/start.py index 1524a0af..d2522d2c 100644 --- a/Test/start.py +++ b/Test/start.py @@ -15,8 +15,8 @@ event = event.flatMap(lambda x: x.entities).map(lambda x: x.attrs['price'].value) response = event.map(lambda x : replier.UnstructuredReplyToBroker('{ "value" :' + str(20) +' }')) -response2 = event.map(lambda x: replier.SemistructuredReplyToBroker(20, '{"value" : %%TOREPLACE%% }')) -response3 = event.map(lambda x : replier.ReplyToBroker(20)) +response2 = event.map(lambda x: replier.SemistructuredReplyToBroker("20", '{"value" : %%TOREPLACE%% }')) +response3 = event.map(lambda x : replier.ReplyToBroker("20")) event.pprint() response.pprint() response2.pprint()