From 7bab182abbcd9be66851c60f1da9dfbc3418bda1 Mon Sep 17 00:00:00 2001 From: Padreug Date: Sun, 31 May 2026 19:23:36 +0200 Subject: [PATCH] chore(tests): remove stale test_init.py cookiecutter leftover MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The lone test (`test_router`) has been failing for the lifetime of the repo. It's `@pytest.mark.asyncio`-decorated but the project deliberately doesn't ship `pytest-asyncio` (newer tests use `asyncio.run` inside the body — see `test_cassette_state_consumer.py` header), so the test is uncollectable in our runner. The body asserts nothing the extension-load boot path doesn't already cover. After this: full suite is 155/155 green. Closes #34. --- tests/test_init.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 tests/test_init.py diff --git a/tests/test_init.py b/tests/test_init.py deleted file mode 100644 index e2fc116..0000000 --- a/tests/test_init.py +++ /dev/null @@ -1,11 +0,0 @@ -import pytest -from fastapi import APIRouter - -from .. import satmachineadmin_ext - - -# just import router and add it to a test router -@pytest.mark.asyncio -async def test_router(): - router = APIRouter() - router.include_router(satmachineadmin_ext) -- 2.53.0