8000 [WIP] cleaning, fixing tests by djarecka · Pull Request #718 · nipype/pydra · GitHub
[go: up one dir, main page]

Skip to content

[WIP] cleaning, fixing tests #718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
removing psi plugin from one test
  • Loading branch information
djarecka committed Oct 28, 2023
commit 979bb60c1146a7278d9f550461560d1e52bec03c
6 changes: 3 additions & 3 deletions pydra/engine/tests/test_environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_docker_1(tmp_path):

@no_win
@need_docker
def test_docker_1_subm(tmp_path, plugin):
def test_docker_1_subm(tmp_path):
"""docker env with submitter: simple command, no arguments"""
newcache = lambda x: makedir(tmp_path, x)

Expand All @@ -97,14 +97,14 @@ def test_docker_1_subm(tmp_path, plugin):
cache_dir=newcache("shelly_env"),
environment=docker,
)
with Submitter(plugin=plugin) as sub:
with Submitter(plugin="cf") as sub:
shelly_env(submitter=sub)
assert env_res == shelly_env.result().output.__dict__

shelly_call = ShellCommandTask(
name="shelly", executable=cmd, cache_dir=newcache("shelly_call")
)
with Submitter(plugin=plugin) as sub:
with Submitter(plugin="cf") as sub:
shelly_call(submitter=sub, environment=docker)
assert env_res == shelly_call.result().output.__dict__

Expand Down
0