Martijn Jacobs
3b6bbd4b55
Added tests for the basketline formset to make sure the queryset is ordered
9 gadus atpakaļ
Juan Madurga
d4dbf20f42
Fix create_line_reference for options already enconded to utf-8
10 gadus atpakaļ
John Parton
541075fe0d
Replace assert statements with appropriate assert* method.
Replace 'assert' with 'assert*' method.
Convert tests.unit.forms.widget_tests to use TestCase class.
Convert bankcard tests to use TestCase.
Convert tests.unit.logging_tests to use TestCase.
10 gadus atpakaļ
Michael van Tellingen
797a165778
Fix basket.Line.description method for Python 3
str.decode doesn't exist in Python 3 anymore, solve it using the
smart_text function from django.utils.encoding.
This fixes #1708
10 gadus atpakaļ
Xavier Ordoquy
0a1b4a60c7
assertEquals deprecated in favor of assertEqual
12 gadus atpakaļ
David Winterbottom
fc40d0e287
Basket tests house-keeping
- Restructure into unit and integration tests.
- Add more tests for the various basket properties.
12 gadus atpakaļ