David Winterbottom
|
779f4c4739
|
Use '' as default instead of None in payment methods
Write a few more tests at the same time.
|
před 12 roky |
David Winterbottom
|
c9a734a8c9
|
Adjust bankcard model to provide an obfuscated number property
Useful in templates where the bankcard form is rendered. Eg:
{{ bankcard_form.bankcard.obfuscated_number }}
|
před 12 roky |
David Winterbottom
|
441f9ffc1b
|
Update bankcard model
|
před 12 roky |
David Winterbottom
|
5009eaad6a
|
Update Bankcard form
|
před 12 roky |
David Winterbottom
|
65e6effd73
|
Update payment forms (and tests)
Fields now more self-contained, the bankcard form is much simpler.
|
před 12 roky |
David Winterbottom
|
c66a2e0161
|
Update the bankcard type sniffing function
|
před 12 roky |
David Winterbottom
|
b17b9b75df
|
Move assert function to module level for generator tests
This is required for multiprocess testing to work (eg ./runtests.py
--processes=2)
|
před 12 roky |
David Winterbottom
|
f9799d5029
|
Reorganise payment tests
|
před 12 roky |