Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix/flaky-test' into maint/circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Sep 13, 2024
2 parents ccb9b40 + b21f396 commit f31bcc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templateflow/conf/tests/test_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _find_message(lines, msg, reverse=True):
@pytest.mark.parametrize('use_datalad', ['off', 'on'])
def test_conf_init(monkeypatch, tmp_path, capsys, use_datalad):
"""Check the correct functioning of config set-up."""
home = (tmp_path / '-'.join(('tf', 'dl', use_datalad))).resolve()
home = (tmp_path / f'conf-init-{use_datalad}').resolve()
monkeypatch.setenv('TEMPLATEFLOW_USE_DATALAD', use_datalad)
monkeypatch.setenv('TEMPLATEFLOW_HOME', str(home))

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

Expand Down

0 comments on commit f31bcc6

Please sign in to comment.