From c0a53fa837dda31c09230bd05a2e5c45924f6a62 Mon Sep 17 00:00:00 2001 From: Pierre Baillargeon Date: Wed, 5 Apr 2023 12:09:05 -0400 Subject: [PATCH] MAYA-127817 fix unit test for old UFE versions --- test/lib/mayaUsd/nodes/testProxyShapeBase.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/lib/mayaUsd/nodes/testProxyShapeBase.py b/test/lib/mayaUsd/nodes/testProxyShapeBase.py index eb7b40ec11..26a4245e59 100644 --- a/test/lib/mayaUsd/nodes/testProxyShapeBase.py +++ b/test/lib/mayaUsd/nodes/testProxyShapeBase.py @@ -564,6 +564,7 @@ def verifyPrim(): # Verify that we did not lose the data on the root layer. verifyPrim() + @unittest.skipUnless(ufeUtils.ufeFeatureSetVersion() >= 2, 'testSettingStageViaIdPreservedWhenSaved only available in UFE v2 or greater.') def testSettingStageViaIdPreservedWhenSaved(self): ''' Verify that setting the stage via the stageCacheId on the proxy shape can be reloaded.