David Winterbottom
f9c6c052a2
Rework offer benefits to return result object
This paves the way for custom benefits to return successful applications
that don't lead to a discount.
13 years ago
David Winterbottom
e5d78436e2
Split offer tests into unit/integration folders
This might be futile.
13 years ago
David Winterbottom
0dc6816a93
Extract functionality from oscar.test into separate package
Fixes #376
13 years ago
David Winterbottom
0077257fc7
Refactor offers for clarity and profit
This is a major clean-up of offers, tidying up the implementations and
rewriting the test suite. This should also clean up some edge cases
around the use of max_affected_items.
13 years ago
David Winterbottom
d48f5c9827
Fixed bad bug with absolute discount benefits.
They weren't applying to lines properly. Fixed with test.
13 years ago