def METHOD_NAME():
    """
    Basic test for ImportURI (bad case: with search path no file patterns are
    allowed)
    """
    #################################
    # META MODEL DEF
    #################################
    my_meta_model = metamodel_from_file(
        join(abspath(dirname(__file__)), 'issue66', 'task_specification.tx'))
    search_path = [
        join(abspath(dirname(__file__)), 'issue66', 'somewhere1'),  # assembly
        join(abspath(dirname(__file__)), 'issue66', 'somewhere2')   # position
    ]
    my_meta_model.register_scope_providers(
        {"*.*": scoping_providers.PlainNameImportURI(search_path=search_path)})
    #################################
    # MODEL PARSING
    #################################
    with raises(IOError, match=r'.*assembly\.\*.*'):
        my_meta_model.model_from_file(
            join(abspath(dirname(__file__)), "issue66", "assembly_car2.prog"))
    #################################
    # END
    #################################