Exemple #1
0
 def test_check_xml_reply_3(self, mock_log):
     comp = Comparator()
     self.db['check_from_sqlite'] = False
     comp.get_xml_reply(self.db, 'nofile')
     mock_log.assert_called()
Exemple #2
0
 def test_check_xml_reply_1(self, mock_log):
     comp = Comparator()
     self.db['check_from_sqlite'] = True
     comp.get_xml_reply(self.db, str(None))
     mock_log.assert_called()