Skip to content

Commit f31bcc6

Browse files
committed
Merge remote-tracking branch 'origin/fix/flaky-test' into maint/circleci
2 parents ccb9b40 + b21f396 commit f31bcc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templateflow/conf/tests/test_conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def _find_message(lines, msg, reverse=True):
4141
@pytest.mark.parametrize('use_datalad', ['off', 'on'])
4242
def test_conf_init(monkeypatch, tmp_path, capsys, use_datalad):
4343
"""Check the correct functioning of config set-up."""
44-
home = (tmp_path / '-'.join(('tf', 'dl', use_datalad))).resolve()
44+
home = (tmp_path / f'conf-init-{use_datalad}').resolve()
4545
monkeypatch.setenv('TEMPLATEFLOW_USE_DATALAD', use_datalad)
4646
monkeypatch.setenv('TEMPLATEFLOW_HOME', str(home))
4747

@@ -58,7 +58,7 @@ def test_conf_init(monkeypatch, tmp_path, capsys, use_datalad):
5858
@pytest.mark.parametrize('use_datalad', ['off', 'on'])
5959
def test_setup_home(monkeypatch, tmp_path, capsys, use_datalad):
6060
"""Check the correct functioning of the installation hook."""
61-
home = (tmp_path / '-'.join(('tf', 'dl', use_datalad))).resolve()
61+
home = (tmp_path / f'setup-home-{use_datalad}').resolve()
6262
monkeypatch.setenv('TEMPLATEFLOW_USE_DATALAD', use_datalad)
6363
monkeypatch.setenv('TEMPLATEFLOW_HOME', str(home))
6464

0 commit comments

Comments
 (0)