def test_all(top): dot = component_to_dot(top, colorscheme='blues9') assert 'my_proc' in dot assert '"a"' in dot assert '"b0"' in dot assert '"b0" -> "a"' in dot
def test_processes_only(top): dot = component_to_dot(top, show_hierarchy=False, show_connections=False) assert 'my_proc' in dot
def test_connections_only(top): dot = component_to_dot(top, show_hierarchy=False, show_processes=False) assert '"b0" -> "a"' in dot