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
kakwa
1ccb4bf732
test killing samba processes before ad-dc start
2016-07-22 21:38:40 +02:00
kakwa
d484ee1ed0
more debugging
2016-07-22 21:31:58 +02:00
kakwa
bb05934284
more debuging for ad-dc setup
2016-07-22 21:19:38 +02:00
kakwa
6ef44b9b2e
try to enable samba ad in test env
2016-07-10 09:53:09 +02:00
kakwa
0beac119f9
fix many error with html unescaped attributes
2016-07-08 21:46:00 +02:00
kakwa
91a1f3e7e3
debuging travis test env
2016-07-08 07:19:34 +02:00
kakwa
6c3fb4975d
fix many encoding errors on login and password
2016-07-07 20:22:33 +02:00
kakwa
cf91e69eba
fix restart of samba in test env
2016-06-17 08:09:44 +02:00
kakwa
5f1074bb26
fixing samba DC deployment for newer version of samba
2016-06-17 08:03:10 +02:00
kakwa
90d92009e3
more cleanup in test_env deploy.sh
2016-06-17 07:58:53 +02:00
kakwa
569aaac5a6
fix unittest because of new mandatory param for Active Directory
2016-06-17 07:52:49 +02:00
kakwa
ffac99994c
Merge branch 'master' of https://github.com/kakwa/ldapcherry
2016-06-17 07:47:07 +02:00
kakwa
ab81f4258e
fix test configurations to take into account mandatory params for Active Directory
2016-06-17 07:46:19 +02:00
kakwa
f7bbff4cec
trying to cleanup travis build env
2016-06-17 00:15:14 +02:00