def METHOD_NAME(self, mock_getlocale: Mock):
    with patch("locale.getlocale", mock_getlocale):
        locale = l10n.Localization()
        assert locale.language_code == "en_US"
        assert locale.equivalent(language="en", country="US")