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