Skip to content

Commit

Permalink
tests: added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
keithmanville committed Oct 30, 2024
1 parent 0211d58 commit ace4574
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/unit/restapi/v1/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@
# ACCESS THE FULL CC BY 4.0 LICENSE HERE:
# https://creativecommons.org/licenses/by/4.0/legalcode
"""Fixtures representing resources needed for test suites"""
import tarfile
import textwrap
from collections.abc import Iterator
from pathlib import Path
from tempfile import NamedTemporaryFile
from typing import Any, cast

import pytest
import tarfile
import toml
from flask import Flask
from flask.testing import FlaskClient
from flask_sqlalchemy import SQLAlchemy
from injector import Injector
from pytest import MonkeyPatch
from tempfile import NamedTemporaryFile

from ..lib import actions, mock_rq

Expand Down
4 changes: 2 additions & 2 deletions tests/unit/restapi/v1/test_workflow_resource_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@
registered, renamed, deleted, and locked/unlocked as expected through the REST API.
"""

from typing import Any
from pathlib import Path
from tempfile import NamedTemporaryFile
from typing import Any

from flask.testing import FlaskClient
from flask_sqlalchemy import SQLAlchemy
from werkzeug.test import TestResponse

from dioptra.restapi.routes import V1_ROOT, V1_WORKFLOWS_ROUTE


# -- Actions ---------------------------------------------------------------------------


Expand Down

0 comments on commit ace4574

Please sign in to comment.