Ejemplo n.º 1
0
 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
Ejemplo n.º 2
0
 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
Ejemplo n.º 3
0
 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
Ejemplo n.º 4
0
 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