Skip to content

Commit 1693451

Browse files
committed
Update tests (fix)
1 parent 6ed4718 commit 1693451

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/python-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
python-version: ["3.12"]
18-
os: [ubuntu-latest, macos-latest, windows-latest]
18+
os: [ubuntu-latest]
1919

2020
steps:
2121
- uses: actions/checkout@v4

duck_chat/models/generate_models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_html() -> str:
2323
# Open a webpage duck.ai
2424
driver.get("https://duckduckgo.com/?q=DuckDuckGo+AI+Chat&ia=chat&duckai=1")
2525

26-
html = driver.page_source
26+
html: str = driver.page_source or ""
2727

2828
# Close browser
2929
driver.quit()

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ ignore_missing_imports = true
7575
python_version = "3.11"
7676
show_error_codes = true
7777
strict = true
78-
exclude = ['format.py', "tests/", "build/"]
78+
exclude = ["tests/"]

0 commit comments

Comments
 (0)