def METHOD_NAME(raw_files, no_warn):
    directory = os.path.join(os.path.dirname(__file__), '../data/datamodel')
    mainfile = 'schema.archive.json'
    # create upload with example files
    upload_files = create_test_upload_files('test_upload_id', published=False, raw_files=directory)
    upload = Upload(upload_id='test_upload_id')
    # parse
    parser = ArchiveParser()
    context = ServerContext(upload=upload)
    test_archive = EntryArchive(m_context=context, metadata=EntryMetadata())
    parser.parse(
        upload_files.raw_file_object(mainfile).os_path,
        test_archive)
    run_normalize(test_archive)
    # assert archive
    assert len(test_archive.definitions.section_definitions) == 1
    assert test_archive.metadata.entry_type == 'Schema'