def test_signals(self, mock): EscalationQueue.objects.create(addon=self.app) assert mock.called mock.reset() EscalationQueue.objects.filter(addon=self.app).delete() assert mock.called
def test_signals(self, mock): RereviewQueue.flag(self.app, mkt.LOG.REREVIEW_PREMIUM_TYPE_UPGRADE) assert mock.called mock.reset() RereviewQueue.objects.filter(addon=self.app).delete() assert mock.called