def METHOD_NAME(self):
    order = create_order(user=self.user)
    OrderDiscountFactory(order=order, offer_id=self.offer.id, frequency=1)
    self.assertEqual(0, self.offer.get_max_applications(self.user))