Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail due to expired timestamps #410

Closed
hgovindkoli opened this issue Jun 6, 2024 · 2 comments
Closed

Tests fail due to expired timestamps #410

hgovindkoli opened this issue Jun 6, 2024 · 2 comments

Comments

@hgovindkoli
Copy link

hgovindkoli commented Jun 6, 2024

======================================================================
FAIL: testIsInValidEncIssues (tests.src.OneLogin.saml2_tests.response_test.OneLogin_Saml2_Response_Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python3-saml-1.3.0/tests/src/OneLogin/saml2_tests/response_test.py", line 1261, in testIsInValidEncIssues
    self.assertEqual('The attributes have expired, based on the SessionNotOnOrAfter of the AttributeStatement of this Response', response_6.get_error())
AssertionError: 'The attributes have expired, based on the[59 chars]onse' != 'Could not validate timestamp: expired. Ch[13 chars]ock.'
- The attributes have expired, based on the SessionNotOnOrAfter of the AttributeStatement of this Response
+ Could not validate timestamp: expired. Check system clock.


======================================================================
FAIL: testValidateTimestamps (tests.src.OneLogin.saml2_tests.response_test.OneLogin_Saml2_Response_Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python3-saml-1.3.0/tests/src/OneLogin/saml2_tests/response_test.py", line 713, in testValidateTimestamps
    self.assertFalse(response_5.validate_timestamps())
AssertionError: True is not false

----------------------------------------------------------------------
Ran 218 tests in 170.935s

FAILED (failures=2)
error: Bad exit status from /var/tmp/rpm-tmp.vejgDP (%check)

could you please help us on the above test errors?
Version: python3-saml-1.3.0

@hgovindkoli
Copy link
Author

@pitbulk
can you please review this?

@pitbulk
Copy link
Contributor

pitbulk commented Jun 23, 2024

Fixed here: #412

@pitbulk pitbulk closed this as completed Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants