diff --git a/tests/pipelines/test_team_O21U.py b/tests/pipelines/test_team_O21U.py index 3557164d..3d65297a 100644 --- a/tests/pipelines/test_team_O21U.py +++ b/tests/pipelines/test_team_O21U.py @@ -95,11 +95,11 @@ def test_confounds_file(temporary_data_dir): """ Test the get_confounds_file method """ # Get input and reference output file - confounds_file = join( - Configuration()['directories']['test_data'], 'pipelines', 'confounds.tsv') - reference_file = join( + confounds_file = abspath(join( + Configuration()['directories']['test_data'], 'pipelines', 'confounds.tsv')) + reference_file = abspath(join( Configuration()['directories']['test_data'], - 'pipelines', 'team_O21U', 'confounds.tsv') + 'pipelines', 'team_O21U', 'confounds.tsv')) # Create new confounds file confounds_node = Node(Function(