Skip to content

Commit a02f074

Browse files
committed
Set working directory to temporary path
Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
1 parent c68b477 commit a02f074

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_hedm_workflow.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ def test_hedm_full_workflow(qtbot, main_window, dexelas_hedm_path, tmp_path):
5353
detectors = HexrdConfig().detectors
5454
assert len(detectors) == 8
5555

56+
# Override working_dir so it exists in CI
57+
HexrdConfig().working_dir = str(tmp_path)
58+
HexrdConfig().indexing_config['working_dir'] = str(tmp_path)
59+
5660
# ── Step B: load NPZ images ────────────────────────────────────────
5761
def is_dummy_data():
5862
for ims in HexrdConfig().imageseries_dict.values():

0 commit comments

Comments
 (0)