Maybe we could use :sourcedir:`components/tools/OmeroPy/test` here instead? This would ensure the validity of the link thanks to  the Sphinx link checker