tests.output.test_plantuml_syscalls

tests.output.test_plantuml_syscalls#

Unit tests for output.plantuml module, specifically focused on interacting with PlantUML syscalls.

Functions

test_plantuml_detect_not_there(tmpdir)

Ensure plantuml detection does not allow a nonexistent file.

test_plantuml_e2e(graph_clrs09_22_6, tmpdir)

Run an end-to-end shot of generating a graph and a PlantUML render of it.

test_plantuml_out_file_format()

Ensure errors are raised on unknown file formats.

test_plantuml_syscall_badsrc(tmpdir)

Ensure errors are raised on invalid PlantUML syntax.

test_plantuml_syscall_empty(tmpdir)

Ensure we get an error when passing in empty plantuml contents.