Exemple #1
0
def test_gen_gexf(excel, tmpdir):
    excel_compiler = ExcelCompiler(excel=excel)
    filename = os.path.join(str(tmpdir), 'test.gexf')
    assert not os.path.exists(filename)
    excel_compiler.export_to_gexf(filename)

    # ::TODO: it would good to test this by comparing to an fixture/artifact
    assert os.path.exists(filename)