summaryrefslogtreecommitdiff
path: root/tests/test_12_s_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests to be compatible with latest pytestIvan Kanakarakis2019-07-081-3/+2
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Added functionality needed by the saml2test tool.Roland Hedberg2016-04-161-13/+29
|
* Allow text representation of samlp.Status without XML declaration in test.Oleg Girko2015-11-051-1/+1
| | | | | | | | | The xml.etree.ElementTree.tostring() method returns text without XML declaration in Python 3. This change amends test in test_12_s_utils to expect the result with or without XML declaration. Signed-off-by: Oleg Girko <ol@infoserver.lv>
* Header or no header that is the question ?Roland Hedberg2015-11-021-1/+1
|
* Make tests work with the latest updates.Roland Hedberg2015-11-021-3/+4
|
* Ommit StatusMessage from Error response if emptytpazderka2015-10-231-1/+20
| | | | | Although the resulting XML is valid, it fails validation by java-opensaml2
* Correct python3-incompatible assumptionsClint Byrum2015-05-281-6/+19
| | | | | The s_utils tests reveal some incompatibilities with python2-specific behaviors being assumed.
* Fix python3 syntax errorsClint Byrum2015-05-151-11/+11
| | | | | Retains python2.7 compatibility for all files. Fixes only syntax errors, tests still fail on python3 for various reasons.
* Fixed a couple of testsRoland Hedberg2014-10-201-6/+7
|
* Fixed test_12_s_utilstpazderka2014-09-111-10/+10
| | | | String created as a single string without EOL
* As Rainer Hörbe pointed out: "A principal is a user, not an entity in SAML. ↵Roland Hedberg2014-08-141-199/+242
| | | | | | The UnknownPrincipal exception in mdstore.py should be renamed as suggested in the title to avoid confusion. Unfortunately the OASIS SAML glossary is using the X-811 definition of principal, but contradicts itself otherwise by redefining the term implicitly in other definitions such as Account, Affiliation, IDP, Persistent Pseudonym, etc"
* Fixed handling of signed and then encrypted response assertions. At the ↵Roland Hedberg2014-04-141-1/+1
| | | | same time added support for dealing with any combination of encrypted/non-encrypted assertions.
* Allow running the tests from the pysaml2 root directory.Lorenzo Gil Sanchez2013-04-021-5/+7
| | | | | | | | This improves previous work for running the tests via the command "python setup.py test" from a fresh clone. This can be very useful to integrate pysaml2 in a continuous integration system such as Jenkins or Travis.
* Initial add0.4.2Roland Hedberg2012-05-231-0/+453