예제 #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
예제 #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
예제 #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