Skip to content

Commit 35ac190

Browse files
committed
create exe in tmp_path
1 parent 59f25a2 commit 35ac190

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_stemmus_scope.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ class TestWithCustomSetup:
7272
def model(self, tmp_path):
7373
config_file = str(data_folder / "config_file_test.txt")
7474
exe_file = Path(tmp_path) / "STEMUUS_SCOPE"
75+
76+
# create dummy exe file
77+
with open(exe_file, "x", encoding="utf8") as dummy_file:
78+
dummy_file.close()
7579
yield StemmusScope(config_file, exe_file)
7680

7781
@pytest.fixture

0 commit comments

Comments
 (0)