Пример #1
0
 def test_read_data(self):
     sl = ServiceSlack()
     data = {'trigger_id': self.sl.trigger_id}
     sl.read_data(**data)
Пример #2
0
 def test_read_data(self):
     sl = ServiceSlack()
     data = {'trigger_id': self.sl.trigger_id}
     sl.read_data(**data)
Пример #3
0
 def test_save_data(self, mock1):
     sl = ServiceSlack()
     sl.save_data(self.sl.trigger_id, **self.data)
     mock1.assert_called_once()
Пример #4
0
 def test_save_data(self, mock1):
     sl = ServiceSlack()
     sl.save_data(self.sl.trigger_id, **self.data)
     mock1.assert_called_once()