def get_footer(email_account, footer=None):
	footer = footer or ""

	if email_account and email_account.footer:
		footer += '<div style="margin: 15px auto;">{0}</div>'.format(email_account.footer)

	footer += "<!--unsubscribe link here-->"

	company_address = frappe.db.get_default("email_footer_address")

	if company_address:
		footer += '<div style="margin: 15px auto; text-align: center; color: #8d99a6">{0}</div>'\
			.format(company_address.replace("\n", "<br>"))

	if not cint(frappe.db.get_default("disable_standard_email_footer")):
		for default_mail_footer in frappe.get_hooks("default_mail_footer"):
			footer += '<div style="margin: 15px auto;">{0}</div>'.format(default_mail_footer)

	return footer
Build a list of test arguments for test_hist.
dataset/ETHPy150Open frappe/frappe/frappe/email/email_body.py/get_footer--crossover with--dataset/ETHPy150Open NervanaSystems/neon/neon/backends/tests/test_hist.py/pytest_generate_tests