Skip to content
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

Disable test_all_result_operators_exist_path if running on docker on Windows #624

Merged
merged 2 commits into from
Nov 17, 2022
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
5 changes: 4 additions & 1 deletion tests/test_pathsupport.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
import pytest
import functools
import os
from conftest import (
running_docker
)

from ansys import dpf
from pathlib import Path
Expand Down Expand Up @@ -31,7 +34,7 @@ def test_print_data_sources_path(allkindofcomplexity):
assert len(data_sources.result_files) == 1
assert os.path.normpath(data_sources.result_files[0]) == os.path.normpath(allkindofcomplexity)


@pytest.mark.skipif(os.name == "nt" and running_docker, reason="Can't work because PATH is setting backslashes")
def test_all_result_operators_exist_path(allkindofcomplexity):
path = Path(allkindofcomplexity)
model = dpf.core.Model(path)
Expand Down