Skip to content

Commit

Permalink
!
Browse files Browse the repository at this point in the history
  • Loading branch information
avdata99 committed Jul 31, 2024
1 parent 3dd5c6d commit bdb9531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/saml2auth/tests/test_blueprint_get_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"""

import base64
from datetime import datetime, UTC
import datetime
from jinja2 import Template
import os
import pytest
Expand Down Expand Up @@ -58,7 +58,7 @@ def _prepare_unsigned_response():
'entity_id': 'urn:gov:gsa:SAML:2.0.profiles:sp:sso:test:entity',
'destination': 'http://test.ckan.net/acs',
'recipient': 'http://test.ckan.net/acs',
'issue_instant': datetime.now(UTC).isoformat(),
'issue_instant': datetime.datetime.now(datetime.UTC).isoformat(),
}
t = Template(unsigned_response)
final_response = t.render(**context)
Expand Down

0 comments on commit bdb9531

Please sign in to comment.