def METHOD_NAME(tmp_plugin: DynamicPlugin):
    @tmp_plugin.contribute.reader(filename_patterns=['*.tif'])
    def read_tif(path):
        ...
    readers = get_potential_readers('my_file.TIF')
    assert len(readers) == 1