Samir Shah
3f67ce9b76
Apply isort fixes on the whole project.
6 years ago
dfirst
3c5f402c3d
Fix flake8 warnings introduced in flake8 3.6.0
7 years ago
Samir Shah
a7edc8ba2f
Drop mock in favour of unittest.mock
7 years ago
Michael van Tellingen
0ebe344a27
Merge tests.integration with tests.unit
The idea of splitting integration from unittests is good in theory
but leads to a lot of mental overhead. Besides whenever a tests
interacts with a database it isn't a unittest anyway.
9 years ago
Michael van Tellingen
28ea962ab6
Rename all tests files from *_tests.py to test_*.py
Better to use filenames which are commonly used in the python word then
custom ones.
9 years ago
Michael van Tellingen
5c4591fa75
Update tests to stop using nose specific functions
This also removes the attr() marking of tests. This can be implemented
in pytest with marking the tests with a custom marker if required.
10 years ago
David Winterbottom
2dd5288873
Unit tests now pass for new method API
11 years ago
Xavier Ordoquy
0a1b4a60c7
assertEquals deprecated in favor of assertEqual
12 years ago
David Winterbottom
95391920dd
Support shipping methods when tax isn't known
The core API now has an is_tax_known property.
Related to #805
12 years ago
David Winterbottom
10c92f5946
Annotate shipping tests
12 years ago
David Winterbottom
986297563d
Use properties for shipping charges
Use charge_incl_tax instead of basket_charge_incl_tax(). This is
clearer.
Backwards compatible versions of the old methods are kept for now.
Related to #805
12 years ago