diff --git a/beat/web/algorithms/tests/core.py b/beat/web/algorithms/tests/core.py index 122fb7c7259f284fa067157d80e3e86b7d8d51a7..3ae5dbc4c6492e927c7177964ba0aba7cc400f24 100755 --- a/beat/web/algorithms/tests/core.py +++ b/beat/web/algorithms/tests/core.py @@ -30,19 +30,17 @@ import os import shutil import simplejson as json - -from django.contrib.auth.models import User from django.conf import settings +from django.contrib.auth.models import User + +from beat.core.algorithm import Storage -from ...dataformats.models import DataFormat from ...common.testutils import BaseTestCase from ...common.testutils import tearDownModule # noqa test runner will call it +from ...dataformats.models import DataFormat from ...team.models import Team - from ..models import Algorithm -from beat.core.algorithm import Storage - TEST_PWD = "1234" diff --git a/beat/web/algorithms/tests/tests.py b/beat/web/algorithms/tests/tests.py index b33e28cf7167fe74ed94502638f07c7337c74985..1eb1ed26d1e4c1ee5f9a17a560f90916b296f591 100644 --- a/beat/web/algorithms/tests/tests.py +++ b/beat/web/algorithms/tests/tests.py @@ -27,11 +27,9 @@ from django.contrib.auth.models import User -from ...libraries.models import Library from ...common.testutils import tearDownModule # noqa test runner will call it - +from ...libraries.models import Library from ..models import Algorithm - from .core import AlgorithmsBaseTestCase diff --git a/beat/web/algorithms/tests/tests_api.py b/beat/web/algorithms/tests/tests_api.py index 85d8e1c3d0aa9702e966b245da3b1da00ec506e8..32756499719055cc0fc9128156f43564e9e1d9ad 100755 --- a/beat/web/algorithms/tests/tests_api.py +++ b/beat/web/algorithms/tests/tests_api.py @@ -27,21 +27,18 @@ import simplejson as json - -from django.contrib.auth.models import User from django.conf import settings -from django.urls import reverse +from django.contrib.auth.models import User from django.core.files.uploadedfile import SimpleUploadedFile - -from ...dataformats.models import DataFormat -from ...common.testutils import tearDownModule # noqa test runner will call it -from ...common.testutils import get_algorithms_from_data -from ...code.models import Code +from django.urls import reverse import beat.core.algorithm +from ...code.models import Code +from ...common.testutils import get_algorithms_from_data +from ...common.testutils import tearDownModule # noqa test runner will call it +from ...dataformats.models import DataFormat from ..models import Algorithm - from .core import AlgorithmsAPIBase diff --git a/beat/web/algorithms/tests/tests_team.py b/beat/web/algorithms/tests/tests_team.py index 163413208a6bcb600008b8ba1327c89e31373cae..c7567a1725dcfc4f59a289e253eaf70944a3a3e7 100644 --- a/beat/web/algorithms/tests/tests_team.py +++ b/beat/web/algorithms/tests/tests_team.py @@ -27,12 +27,10 @@ from django.contrib.auth.models import User -from ...team.models import Team -from ...dataformats.models import DataFormat from ...common.testutils import tearDownModule # noqa test runner will call it - +from ...dataformats.models import DataFormat +from ...team.models import Team from ..models import Algorithm - from .core import AlgorithmsAccessibilityFunctionsBase diff --git a/beat/web/algorithms/tests/tests_user.py b/beat/web/algorithms/tests/tests_user.py index c0e2e1294f6b4e054964e7010e450467101f3934..4b35763a6ead74a51b0a2121129a5fa763c4f118 100644 --- a/beat/web/algorithms/tests/tests_user.py +++ b/beat/web/algorithms/tests/tests_user.py @@ -26,10 +26,9 @@ ############################################################################### +from ...common.testutils import tearDownModule # noqa test runner will call it from ..models import Algorithm - from .core import AlgorithmsAccessibilityFunctionsBase -from ...common.testutils import tearDownModule # noqa test runner will call it class NotSharedAlgorithm_CheckAccessibilityFunction(