diff options
Diffstat (limited to 'tests/python/bl_usd_import_test.py')
-rw-r--r-- | tests/python/bl_usd_import_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/python/bl_usd_import_test.py b/tests/python/bl_usd_import_test.py index fc2fc819c8d..1ba9b4f1edf 100644 --- a/tests/python/bl_usd_import_test.py +++ b/tests/python/bl_usd_import_test.py @@ -10,6 +10,7 @@ import bpy args = None + class AbstractUSDTest(unittest.TestCase): @classmethod def setUpClass(cls): @@ -22,6 +23,7 @@ class AbstractUSDTest(unittest.TestCase): # Make sure we always start with a known-empty file. bpy.ops.wm.open_mainfile(filepath=str(self.testdir / "empty.blend")) + class USDImportTest(AbstractUSDTest): def test_import_prim_hierarchy(self): @@ -42,6 +44,7 @@ class USDImportTest(AbstractUSDTest): self.assertEqual(objects['World'], objects['Empty'].parent) self.assertEqual(objects['Empty'], objects['Plane_002'].parent) + def main(): global args import argparse |