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
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))