1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-12-22 12:50:18 +01:00

181 Commits

Author SHA1 Message Date
kakwa
f824790849 another exception 2019-02-09 19:42:48 +01:00
kakwa
7390c931b9 another exception 2019-02-09 19:37:52 +01:00
kakwa
4a8aa1c655 another exception 2019-02-09 19:32:50 +01:00
kakwa
e50df5dde3 wider exception for <input> attribute "type" has invalid value 2019-02-09 19:26:31 +01:00
kakwa
fba2d32b44 another exception for todylib 2019-02-09 19:21:41 +01:00
kakwa
7a8468f8b1 adding another ignore 2019-02-09 19:15:31 +01:00
kakwa
9d0d321e9b another ignore for tidylib 2019-02-09 19:09:32 +01:00
kakwa
c5536bdc56 adding a fffew other exception in tidylib 2019-02-09 19:04:40 +01:00
kakwa
abfce4803a fix typo 2019-02-09 18:57:50 +01:00
kakwa
046afbbe29 html_tidy cleanup 2019-02-09 18:54:35 +01:00
kakwa
98fca30fba ignoring another nav error 2019-02-09 18:44:51 +01:00
kakwa
f13961790f adding exception for <nav> tags in html validation 2019-02-09 18:40:48 +01:00
kakwa
a56c491ee1 cleanup in html template + tidylib
* few small cleanup in html template (avoid empty tbody, put id between
quotes)
* switch to tidylib to validate the html instead of the previous hack
calling an external service (https://html5.validator.nu/)
* remove the previous validator script
* add exception for tidylib on empty <span> (these are required by
bootstrap)
2019-02-09 18:31:37 +01:00
kakwa
263e6be547 fix html validator test for python 3 2019-02-09 17:40:43 +01:00
kakwa
05aace0e9d force the groups in flatten roles to be sorted
* sorting the groups helps debuggability and also permits testing
that doesn't rely on python ordering (which is different between 2 and
3).
2019-02-09 17:36:01 +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
79983c078f fix behavior of get_attributes()
* make sure it returns an ordered list in both python 2 and python 3
2019-02-09 16:22:42 +01:00
kakwa
979d4eeda8 disable ppolicy in samba test deployment 2019-02-09 15:42:48 +01:00
kakwa
d25ceef2d3 trying to fix samba/AD setup 2019-02-07 23:46:10 +01:00
kakwa
7430af5ffc adding another samba package in test env 2019-02-07 22:44:51 +01:00
kakwa
bc0f3aceb5 adding another dependency for the samba/ad test 2019-02-07 22:42:30 +01:00
kakwa
fc98b1bd70 fixing the test env deploy script + small fix in unit tests 2019-02-07 22:34:47 +01:00
kakwa
13bfbdcbbc add requirements files for simulating RHEL 7 and Debian 9 2019-02-07 22:07:28 +01:00
kakwa
2a2864a306 porting the tests over to python3 2019-02-07 20:55:50 +01:00
kakwa
86fb6c1dd2 adding an update as the first step of the deploy script 2019-02-07 20:44:19 +01:00
kakwa
be598b0129 slightly cleaner testenv deploy script 2019-02-06 23:55:03 +01:00
kakwa
4bd6314b3b remove useless tests 2017-06-12 19:50:42 +02:00
kakwa
55ce2bec5e small cleaning 2017-03-16 02:40:23 +01:00
kakwa
e02a1a7f28 adding posixGroups in test ldap 2017-03-16 02:39:41 +01:00
kakwa
d7303da85f fix test configuration 2017-01-24 03:06:48 +01:00
kakwa
44024dbd02 trying to add test on AD/DC for travis 2017-01-24 02:52:16 +01:00
kakwa
7f00264e32 improve robustness if user dn attribute contains something like ,cn= 2016-07-31 12:21:26 +02:00
kakwa
d4235bc33c better behavior if user doesn't exist in one backend 2016-07-31 11:39:28 +02:00
kakwa
f21122b219 fix AD test configuration 2016-07-31 11:32:02 +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
cf97f01245 adding configuration for AD + LDAP setup 2016-07-31 10:05:29 +02:00
kakwa
dcdc260f33 disable unit tests for AD on travis
Setting up a test env with samba 4 as AD doesn't seem possible on
travis. there is no other choice than disabling the AD unit tests
if we are on travis
2016-07-29 07:37:25 +02:00
kakwa
2e98e380df adding slow_disabled decorator on html check unit tests 2016-07-29 07:36:32 +02:00
kakwa
52557afa6a adding a decorator to disable slow tests
if env var LCNOSLOW=yes, the slowest tests are disable
2016-07-29 07:34:58 +02:00
kakwa
f967630043 adding unitests for backend AD 2016-07-28 21:07:40 +02:00
kakwa
64e0bba74c trying again... 2016-07-28 19:53:57 +02:00
kakwa
ff950dd88b more unicode testing 2016-07-28 19:53:32 +02:00
kakwa
9367bc3288 fix unit tests 2016-07-28 07:32:12 +02:00
kakwa
d1ec945fe2 adding possible missing winbind 2016-07-28 06:44:02 +02:00
kakwa
0f28309344 trying something else... 2016-07-28 06:34:48 +02:00
kakwa
0263d52edf killing dnsmasq 2016-07-27 21:42:15 +02:00
kakwa
127b106082 trying again to have a test env... 2016-07-27 21:13:56 +02:00
kakwa
6fd849fa50 trying again to have a test env... 2016-07-27 21:13:18 +02:00
kakwa
ca974ab801 trying to stop dnsmasq (to use samba internal) 2016-07-27 21:10:02 +02:00
kakwa
9b3d232503 trying to set hostname to kerberos realm 2016-07-27 21:06:31 +02:00