freeipa/ipatests
Petr Viktorin 88ac1c1616 Rename caught exception for use outside the except: block.
In Python 3, the variable with the currently handled exception is unset
at the end of the except block. (This is done to break reference
cycles, since exception instances now carry tracebacks, which contain
all locals.)

Fix this in baseldap's error handler.

Use a simpler structure for the ipatests.raises utility that only uses the
exception inside the except block.

Reviewed-By: Tomas Babej <tbabej@redhat.com>
2015-10-13 14:16:32 +02:00
..
man ipatests: Setup SSSD debugging mode by default 2014-05-09 13:57:04 +03:00
pytest_plugins Use the print function 2015-09-01 11:42:01 +02:00
test_cmdline Use six.Stringio instead of StringIO.StringIO 2015-10-07 10:27:20 +02:00
test_install Server Upgrade: remove --test option 2015-03-19 12:48:41 +01:00
test_integration CI Test: add setup_kra options into install scripts 2015-10-12 17:50:22 +02:00
test_ipalib x509: Port to Python 3 2015-10-13 14:16:32 +02:00
test_ipapython Do not compare types that are not comparable in Python 3 2015-10-13 14:16:32 +02:00
test_ipaserver Use six.moves.http_client instead of httplib 2015-10-07 10:27:20 +02:00
test_pkcs10 Modernize 'except' clauses 2015-08-12 18:17:23 +02:00
test_webui Use six.moves.urllib instead of urllib/urllib2/urlparse 2015-10-07 10:27:20 +02:00
test_xmlrpc tests: Amend result assertions in realmdomains tests 2015-10-12 13:34:20 +02:00
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
data.py Use byte literals where appropriate 2015-09-17 11:08:43 +02:00
i18n.py Use the print function 2015-09-01 11:42:01 +02:00
ipa-run-tests Switch ipa-run-tests to pytest 2014-11-21 12:14:44 +01:00
ipa-test-config Use the print function 2015-09-01 11:42:01 +02:00
ipa-test-task Use the print function 2015-09-01 11:42:01 +02:00
pytest.ini ipatests: Use pytest-sourceorder 2014-12-17 15:37:56 +01:00
setup.py.in Include ipatests/test_xmlrpc/data directory into distribution. 2015-10-05 16:44:52 +02:00
test_util.py Alias "unicode" to "str" under Python 3 2015-09-17 11:08:43 +02:00
util.py Rename caught exception for use outside the except: block. 2015-10-13 14:16:32 +02:00