Changes to become PEP8 compliant.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Move tests.py into test module.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Rename model_test to model_tests and add in test fixtures.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Documentation adjustments.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Remove salt length magic number.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Add model test data fixture.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Merge branch 'feature/use-test-fixtures' into develop
Add argument length test for madmin_chpasswd.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Remove incorrectly named file model_test.py.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Make str of MailUser to be email address.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Bugfix: email validation allowed empty user and domain parts in chpasswd command.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Add bad mailuser, password, and domain tests to chpasswd command.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Implement a set password command.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Use django email validation.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Removed incorrectly named module.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Bugfix: usernames, domains, and aliases are not case sensitive.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Add get_from_email class method to MailUser.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Use get_from_email class method of MailUser in management commands.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Implement addmbox command.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>
Command stdout logs more human readable.

Signed-off-by: Lewis Gunsch <lewisgunsch@streamon.fm>