Samir Shah
808ca569c3
Do not attempt to parse a phone number for a country when no country is set.
Fixes #2277 .
8 лет назад
Samir Shah
8f7c603d25
Add tests for OSCAR_REQUIRED_ADDRESS_FIELDS setting.
9 лет назад
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 лет назад
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
aafcc8a901
flake8
9 лет назад
Maik Hoepfel
4ed706fc45
Add tests for ShippingAddressForm
Issue #1503 was rather embarrassing and highlighted it's about time we
have tests for the form. This vets the logic in the PhoneNumberMixin as
well.
11 лет назад