Example #1
0
 def test_read_data(self):
     sl = ServiceTaiga()
     data = {'trigger_id': self.ta.trigger_id}
     sl.read_data(**data)
Example #2
0
 def test_save_data(self, mock1):
     se = ServiceTaiga()
     se.save_data(self.ta.trigger_id, **self.data)
     mock1.assert_called_once()