History log of /sssd-io/src/tests/intg/sssd_group.py
Revision Date Author Comments Expand
4c3ddbb119c1ca0e12c49f58b914559e2510e2f1 10-Mar-2018 Fabiano Fidêncio <fidencio@redhat.com>

TESTS: Fix E711 pep8 issues on sssd_group.py E711: comparison to None should be 'if cond is not None:' The issue was found on: debian_testing, fedora22, fedora23, rhel6 and rhel7 machines. Resolves: https://pagure.io/SSSD/sssd/issue/3605 Reviewed-by: Michal Židek <mzidek@redhat.com> Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>

137e105ac8ca3476d2f74d24ae13860774937000 28-Aug-2017 Jakub Hrozek <jhrozek@redhat.com>

TESTS: Add wrappers to request a user or a group by ID Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>

bac4458c89a589055ae3daf4f72cc7dba886264a 17-Feb-2017 Lukas Slebodnik <lslebodn@redhat.com>

intg: Fix python3 issues NamedTemporaryFile use the default mode 'w+b' and we tried to write strings. It is not a problem on python2 but failed on pyhton3 Python module ctypes directly uses C functions from libraries. C functions usually expect/returns "char *" when string is expected. But python3 uses unicode for string. Decoding returned bytes ("char *") to unicode strings simplify tests in python3. Otherwise we would need to convert bytes to string in each assertion. Reviewed-by: Martin Basti <mbasti@redhat.com>

3728db53ac32da51fcaae96b132e8e56ebbaebfa 15-Feb-2017 Jakub Hrozek <jhrozek@redhat.com>

TESTS: Add a module to call nss_sss's getgr* from tests Implements a python module that allows to load the nss_sss module and call functions that act like getgr* Reviewed-by: Pavel Březina <pbrezina@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>