예제 #1
0
 def test_parse_info_true(self):
     domain = Domain()
     result = domain.parse(content, True)
     parse_true_response = json.loads(content)
     self.assertEquals(result, parse_true_response)
예제 #2
0
 def test_parse_info_false(self):
     domain = Domain()
     result = domain.parse(content, False)
     self.assertEquals(result, parse_false_response)