Exemplo n.º 1
0
 def test_request(self):
     request_json = {
         "command": "где поесть",
         "original_utterance": "Алиса где поесть",
         "type": "SimpleUtterance",
         "markup": {
             "dangerous_context": True
         },
         "payload": {}
     }
     request = types.Request(**request_json)
     self._test_request(request, request_json)
Exemplo n.º 2
0
 def test_request(self):
     request = types.Request(**REQUEST)
     self._test_request(request, REQUEST)
     request_dang = types.Request(**REQUEST_DANGEROUS)
     self._test_request(request_dang, REQUEST_DANGEROUS)