"""
@brief      test log(time=2s)

"""
import os
import unittest
from pyquickhelper.pycode import get_temp_folder
from mlstatpy.graph.graphviz_helper import draw_graph_graphviz


class TestGraphviz(unittest.TestCase):

    def test_make_video(self):
        temp = get_temp_folder(__file__, "temp_graphviz")
        fout = os.path.join(temp, "image.png")

        draw_graph_graphviz([(1, "eee", "red")],
                            [(1, 2, "blue"), (3, 4), (1, 3)], fout)

        self.assertTrue(os.path.exists(fout))
        self.assertTrue(os.path.exists(fout + ".gv"))


if __name__ == "__main__":
    unittest.main()

@@ -106,16 +106,48 @@
 p_folder
+, skipif_travis, skipif_appveyor
 %0Afrom ml
@@ -244,16 +244,86 @@
 Case):%0A%0A
+    @skipif_appveyor(%22no graphviz%22)%0A    @skipif_travis(%22no graphviz%22)%0A
     def 

Update test_graphviz.py