Skip to content

Commit

Permalink
input.GetBaseName
Browse files Browse the repository at this point in the history
Signed-off-by: Christian López Barrón <[email protected]>
  • Loading branch information
chrizzFTD committed Dec 13, 2024
1 parent 37cabe3 commit b7c3fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def test_connection_view(self):
viewer.setPrim(material)
graph = viewer._graph_view._graph
self.assertEqual(graph.nodes[str(material.GetPrim().GetPath())]['plugs'], ['', surface_name])
self.assertEqual(graph.nodes[str(pbrShader.GetPrim().GetPath())]['plugs'], ['', cycle_input.GetName(), roughness_name, cycle_output.GetName(), surface_name])
self.assertEqual(graph.nodes[str(pbrShader.GetPrim().GetPath())]['plugs'], ['', cycle_input.GetBaseName(), roughness_name, cycle_output.GetBaseName(), surface_name])
viewer.setPrim(None)

def test_scenegraph_composition(self):
Expand Down

0 comments on commit b7c3fa0

Please sign in to comment.