MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / test_generate_image

Function test_generate_image

tests/test_interface.py:26–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def test_generate_image():
27 if os.path.exists(IMG_PATH):
28 os.remove(IMG_PATH)
29 code2flow(os.path.abspath(__file__),
30 output_file=IMG_PATH,
31 hide_legend=True)
32 assert os.path.exists(IMG_PATH)
33 os.remove(IMG_PATH)
34 code2flow(os.path.abspath(__file__),
35 output_file=IMG_PATH,
36 hide_legend=False)
37 assert os.path.exists(IMG_PATH)
38
39
40def test_not_installed():

Callers

nothing calls this directly

Calls 1

code2flowFunction · 0.90

Tested by

no test coverage detected