Michael van Tellingen
be8a2795c7
Rename test file to match module tested.
As in `test_model.py` -> `test_models.py`
il y a 9 ans
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.
il y a 9 ans
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.
il y a 9 ans
Michael van Tellingen
174d4dcd67
Consolidate `oscar.test.factories` imports in the test modules
il y a 10 ans
Michael van Tellingen
6fad63a4d0
Split oscar.test.newfactories in multiple modules
Create a factory module per app and move them under the new
oscar.test.factories module.
il y a 10 ans
Michael van Tellingen
8c32aaf3d9
Replace last occurences of django-dynamic-fixture with factory-boy
il y a 10 ans
Sergey Maranchuk
1e829b18d8
Ensure a Bankcard's type isn't lost after saving
Before this change, the type of a bankcard would be clobbered by saving
and reloading.
Fixes #1486 , #1487
il y a 11 ans
Maik Hoepfel
f1c1da93ff
Minor test suite fixes for Python 3 compatibility
TestCase.assertEquals (note the s at the end) has been deprecated.
The only failing tests remaining are CSV related, which is not
surprising.
il y a 12 ans
David Winterbottom
1c75ef57d8
Add failing test for payment debit method
This sets up failing test for #1128
il y a 12 ans
David Winterbottom
779f4c4739
Use '' as default instead of None in payment methods
Write a few more tests at the same time.
il y a 12 ans
David Winterbottom
441f9ffc1b
Update bankcard model
il y a 12 ans
David Winterbottom
f9799d5029
Reorganise payment tests
il y a 12 ans