Commits

Tay Ray Chuan committed 85cd327

shop.tests: mark test for product.utils.find_auto_discounts as fixed

  • Participants
  • Parent commits d71be6b

Comments (0)

Files changed (1)

satchmo/apps/satchmo_store/shop/tests.py

         products = [i.product for i in self.order.orderitem_set.all()]
         discounts = find_auto_discounts(products)
 
-        # FIXME
-        self.assertNotEqual(
+        self.assertEqual(
             set([d.code for d in discounts]),
             set(['test20-auto', 'test20-auto-all']))
-        self.assertNotEqual(
+        self.assertEqual(
             [d.percentage for d in discounts],
             [Decimal('20.0'), Decimal('20.0')])