From: Daniel Henrique Barboza <address@hidden>
v2:
- added 'tests' dir to make check-local target
- fixed pep8 issues in test files
- updated gitignore to ignore run_tests.sh
This patchset includes unit testing for the user management
backend and a fix for github #16.
Daniel Henrique Barboza (2):
Unit tests for user management
User model changes
.gitignore | 1 +
Makefile.am | 3 +-
configure.ac | 6 ++
i18n.py | 1 -
models/users.py | 203 ++++++++++++++++++++++++++++++++---------------
tests/Makefile.am | 35 ++++++++
tests/run_tests.sh.in | 45 +++++++++++
tests/test_libuser.py | 101 +++++++++++++++++++++++
tests/test_user_model.py | 80 +++++++++++++++++++
9 files changed, 409 insertions(+), 66 deletions(-)
create mode 100644 tests/Makefile.am
create mode 100644 tests/run_tests.sh.in
create mode 100644 tests/test_libuser.py
create mode 100644 tests/test_user_model.py