diff --git a/.ci/test_template.sh b/.ci/test_template.sh index 711a66604f20cd9b4d9bd5546efeedfb5b93cd39..9a2db07c817b26d0b24595da43d8877219f5ebc2 100644 --- a/.ci/test_template.sh +++ b/.ci/test_template.sh @@ -21,6 +21,11 @@ rsync -rv "fsldownload:$FSL_ATLAS_DIR" "$FSLDIR/data/atlases/" # reporting until after we're finished. TEST_OPTS="--cov-report= --cov-append" +# pytest struggles with my organisation of +# the fslpy package, where all tests are in +# fsl.tests, and fsl is a namespace package +touch fsl/__init__.py + # We run some tests under xvfb-run # because they invoke wx. Sleep in # between, otherwise xvfb gets upset.