Maik Hoepfel
d06fc31725
Add is_discounted field on ShippingMethod
shipping/models:ShippingMethod was missing the is_discounted attribute that
exists in the de-facto superclass in shipping/base:ShippingMethod.
Also added a few comments to clarify how they relate to each other, and
tests to check if is_discounted is present on various instances of
ShippingMethods.
13 yıl önce
David Winterbottom
0dc6816a93
Extract functionality from oscar.test into separate package
Fixes #376
13 yıl önce
Paweł Kowalski
1ae2e46455
Test for basket weight with line quantities
13 yıl önce
David Winterbottom
feb8c9a327
Moved tests into separate package.
Also split them into unit and functional tests.
13 yıl önce
David Winterbottom
52fd1a1200
Fixed tests for scales
13 yıl önce
David Winterbottom
da3099380d
Added tests for weight-based shipping method
14 yıl önce
David Winterbottom
e82e09718b
Added a core shipping method type.
This is used by the weight-based shipping method but can be used by
others too.
14 yıl önce
David Winterbottom
1db4fd5d77
Renamed the shipping methods to be more consistent
14 yıl önce
David Winterbottom
addaa0d9be
Updated repository and added tests
14 yıl önce
David Winterbottom
a1a4ccc1ca
Added tests for the weight-based shipping calculator
14 yıl önce
David Winterbottom
d47a604ff4
Added scales for weighing products and baskets
14 yıl önce
David Winterbottom
8a9c548ec5
Weight-based shipping bands now support different method codes
14 yıl önce
David Winterbottom
6b7636116a
Made first steps with weight-based shipping method
14 yıl önce
David Winterbottom
8e28da10ea
Tidy-up of shipping code plus a few more tests
14 yıl önce
David Winterbottom
496a145bc5
Added dataProvider decorator
14 yıl önce
David Winterbottom
887d605757
Refactored folder structure to use an 'apps' folder
15 yıl önce
David Winterbottom
e3fa1d77ee
Refactored test_helpers into test.helpers package
15 yıl önce
David Winterbottom
ba1760f438
Renamed oscar.utils / added meta to voucher
15 yıl önce
David Winterbottom
d9d7f8c6bd
Added free delivery threhold to shipping model
15 yıl önce
David Winterbottom
758ea9a695
Added extra tests for shipping app.
15 yıl önce
David Winterbottom
ef8b7c6d67
Added tests for shipping methods and documentation
15 yıl önce