Visualization test crashes if dot not installed #3390
Labels
good first issue
Good for newcomers
I: No breaking change
Previously written code will work as before, no one should note anything changing (aside the fix)
S: Normal
Handle this with default priority
T: Bug
Wrong statements in the code or documentation
The network visualization tests crashes if
dot
is not available. The test has a condition onpydot
being importablenest-simulator/testsuite/pytests/test_visualization.py
Lines 42 to 48 in c201d67
but this does not check if there actually is a runable
dot
available. To do this, one would need to add a try containingcatching
FileNotFoundError
and a cleanup removingfoo.png
if the writing succeeded.The text was updated successfully, but these errors were encountered: