def test_get_report_number_yes_publi_info_yes_arxiv(g_a, g_p_i): g_a.return_value = True g_p_i.return_value = True record = Record({}) latex = Latex(record, 'latex_eu') assert latex._get_report_number() is None
def test_get_report_number_yes_publi_info_yes_arxiv(g_a, g_p_i): g_a.return_value = True g_p_i.return_value = True record = InspireRecord({}) latex = Latex(record, 'latex_eu') assert latex._get_report_number() is None
def test_get_report_number_yes_publi_info_no_arxiv(g_a, g_p_i): g_a.return_value = True g_p_i.return_value = False record = {} latex = Latex(record, 'latex_eu') assert latex._get_report_number() is None