def METHOD_NAME():
    """
    Basic test for ImportURI (bad case: search_path + globbing)
    """
    #################################
    # 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
    ]
    with raises(Exception,
                match=r'you cannot use globbing together with a search path'):
        my_meta_model.register_scope_providers(
            {"*.*": scoping_providers.PlainNameImportURI(
                glob_args={}, search_path=search_path)})
    #################################
    # END
    #################################