Skip to content

Commit

Permalink
fix #36
Browse files Browse the repository at this point in the history
  • Loading branch information
damikael committed Jan 27, 2020
1 parent bfd5aa0 commit f5b7159
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions specs-compliance-tests/test/sp/authn_request_strict.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,9 @@ def test_AuthnRequest(self):
'The ForceAuthn attribute must be present if SPID level > 1'
)
value = req.get('ForceAuthn')
self._assertEqual(
value.lower(),
'true',
'The ForceAuthn attribute must be true'
self._assertTrue(
value.lower()=='true' or value.lower()=='1',
'The ForceAuthn attribute must be true or 1'
)

attr = 'AssertionConsumerServiceIndex'
Expand Down

0 comments on commit f5b7159

Please sign in to comment.