def METHOD_NAME(translation_a):
    save_failed_checks(
        translation_a,
        {
            "clErrors": ["compare-locales error 1", "compare-locales error 2"],
            "clWarnings": ["compare-locales warning 1"],
            # Warnings from Translate Toolkit can't be stored in the Database
            "ttWarnings": [
                "translate-toolkit warning 1",
                "translate-toolkit warning 2",
            ],
        },
    )
    error1, error2 = Error.objects.order_by("message")
    assert error1.library == FailedCheck.Library.COMPARE_LOCALES
    assert error1.message == "compare-locales error 1"
    assert error2.library == FailedCheck.Library.COMPARE_LOCALES
    assert error2.message == "compare-locales error 2"
    (cl_warning,) = Warning.objects.order_by("library", "message")
    assert cl_warning.library == FailedCheck.Library.COMPARE_LOCALES
    assert cl_warning.message == "compare-locales warning 1"