1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-11-25 02:34:31 +01:00
Commit Graph

29 Commits

Author SHA1 Message Date
kakwa
263e6be547 fix html validator test for python 3 2019-02-09 17:40:43 +01:00
kakwa
baa3430e63 fix test and exception handling in code
With python 2 it was possible to do exception[0][...] to recover
details about an exception.
It's no longer authorized with python 3.
Now, we must do something like exception.args or exception.urls.
fortunately this syntax also works with python 2.
So we use it for both.
2019-02-09 17:12:39 +01:00
kakwa
2a2864a306 porting the tests over to python3 2019-02-07 20:55:50 +01:00
kakwa
d4235bc33c better behavior if user doesn't exist in one backend 2016-07-31 11:39:28 +02:00
kakwa
01aaf476c1 code multi-backends setups tests + new unit test
* add a ldap+ad setup and code for direct, only AD manipulation
* add unit test for _deleteuser if it doesn't exist in all backends
2016-07-31 10:10:51 +02:00
kakwa
2e98e380df adding slow_disabled decorator on html check unit tests 2016-07-29 07:36:32 +02:00
kakwa
9367bc3288 fix unit tests 2016-07-28 07:32:12 +02:00
kakwa
0beac119f9 fix many error with html unescaped attributes 2016-07-08 21:46:00 +02:00
kakwa
6c3fb4975d fix many encoding errors on login and password 2016-07-07 20:22:33 +02:00
kakwa
9c1dc8112a add unit test for login failure 2015-10-20 22:42:29 +02:00
kakwa
807ac93956 better unit tests on authentication 2015-10-20 20:22:38 +02:00
kakwa
53676db341 small code reorganization
* extraction of exception decorator
* extraction of log handling
2015-10-19 20:14:49 +02:00
kakwa
2a4815e142 fix unit tests 2015-07-26 09:26:04 +02:00
kakwa
1a37cb23a9 adding unit test on selfmodify 2015-07-05 23:09:13 +02:00
kakwa
df88f2f266 remove trailing spaces 2015-07-05 22:48:24 +02:00
kakwa
98cbeb9af5 remove empty line 2015-07-05 22:46:18 +02:00
kakwa
b8f37aa545 adding unit test for _parse_params 2015-07-05 22:35:45 +02:00
kakwa
405367fd75 various fixes in html + unit tests on html 2015-07-05 17:50:42 +02:00
kakwa
5d7f6ee12c adding html validation in ubit tests 2015-07-05 16:35:32 +02:00
kakwa
4a55d040f9 adding unit test for ppolicy 2015-07-03 20:26:02 +02:00
kakwa
2d953030d5 adding various unit tests 2015-06-28 23:34:26 +02:00
kakwa
8387aa0cad adding test on login 2015-05-28 09:46:11 +02:00
kakwa
e769aed10e adding unit tests for exception while loading module 2015-05-20 14:46:29 +02:00
kakwa
6a610c079e multiple modifications:
* adding logs in conf loading
* fixing attributes/roles handling in class LdapCherry
* fix unit test on logs
* add unit test for random exception
2015-05-20 12:44:33 +02:00
kakwa
b653f5512c adding unit test for missing backend 2015-05-19 18:36:16 +02:00
kakwa
2c4ce35b52 adding unit tests for missing parameters in main conf file 2015-05-19 18:30:58 +02:00
kakwa
bb56bdea6f adding unit tests 2015-05-19 18:18:59 +02:00
kakwa
bfd1969ab3 fix log_level + unit tests
* python logging doesn't support the 7 log levels of syslog, compensate it
* adding unit test on log level
2015-05-18 23:59:54 +02:00
kakwa
d6bb5c38ed begin implementation of the main application 2015-05-18 19:56:44 +02:00