Commit graph

11 commits

Author SHA1 Message Date
1cfd4327da Add tests for managemails.models
This commit adds tests for managemails.models to improve the test
coverage of that model. There are some changes to the classes in
managemails.models too:

- add a method create_mailbox to MailboxManager
- properly handle uncommited mailaddresses in MailAddress.set_mailbox
  and MailAddress.set_forward_addresses
2015-11-28 14:07:34 +00:00
03a7dc0320 Add test for managemails.forms
This commit adds tests for managemails.forms. A refactoring TODO is
added to MailAddressFieldMixin and pragma: no cover has been added to
code paths not reachable if no new constants are added to the
MAILBOX_OR_FORWARDS constant array.
2015-11-22 18:41:45 +00:00
e913b1f771 fix tests 2015-02-01 20:12:23 +01:00
d4f68a155c fix some test issues 2015-01-22 00:19:16 +01:00
b9d39f31a4 rename test class names from Test* to *Test 2014-06-01 22:41:42 +02:00
32de6257d3 add test for managemails.models.Mailbox.__str__ 2014-06-01 18:29:41 +02:00
3407a5ed24 add tests for managemails.admin 2014-06-01 18:25:30 +02:00
ecaff6a4af move existing MailDomains to domains table 2014-05-25 15:17:08 +02:00
5db6223bc0 introduce new app domains
- generate domains app
- duplicate managemails.models.MailDomain as domains.models.MailDomain
- add domains app to gnuviechadmin.settings.base.LOCAL_APPS
- repair managemails.tests.test_models
- fix handling of empty results in osusers.models.GroupManager.get_next_gid and
  osusers.models.UserManager.get_next_uid
2014-05-25 14:53:58 +02:00
b044fe2dd9 add model tests 2014-05-24 13:56:45 +02:00
123eedaeb1 add generated managemails app 2014-05-18 20:02:39 +02:00