def test_order_discount_price(self):
        order = add_order(self.request)

        for order_item in order.items.all():
            if order_item.product_name == "Summer":
                self.assertEqual("%.2f" % order_item.price_net, "-8.40")
                self.assertEqual("%.2f" % order_item.product_price_net, "-8.40")
Tests the price of the discount within an order.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/discounts/tests.py/DiscountTestCase2.test_order_discount_price