diff --git a/.github/workflows/check-lint.yml b/.github/workflows/check-lint.yml index f42712e..ba2aaa8 100644 --- a/.github/workflows/check-lint.yml +++ b/.github/workflows/check-lint.yml @@ -65,7 +65,7 @@ jobs: poetry run mypy . - name: Analysing the code with flake8 run: | - poetry run flake8 + poetry run flake8 . - name: Analysing code with isort run: | poetry run isort --check-only app \ No newline at end of file diff --git a/app/tests/bot/test_bot.py b/app/tests/bot/test_bot.py index 8b649bc..43a78a0 100644 --- a/app/tests/bot/test_bot.py +++ b/app/tests/bot/test_bot.py @@ -1,9 +1,9 @@ import pytest from aiogram import Bot, types from aiogram.dispatcher.filters.builtin import Command +from app.core.bot import dispatcher from app.tests.conftest import FakeTelegram from app.tests.data.factories import UserFactory -from core.bot import dispatcher pytestmark = [ pytest.mark.asyncio,