skrawcz commented on code in PR #1445:
URL: https://github.com/apache/hamilton/pull/1445#discussion_r2706180343
##########
tests/test_graph.py:
##########
@@ -1309,3 +1309,182 @@ def test_update_dependencies():
for node_name, node_ in new_nodes.items():
assert node_.dependencies == nodes[node_name].dependencies
assert node_.depended_on_by == nodes[node_name].depended_on_by
+
+
+# Tests for display_name tag support in graphviz visualization
+# See: https://github.com/apache/hamilton/issues/1413
+
+
+def test_create_graphviz_graph_with_display_name():
+ """Tests that display_name tag is used for node labels in visualization."""
+ import tests.resources.display_name_functions
Review Comment:
it's fine to import this once at the top of the file. Could you do that
please?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]