From b7c3fa0c9d33d9d1c2b2480034fa5f2f9e8ebc2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=B3pez=20Barr=C3=B3n?= Date: Sat, 14 Dec 2024 09:59:35 +1100 Subject: [PATCH] input.GetBaseName MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian López Barrón --- tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_views.py b/tests/test_views.py index f60b6e88..afc8c90e 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -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):