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