Ejemplo n.º 1
0
 def test_parse_main_response_body(self):
     obj = ResponseObject('{}')
     obj._parse_main_response_body('business', Business, self.response)
     assert type(obj.business) is Business
Ejemplo n.º 2
0
 def test_parse_main_response_body(self):
     obj = ResponseObject('{}')
     obj._parse_main_response_body('rating', Rating, self.response)
     assert type(obj.rating) is Rating
Ejemplo n.º 3
0
 def test_parse_main_response_body(self):
     obj = ResponseObject('{}')
     obj._parse_main_response_body('business', Business, self.response)
     assert type(obj.business) is Business