Skip to content

Commit 2027336

Browse files
Fix tests
1 parent a1894aa commit 2027336

4 files changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/linting.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ jobs:
2727
with:
2828
python-version: ${{ env.PY_VERSION }}
2929
- name: Install project
30-
run: uv sync --locked --dev
30+
run: uv sync --locked --dev --all-extras
3131
- name: Run prek
3232
run: uv run prek run -a

.github/workflows/testing.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
python-version:
25-
- '3.10'
26-
- '3.11'
27-
- '3.12'
28-
- '3.13'
29-
- '3.14'
25+
- "3.10"
26+
- "3.11"
27+
- "3.12"
28+
- "3.13"
29+
- "3.14"
3030
os:
3131
- ubuntu-latest
3232
- macos-latest
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
python-version: ${{ matrix.python-version }}
4444
- name: Install project
45-
run: uv sync --locked --no-dev --group tests --managed-python
45+
run: uv sync --locked --no-dev --all-extras --group tests --managed-python
4646
- name: Run tests
4747
run: uv run pytest
4848

tests/services/comicvine_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@
55
from simyan.schemas.volume import Volume
66

77
from perdoo.services.comicvine import DEFAULT_CHOICE, Comicvine
8-
from perdoo.settings import Comicvine as ComicvineSettings
98
from perdoo.utils import IssueSearch, SeriesSearch
109

1110

1211
@pytest.fixture
1312
def service() -> Comicvine:
14-
settings = ComicvineSettings(api_key="Api-Key")
15-
return Comicvine(settings=settings)
13+
return Comicvine(api_key="UNSET")
1614

1715

1816
@pytest.fixture

tests/services/metron_test.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@
44
from seagrin.schemas import Issue, Series
55

66
from perdoo.services.metron import DEFAULT_CHOICE, Metron
7-
from perdoo.settings import Metron as MetronSettings
87
from perdoo.utils import IssueSearch, SeriesSearch
98

109

1110
@pytest.fixture
1211
def service() -> Metron:
13-
settings = MetronSettings(username="username", password="password") # noqa: S106
14-
return Metron(settings=settings)
12+
return Metron(username="UNSET", password="UNSET") # noqa: S106
1513

1614

1715
@pytest.fixture

0 commit comments

Comments
 (0)