summaryrefslogtreecommitdiffstats
path: root/python/tests
Commit message (Collapse)AuthorAgeFilesLines
* Removed server public key in tests: it seems that it is no more used.Emmanuel Raviart2004-08-113-4/+4
|
* In Python simulator, redirect now accepts partial URLs.Emmanuel Raviart2004-08-111-0/+12
|
* In python/tests, there are now a sample IDP (sample-idp.py) and a sample SPEmmanuel Raviart2004-08-1114-69/+939
| | | | (sample-sp.py). The two applications are real servers.
* Improved Python unit tests.Emmanuel Raviart2004-08-108-204/+326
|
* Renamed LEC to LECP. It is really a proxy.Emmanuel Raviart2004-08-092-15/+13
|
* LECP now nearly works. Still a segmentation fault at the end, but Valos isEmmanuel Raviart2004-08-095-65/+92
| | | | aware of it.
* Updated Python tests. Not finished but Valos want it to debug Lasso.Emmanuel Raviart2004-08-098-515/+709
|
* new lack of error checking test case; not even the developer fault this time;Frederic Peters2004-08-091-2/+27
| | | | the program got bad data; lasso segfault.
* the point is to fix lasso not to segfault; not to fix tests to make lassoFrederic Peters2004-08-091-2/+2
| | | | happy.
* 'Class methods' Login.new() & Logout.new() should be usedValery Febvre2004-08-091-2/+2
| | | | instead of Login() & Logout() constructors
* Updated Python unit tests infrastructure, so that it can be reused forEmmanuel Raviart2004-08-098-284/+247
| | | | independant simulation applications.
* Added module http. It is derived from Expression eponym module, but it isEmmanuel Raviart2004-08-091-0/+713
| | | | | | derived from abstractweb and it is designed to be a truly independant module. It still need a lot of work, but may be one day, Expression will use it.
* Added module abstractweb.Emmanuel Raviart2004-08-091-0/+156
| | | | | | It defines abstract classes for HTTP servers, etc, that are independant of the connection type: They must be overrided for HTTP(S) connection or simulated connections.
* Added module assertions to Python Lasso simulator.Emmanuel Raviart2004-08-091-0/+126
| | | | | This module defines global functions to use for unit tests (instead of methods self.fail...) or for other applications.
* Added module builtins to Python Lasso simulator. builtins will replaceEmmanuel Raviart2004-08-091-0/+45
| | | | environs in Expression one day.
* Added LECP support in Python simulator and unit tests. I think I have foundEmmanuel Raviart2004-08-076-124/+437
| | | | | | | | | several bugs in Lasso LECP implementation. My biggest problem is that I didn't find a way for IDP to set userAuthenticated, authenticationMethod, reauthenticateOnOrAfter to lecp before (or when) building response envelope with lecp.build_authn_response_envelope_msg(). Did I overlook something?
* new tests; lasso needs some error checkingFrederic Peters2004-08-072-0/+50
|
* Added tests for forceAuthn. Light will still be green.Emmanuel Raviart2004-08-062-1/+41
|
* Added Python simulation for isPassive and corrected some simulation bugs.Emmanuel Raviart2004-08-064-33/+109
| | | | Added isPassive tests.
* New Python tests.Emmanuel Raviart2004-08-061-1/+20
|
* Added new Python test. It works, but see bug #245.Emmanuel Raviart2004-08-064-69/+93
|
* Corrected a bug in test.Emmanuel Raviart2004-08-061-1/+1
|
* Added a new test. If Nico & Valos are not quick enough, the light will be red.Emmanuel Raviart2004-08-061-2/+26
|
* Cleanly separated the new Python Lasso simulator from unit tests.Emmanuel Raviart2004-08-065-877/+645
|
* An early commit of the new Python test. It is not clean yet, but the lightEmmanuel Raviart2004-08-061-518/+902
| | | | will be green again :-)
* Python binding now raises exceptions instead of returning error codes.Emmanuel Raviart2004-08-041-59/+28
| | | | Close bug #237.
* Python test02 is now completely refactored. But bigger changes are on theEmmanuel Raviart2004-08-041-39/+94
| | | | way.
* The Python test refactoring continues and the light is still green.Emmanuel Raviart2004-08-041-43/+103
|
* The Python test reorganization continues. It detects a new login bug, so theEmmanuel Raviart2004-08-041-43/+85
| | | | light will be red again.
* In Python tests, renamed sp to spServer and idp to idpServer.Emmanuel Raviart2004-08-041-47/+47
|
* Begin to restructure Python tests.Emmanuel Raviart2004-08-041-54/+66
|
* I thought I had discover one new bug in Lasso SP logout. I was wrong... IEmmanuel Raviart2004-08-031-140/+214
| | | | | | | | | | | | | | discovered one bug and a missing feature: - first the feature request: Lasso should set logout.nameIdentifier in logout.init_request, because there is no way to retrieve the current nameIdentifier from identity_dump or session_dump - and now the bug: After the IDP soapEndpoint returns a SOAP response, the SP process_response_msg doesn't remove the assertion from session (neither does it set session.is_dirty flag). See the new test05 for details.
* Python tests now work again, but please remove the Lasso-CRITICAL below.Emmanuel Raviart2004-08-031-4/+4
| | | | | | | | | | | Generate identity and service provider context dumps ... ok Service provider initiated login ... ok Identity Provider single sign-on when identity and session already exist. ... (process:22065): Lasso-CRITICAL **: 03-08-2004 22:25:48 An assertion existed already for this providerID, it was replaced by the new one. ok Identity Provider logout. ... ok
* Bug correction in test04.Emmanuel Raviart2004-08-031-1/+1
|
* Added forgotten Lasso call in test04.Emmanuel Raviart2004-08-031-1/+1
|
* Updated Python test04.Emmanuel Raviart2004-08-031-5/+7
| | | | Tell the poor win32 user that he can't test the software
* Added a new Python regression test that shows that logout doesn't setEmmanuel Raviart2004-08-031-0/+116
| | | | session is_dirty flag.
* Added test03, which shows a bug in Lasso: When identity and session alreadyEmmanuel Raviart2004-08-021-1/+69
| | | | | | | | | | | | | | | | | exist (and must_authenticate() return False), the call to build_artifact_msg generates: (process:8083): GLib-GObject-WARNING **: invalid cast from LassoNode' to LassoSamlNameIdentifier' (process:8083): lasso-CRITICAL **: file authentication_statement.c: line 84 (lasso_authentication_statement_new): assertion LASSO_IS_SAML_NAME_IDENTIFIER(idp_identifier)' failed (process:8083): Lasso-CRITICAL **: 02-08-2004 20:33:59 Failed to build the AuthenticationStatement element of the Assertion. and then access to login.nameIdentifier fails.
* Check that Lasso is inited and shotdown only once.Emmanuel Raviart2004-08-021-1/+0
| | | | | | | | | | Lasso Python modules now calls init() at first import (I need this behaviour, because I have several "import lasso" in Expression and I don't know which one will be called first and I don't want to do something like: import lasso if not lasso.inited: lasso.init() ).
* Updated Java binding and unit test.Emmanuel Raviart2004-07-311-2/+2
|
* Python login_tests now works again, although there remains a lasso-CRITICALEmmanuel Raviart2004-07-311-0/+6
| | | | | | | | caused by idpLoginContext.get_identity() (file login_tests.py, line 120): (process:5228): lasso-CRITICAL **: file xml.c: line 64 (lasso_node_copy): assertion LASSO_IS_NODE(node)' failed ERROR
* Some update to python login_tests. Some bugs remain.Emmanuel Raviart2004-07-301-3/+7
|
* Removed last profile_context or profileContext.Emmanuel Raviart2004-07-301-18/+18
|
* Removed obsolete logout method load_from_dump.Emmanuel Raviart2004-07-261-5/+4
| | | | | | | | Upgraded some residual calls to login_new & logout_new. Updated Java binding. Java unit test works (and C too, but Python still doesn't).
* output tags when error occurs (not just success or failures)Frederic Peters2004-07-261-0/+8
|
* sync namespace with check unittest namespace (I didn't feel like they wouldFrederic Peters2004-07-251-1/+1
| | | | keep a 0d.be namespace...)
* Java unit test is again similar to Python.Emmanuel Raviart2004-07-251-0/+1
| | | | | | Corrected Java binding to pass the unit test both with Kaffe and Sun JRE. Added a small new test in Python unit test.
* add title and time for test suites (in xml output)Frederic Peters2004-07-251-0/+3
|
* basic XmlTestRunner; ./tests.py --xml; output to stdout (messed up with lassoFrederic Peters2004-07-252-7/+79
| | | | spouting messages on stdout; will be fixed on lasso side)
* s/&/and/Frederic Peters2004-07-251-1/+1
|