Skip to content

Commit cf9820c

Browse files
EMSUSD-3530 cleanup test code left-overs
1 parent 5b77407 commit cf9820c

2 files changed

Lines changed: 0 additions & 9 deletions

File tree

test/lib/componentCreator/testComponentCreatorBase.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ def _findNewProxyShape(self, before):
2929
new = self._snapshotProxyShapes() - before
3030
return list(new)[0] if new else None
3131

32-
def _openVariantEditor(self, component_description):
33-
from usd_component_creator_plugin import open_variant_editor_window
34-
from AdskVariantEditor import ComponentData
35-
compData = ComponentData(component_description) if component_description else None
36-
open_variant_editor_window(None)
37-
3832
def _getActiveDesc(self):
3933
"""Return the ComponentDescription currently shown in the variant editor, or None."""
4034
from usd_component_creator_plugin import get_variant_editor_component_description

test/lib/componentCreator/testComponentCreatorSave.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ class SaveToComponentTestCase(_ComponentCreatorTestBase, unittest.TestCase):
1717
"""
1818
Tests for usd_component_creator_plugin.create_component.add_to_component_from_nodes
1919
and then saving and reloading.
20-
21-
The reloading part is tested after in the test SaveToComponentFollowupTestCase.
2220
"""
2321

2422
_tempFolder = None
@@ -179,7 +177,6 @@ def testSaveAndReload(self):
179177

180178
geoPrim = stage.GetPrimAtPath(Sdf.Path('/root/geo'))
181179
for child in geoPrim.GetChildren():
182-
print(f'Child: {child.GetName()}')
183180
if child.GetTypeName() == 'Mesh':
184181
self.assertEqual(expected_cube_name, child.GetName(), f"The variant {variant.GetName()} should have a cube named {expected_cube_name}")
185182
found_cubes.add(child.GetName())

0 commit comments

Comments
 (0)