Skip to content

Commit

Permalink
change import
Browse files Browse the repository at this point in the history
ref #2248
  • Loading branch information
ychiucco committed Feb 5, 2025
1 parent 566a74f commit 9b39cd0
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
from common_functions import failing_workflow_UnknownError
from common_functions import full_workflow
from common_functions import full_workflow_TaskExecutionError
from common_functions import non_executable_task_command
from common_functions import workflow_with_non_python_task
from tests.v2.test_07_full_workflow.common_functions import (
failing_workflow_UnknownError,
)
from tests.v2.test_07_full_workflow.common_functions import full_workflow
from tests.v2.test_07_full_workflow.common_functions import (
full_workflow_TaskExecutionError,
)
from tests.v2.test_07_full_workflow.common_functions import (
non_executable_task_command,
)
from tests.v2.test_07_full_workflow.common_functions import (
workflow_with_non_python_task,
)

FRACTAL_RUNNER_BACKEND = "local_experimental"

Expand Down
18 changes: 13 additions & 5 deletions tests/v2/test_07_full_workflow/test_full_workflow_local_v2.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
from common_functions import failing_workflow_UnknownError
from common_functions import full_workflow
from common_functions import full_workflow_TaskExecutionError
from common_functions import non_executable_task_command
from common_functions import workflow_with_non_python_task
from tests.v2.test_07_full_workflow.common_functions import (
failing_workflow_UnknownError,
)
from tests.v2.test_07_full_workflow.common_functions import full_workflow
from tests.v2.test_07_full_workflow.common_functions import (
full_workflow_TaskExecutionError,
)
from tests.v2.test_07_full_workflow.common_functions import (
non_executable_task_command,
)
from tests.v2.test_07_full_workflow.common_functions import (
workflow_with_non_python_task,
)

FRACTAL_RUNNER_BACKEND = "local"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import io

import pytest
from common_functions import workflow_with_non_python_task

from fractal_server.ssh._fabric import FractalSSHList
from tests.fixtures_slurm import SLURM_USER
from tests.v2.test_07_full_workflow.common_functions import (
workflow_with_non_python_task,
)


FRACTAL_RUNNER_BACKEND = "slurm_ssh"
Expand Down
14 changes: 10 additions & 4 deletions tests/v2/test_07_full_workflow/test_full_workflow_slurm_v2.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
import logging

import pytest
from common_functions import failing_workflow_UnknownError
from common_functions import full_workflow
from common_functions import full_workflow_TaskExecutionError
from common_functions import non_executable_task_command

from fractal_server.app.runner.executors.slurm.sudo._subprocess_run_as_user import ( # noqa
_run_command_as_user,
)
from tests.fixtures_slurm import SLURM_USER
from tests.v2.test_07_full_workflow.common_functions import (
failing_workflow_UnknownError,
)
from tests.v2.test_07_full_workflow.common_functions import full_workflow
from tests.v2.test_07_full_workflow.common_functions import (
full_workflow_TaskExecutionError,
)
from tests.v2.test_07_full_workflow.common_functions import (
non_executable_task_command,
)


FRACTAL_RUNNER_BACKEND = "slurm"
Expand Down

0 comments on commit 9b39cd0

Please sign in to comment.