Skip to content

Commit a52fc6d

Browse files
author
gabino
committed
Fix endpoint URL assertion and clean up session test assertions
1 parent 4afbeae commit a52fc6d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/resources/test_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def test_endpoint_update():
4343
)
4444
assert endpoint.id == id_endpoint
4545
assert len(endpoint.events) == 2
46-
assert endpoint.url == 'https://url.io'
46+
assert endpoint.url.unicode_string() == 'https://url.io/'
4747
assert not endpoint.is_enable
4848
assert endpoint.is_active
4949

tests/resources/test_sessions.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ def test_session_create(curp_validation_request: Dict, user_request: Dict):
3434

3535
assert user_session.user_id == user.id
3636
assert user_session.type == SessionType.registration
37-
assert user_session.success_url == success_url
38-
assert user_session.failure_url == failure_url
3937

4038
ephimeral_cuenca_session = cuenca.http.Session()
4139
ephimeral_cuenca_session.configure(session_token=user_session.id)

0 commit comments

Comments
 (0)