freeipa/ipatests/test_ipapython
Florence Blanc-Renaud bc7eb99a29 Fix session cookies
The CLI was not using session cookies for communication with IPA API.
The kernel_keyring code was expecting the keyname to be a string, but
in python 2 a unicode was supplied (the key is built using
ipa_session_cookie:%principal and principal is a unicode).

The patch fixes the assertions, allowing to store and retrieve the cookie.
It also adds a test with unicode key name.

https://fedorahosted.org/freeipa/ticket/5984

Reviewed-By: Petr Spacek <pspacek@redhat.com>
2016-07-22 16:30:32 +02:00
..
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
test_cookie.py cookie parser: do not fail on cookie with empty value 2016-03-01 14:16:08 +01:00
test_dn.py Remove wildcard imports 2015-12-23 07:59:22 +01:00
test_ipap11helper.py ipapython: port p11helper C code to Python 2016-01-21 10:21:32 +01:00
test_ipautil.py Pylint: enable reimported check 2016-03-22 10:20:51 +01:00
test_ipavalidate.py Applied tier0 and tier1 marks on unit tests and xmlrpc tests 2015-11-09 11:49:17 +01:00
test_kerberos.py Test suite for ipapython/kerberos.py 2016-07-01 09:37:25 +02:00
test_keyring.py Fix session cookies 2016-07-22 16:30:32 +02:00
test_secrets.py ipapython.secrets: Port to Python 3 2015-10-27 17:23:25 +01:00
test_ssh.py Remove unused imports 2015-12-23 07:59:22 +01:00