diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index de3b0f8..937c2e0 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -36,6 +36,7 @@ jobs: # - run: poetry run ruff format --check # - run: poetry run ruff check # - run: poetry run pyright --warnings + - run: apt-get install -y image-magick - run: poetry run pytest # - run: poetry run coverage xml - uses: coverallsapp/github-action@v2 diff --git a/test/cli_test.py b/test/cli_test.py index b60f69c..bcbb4ba 100644 --- a/test/cli_test.py +++ b/test/cli_test.py @@ -412,8 +412,6 @@ def touch_art(item: Item, image_path: Path): tmp_embedded_image = tmp_path / "embedded_image.png" tmp_embedded_image.write_bytes(mediafile.art) # pyright: ignore art_resizer = ArtResizer() - print(art_resizer.local_method) - print(art_resizer.get_size(bytes(tmp_embedded_image))) (width, height) = art_resizer.get_size(bytes(tmp_embedded_image)) # pyright: ignore assert width == 1 assert height < 3