Skip to content

Commit

Permalink
use tox-uv, fix skipping tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tishka17 committed Aug 7, 2024
1 parent 85e4e4a commit f0f467d
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ruff==0.5.*
tox==4.15.*
tox-uv==1.11.*
Empty file removed src/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions tests/integrations/aiogram_dialog/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import pytest

pytest.importorskip("aiogram_dialog")
2 changes: 1 addition & 1 deletion tests/integrations/aiogram_dialog/test_aiogram_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
from aiogram_dialog.test_tools.keyboard import InlineButtonTextLocator
from aiogram_dialog.widgets.kbd import Cancel, Start
from aiogram_dialog.widgets.text import Const
from tests.integrations.aiogram_dialog.conftest import AppProvider, RequestDep

from dishka import FromDishka, make_async_container
from dishka.integrations.aiogram import setup_dishka
from dishka.integrations.aiogram_dialog import inject
from .conftest import AppProvider, RequestDep


class MainSG(StatesGroup):
Expand Down
3 changes: 3 additions & 0 deletions tests/integrations/arq/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import pytest

pytest.importorskip("arq")
3 changes: 3 additions & 0 deletions tests/integrations/click/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import pytest

pytest.importorskip("click")
3 changes: 3 additions & 0 deletions tests/integrations/grpcio/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import pytest

pytest.importorskip("grpc")
3 changes: 3 additions & 0 deletions tests/integrations/taskiq/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import pytest

pytest.importorskip("taskiq")
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ env_list =
click-817

[testenv]
use_develop = true
deps =
pytest
pytest-cov
Expand Down

0 comments on commit f0f467d

Please sign in to comment.