summaryrefslogtreecommitdiff
path: root/tests/test_20_assertion.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix tests to be compatible with latest pytestIvan Kanakarakis2019-07-081-8/+9
| | | | Signed-off-by: Ivan Kanakarakis <ivan.kanak@gmail.com>
* Ordered way to find a local name of an attribute.Roland Hedberg2017-10-111-8/+17
|
* Modified test cases to include acs in the argsIoannis Kakavas2017-07-061-12/+12
| | | | | | | Since acs can't be None ( it get's a value in __init__() https://github.com/rohe/pysaml2/blob/master/src/saml2/assertion.py#L319) there is no reason to test for it. So we add a default value to acs using ac_factory() before passing it to filter_on_attributes
* Add failing test for filtering attributesIoannis Kakavas2017-06-121-0/+13
| | | | | | Added a test that fails when the friendlyName of the requested attribute is not the same with the name of the internal attribute (even though the OIDs and the internal representation names of the attribute are the same)
* Fix eduID attributestpazderka2016-09-081-1/+1
| | | | Per http://software.internet2.edu/eduperson/internet2-mace-dir-eduperson-201602.html
* Fixed bug due to the refactoring.rohe2016-04-161-21/+34
|
* Added functionality needed by the saml2test tool.Roland Hedberg2016-04-161-13/+32
|
* Added new eduPerson attributes and fixed some map errorsRoland Hedberg2016-03-091-107/+113
|
* Filter optional attributes in the exact same way as required attributes.Rebecka Gulliksson2015-12-281-2/+22
|
* Match the attribute name of optional attributes in the same way as for ↵Rebecka Gulliksson2015-12-281-103/+119
| | | | required attributes.
* Fix minor python3 issues in assertion testsClint Byrum2015-05-281-29/+30
| | | | | Some methods return views now, and also random hash seeds will cause unpredictable keys() ordering.
* Fix python3 syntax errorsClint Byrum2015-05-151-13/+13
| | | | | Retains python2.7 compatibility for all files. Fixes only syntax errors, tests still fail on python3 for various reasons.
* Fixed importsRoland Hedberg2015-05-151-2/+2
|
* Fixed attribute filtering logic, take 2.Roland Hedberg2014-06-031-6/+10
|
* Should generate 'true'/'false' in xml not 'True'/'False'.Roland Hedberg2014-04-151-0/+1
|
* Added a policy flag that if set to False will allow the IdP to send back an ↵Roland Hedberg2014-04-141-1/+41
| | | | incomplete reply. Not containing attributes that the SP deemed important (that is marked required).
* EditorialRoland Hedberg2014-04-021-5/+10
|
* Various spelling/grammar tweaks and typo fixes.Hank Leininger2014-04-021-1/+1
| | | | | | | | | | | | | Usually just a word or punctuation; occasionally I rewrote a sentence if I had a hard time determining what was meant by the original. (N.B. if I misunderstood something, then my re-wording will be wrong!) Also added eol to many files that were missing it, which throws off 'cat somefile' at a shell prompt (but did not yet touch anything under src/, which also has many files without eol). I did not re-line-wrap the text I changed, so that the diffs are minimized and meaningful changes are easier to spot.
* Refactored class methodsRoland Hedberg2014-03-081-7/+7
|
* Script to update the metadata that is used in some tests.Roland Hedberg2014-02-051-1/+23
| | | | Added tests on new functionality.
* Fixed all tests and various bugs that appeared during that process.Roland Hedberg2013-12-131-21/+22
|
* If no identity information refrain from constructing an AttributeStatement.Roland Hedberg2013-12-051-1/+23
|
* Removed one function where I had two that did similar work.Roland Hedberg2013-07-081-2/+2
|
* Made things work after the last merge.Roland Hedberg2013-05-091-10/+11
|
* Added support for entity categories.Roland Hedberg2013-05-041-0/+19
|
* Cleaned up some added another test.Roland Hedberg2013-04-221-292/+408
|
* 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.
* Complete rewrite of the metadata handling package.Roland Hedberg2012-12-191-64/+73
| | | | Switched from using httplib2 to requests.
* Initial add0.4.2Roland Hedberg2012-05-231-0/+608