Пример #1
0
 def test_unignored_automatically(self, mock_record):
     issue_unignored.send(
         project=self.project,
         group=self.group,
         user=None,
         transition_type="automatic",
         sender="clear_expired_snoozes",
     )
     assert mock_record.called
Пример #2
0
 def test_unignored_manually(self, mock_record):
     issue_unignored.send(
         project=self.project,
         group=self.group,
         user=self.owner,
         transition_type="manual",
         sender=type(self.project),
     )
     assert mock_record.called