Ejemplo n.º 1
0
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
Ejemplo n.º 2
0
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
Ejemplo n.º 3
0
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