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 година
Michael van Tellingen
c6db096e80
UnitTest.assertEqual instead of .assertEquals()
Latter one is deprecated
пре 9 година
Alexander Gaevsky
afc6d6b814
Make sure wish list does not contain given product before moving to it.
пре 9 година
Maik Hoepfel
a828dc2f6b
Correctly handle multiple wishlists
Previously, the 'key' kwarg was not respected and all products would get
added to the first wishlist.
Thanks to @DanielChu for reporting, and supplying a fix.
Fixes #1216
пре 12 година
Maik Hoepfel
e413f858f6
Switch to Oscar's get_model function
This should always be used instead of Django's silent version.
пре 12 година
Xavier Ordoquy
0a1b4a60c7
assertEquals deprecated in favor of assertEqual
пре 12 година
David Winterbottom
7b819ab052
Ensure removing an item using POST
пре 12 година
David Winterbottom
e2b84d4245
Add unit tests for wishlist model
пре 12 година
Maik Hoepfel
422c0e4cd1
Add tests for wishlists
пре 12 година