Skip to content

Commit a05dc4a

Browse files
committed
Add tests for CodinGamer.profile_url
1 parent d138c39 commit a05dc4a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/async/test_codingamer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ async def test_codingamer_avatar_and_cover_urls(client: AsyncClient):
1818
codingamer = await client.get_codingamer("Takos")
1919
assert isinstance(codingamer.avatar_url, str)
2020
assert isinstance(codingamer.cover_url, str)
21+
assert isinstance(codingamer.profile_url, str)
2122

2223

2324
@pytest.mark.asyncio

tests/sync/test_codingamer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def test_codingamer_avatar_and_cover_urls(client: Client):
1717
codingamer = client.get_codingamer("Takos")
1818
assert isinstance(codingamer.avatar_url, str)
1919
assert isinstance(codingamer.cover_url, str)
20+
assert isinstance(codingamer.profile_url, str)
2021

2122

2223
def test_codingamer_eq(client: Client, codingamer: CodinGamer):

0 commit comments

Comments
 (0)