3d18392b67
Fix tests for Python 3
...
- drop Python 2 __future__ imports
- fix tests to handle new Django and Python 3 module names
- reformat changed files with black
2019-01-30 21:27:25 +01:00
4f39c0d2c4
Add tests for osusers.admin
...
This commit raises the test coverage for osusers.admin to 100% by adding
tests for UserAdmin, GroupAdmin, SshPublicKeyCreationForm and
SshPublicKeyAdmin. The commit adds a refactoring TODO to
SshPublicKeyAdmin.perform_delete_selected because the asynchronous
background task should be launched from a signal handler.
2015-12-05 22:23:25 +00:00
79b460c4a6
repair osusers.tests.test_admin
...
- fix test code
- fix error in set_ldap_user_password stub
2015-02-01 00:08:04 +01:00
d4f68a155c
fix some test issues
2015-01-22 00:19:16 +01:00
fa5f296c0f
add test for UserCreationForm.save_m2m
2014-06-01 23:10:26 +02:00
0a48619f3c
implement osusers.tests.test_admin.DeleteTaskResultAdminTest
2014-06-01 23:05:58 +02:00
6b36cc95ff
really test that update_taskstatus is called
2014-06-01 23:05:28 +02:00
266794d447
add osusers.tests.test_admin.GroupAdminTest
2014-06-01 22:53:38 +02:00
338b575983
add type check
2014-06-01 22:53:29 +02:00
09f72fc091
add osusers.tests.test_admin.UserAdminTest
2014-06-01 22:37:43 +02:00
3db6b99a00
add osuser.tests.test_admin.UserCreationFormTest
2014-06-01 22:20:28 +02:00
773dbea0fe
implement osusers.tests.test_admin.TaskResultInlineTest
2014-06-01 22:01:04 +02:00