示例#1
0
 def setUp(self):
     self._requests_original = utils.requests
     self.controller = my_controller
     self.request = req.MyCityRequestDataModel()
     key = intent_constants.CURRENT_ADDRESS_KEY
     self.request._session_attributes[key] = "333 Washington St"
     self.request.intent_name = self.intent_to_test
示例#2
0
 def setUp(self):
     self.controller = my_controller
     self.request = my_req.MyCityRequestDataModel()
     self.test_address = "333 Washington St."
示例#3
0
 def setUp(self):
     self.controller = my_controller
     self.request = req.MyCityRequestDataModel()
     key = intent_constants.CURRENT_ADDRESS_KEY
     self.request._session_attributes[key] = "1000 Dorchester Ave"
     self.request.intent_name = self.intent_to_test
示例#4
0
 def setUp(self):
     self.controller = my_controller
     self.request = my_req.MyCityRequestDataModel()