Skip to content

Commit a48ce02

Browse files
committed
feat: test fixes
1 parent 9627c5d commit a48ce02

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def test_init_with_api_key(self, api_key: str) -> None:
2020
"""Test client initialization with API key."""
2121
client = ScrapeBadger(api_key=api_key)
2222
assert client.config.api_key == api_key
23-
assert client.config.base_url == "https://api.scrapebadger.com"
23+
assert client.config.base_url == "https://scrapebadger.com"
2424

2525
def test_init_with_custom_base_url(self, api_key: str) -> None:
2626
"""Test client initialization with custom base URL."""
@@ -66,7 +66,7 @@ def test_repr(self, api_key: str) -> None:
6666
"""Test string representation."""
6767
client = ScrapeBadger(api_key=api_key)
6868
assert "ScrapeBadger" in repr(client)
69-
assert "api.scrapebadger.com" in repr(client)
69+
assert "scrapebadger.com" in repr(client)
7070

7171
async def test_context_manager(self, api_key: str) -> None:
7272
"""Test async context manager."""

tests/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_query_type_values(self) -> None:
4444
def test_trend_category_values(self) -> None:
4545
"""Test TrendCategory enum values."""
4646
assert TrendCategory.TRENDING == "trending"
47-
assert TrendCategory.FOR_YOU == "for_you"
47+
assert TrendCategory.FOR_YOU == "for-you"
4848
assert TrendCategory.NEWS == "news"
4949
assert TrendCategory.SPORTS == "sports"
5050
assert TrendCategory.ENTERTAINMENT == "entertainment"

0 commit comments

Comments
 (0)