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

Function test_not_installed

tests/test_interface.py:40–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39
40def test_not_installed():
41 if os.path.exists(IMG_PATH):
42 os.remove(IMG_PATH)
43 tmp_path = os.environ['PATH']
44 os.environ['PATH'] = ''
45 with pytest.raises(AssertionError):
46 code2flow(os.path.abspath(__file__),
47 output_file=IMG_PATH)
48 os.environ['PATH'] = tmp_path
49
50
51def test_invalid_extension():

Callers

nothing calls this directly

Calls 1

code2flowFunction · 0.90

Tested by

no test coverage detected