Ejemplo n.º 1
0
def test_main(capsys, api_copy):
    monster.compile(api_copy)
    out, _ = capsys.readouterr()
    assert len(out.splitlines()) == 49
    assert '2 splitted' in out
    assert '2 merged' in out
Ejemplo n.º 2
0
def bib(args):
    """Compile the monster bibfile from the BibTeX files listed in references/BIBFILES.ini

    glottolog bib [rebuild]
    """
    compile(args.repos, args.log, rebuild=bool(args.args))