Skip to content

Commit

Permalink
fix(sdk): Delete duplicate test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasse-numerous committed Oct 29, 2024
1 parent 02bc1c8 commit 58ed9fc
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions python/tests/test_user_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,3 @@ def test_user_property_returns_user_when_valid_cookie(
assert session.user is not None
assert session.user.id == "1"
assert session.user.name == "Test User"


def test_user_info_returns_decoded_info_for_valid_cookie(
mock_graphql_client: GraphQLClient,
) -> None:
user_info = {"user_id": "1", "name": "Test User"}
encoded_info = base64.b64encode(json.dumps(user_info).encode("utf-8")).decode(
"utf-8"
)
cg = CookieGetterStub({"numerous_user_info": encoded_info})
session = Session(cg, _client=mock_graphql_client)
assert session.user is not None
assert session.user.id == "1"
assert session.user.name == "Test User"

0 comments on commit 58ed9fc

Please sign in to comment.