Skip to content

Commit

Permalink
refactor: cleanup conftest
Browse files Browse the repository at this point in the history
  • Loading branch information
abyrne committed Jan 5, 2024
1 parent 86ba37b commit c9dfe6c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions tests/unit/restapi/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@ def task_plugin_archive():
def dependency_modules() -> List[Any]:
from dioptra.restapi.job.dependencies import RQServiceConfiguration, RQServiceModule

# from dioptra.restapi.task_plugin.dependencies import (
# TaskPluginUploadFormSchemaModule,
# )
from dioptra.restapi.user.dependencies import (
PasswordServiceModule,
_bind_password_service_configuration,
Expand Down Expand Up @@ -134,7 +131,6 @@ def configure(binder: Binder) -> None:
configure,
PasswordServiceModule(),
RQServiceModule(),
# TaskPluginUploadFormSchemaModule(),
]


Expand Down
6 changes: 1 addition & 5 deletions tests/unit/restapi/task_plugin/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@
from flask import Flask
from werkzeug.datastructures import FileStorage

from dioptra.restapi.models import ( # TaskPluginUploadForm,; TaskPluginUploadFormData,
TaskPlugin,
)

# from dioptra.restapi.task_plugin.interface import TaskPluginInterface
from dioptra.restapi.models import TaskPlugin


@pytest.fixture
Expand Down

0 comments on commit c9dfe6c

Please sign in to comment.