def METHOD_NAME(self):
    archiver = ArchiveBase()
    archiver.read_fd(io.StringIO(EXACT_TEST_CONFIG))
    fail_files = [
        "othername.eam.unique.name.unique.0001-01-01-0000.nc",  # casename mismatch
        "casename.satm.unique.name.unique.0001-01-01-0000.nc",  # model (component?) mismatch
        "casename.eam.0001-01-01-0000.nc",  # missing hist_file_extension
        "casename.eam.unique.name.unique.0001-01-01-0000.nc",
        "casename.eam.unique.name.unique.some.extra.0001-01-01-0000.nc",
        "casename.eam.unique.name.unique.0001-01-01-0000.nc.base",
        "casename.eam.unique.name.unique.some.extra.0001-01-01-0000.nc.base",
    ]
    test_files = [
        "casename.eam1.unique.name.unique.nc",
        "casename.eam1_.unique.name.unique.nc",
        "casename.eam_.unique.name.unique.nc",
        "casename.eam1990.unique.name.unique.nc",
        "casename.eam_1990.unique.name.unique.nc",
        "casename.eam1_1990.unique.name.unique.nc",
        "casename.eam11990.unique.name.unique.nc",
        "casename.eam.unique.name.unique.nc",
    ]
    with self._setup_environment(fail_files + test_files) as temp_dir:
        hist_files = archiver.get_all_hist_files(
            "casename", "eam", suffix="nc", from_dir=temp_dir
        )
    test_files.sort()
    hist_files.sort()
    assert len(hist_files) == len(test_files)
    # assert all match except first
    for x, y in zip(test_files, hist_files):
        assert x == y, f"{x} != {y}"