Skip to content

Commit b231341

Browse files
committed
reinstated again with error message
1 parent f24175a commit b231341

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nipype2pydra/tests/test_package.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def package_spec(request):
3232
return EXAMPLE_PKG_GEN_DIR / f"{request.param}.yaml"
3333

3434

35-
@pytest.mark.xfail("Don't have time to debug at the moment")
35+
# @pytest.mark.xfail("Don't have time to debug at the moment")
3636
def test_package_complete(package_spec, cli_runner, tmp_path, tasks_template_args):
3737
pkg_name = package_spec.stem
3838
repo_output = tmp_path / "repo"
@@ -90,7 +90,8 @@ def test_package_complete(package_spec, cli_runner, tmp_path, tasks_template_arg
9090
pytest_output = sp.check_output(pytest_cmd).decode("utf-8")
9191
except sp.CalledProcessError:
9292
raise RuntimeError(
93-
f"Tests of generated package '{pkg_name}' failed when running:\n{' '.join(pytest_cmd)}"
93+
f"Tests of generated package '{pkg_name}' failed when running, "
94+
f"'\n{' '.join(pytest_cmd)}':\n\n{pytest_output}"
9495
)
9596

9697
assert "fail" not in pytest_output

0 commit comments

Comments
 (0)