diff --git a/test/lib/mayaUsd/render/mayaToHydra/testStagePayloadsReferences.py b/test/lib/mayaUsd/render/mayaToHydra/testStagePayloadsReferences.py index 7c7f9cd531..047885dd90 100644 --- a/test/lib/mayaUsd/render/mayaToHydra/testStagePayloadsReferences.py +++ b/test/lib/mayaUsd/render/mayaToHydra/testStagePayloadsReferences.py @@ -20,9 +20,7 @@ import unittest import testUtils import mayaUtils -import usdUtils import ufe -import usdUfe from pxr import Usd, Sdf class TestUsdStagePayloadsAndReferences(mtohUtils.MtohTestCase): #Subclassing mtohUtils.MtohTestCase to be able to call self.assertSnapshotClose @@ -72,6 +70,7 @@ def setUpPayloadScene(self): cmds.file(new=True, force=True) import mayaUsd_createStageWithNewLayer from mayaUsd import lib as mayaUsdLib + import usdUtils self.setHdStormRenderer() @@ -99,7 +98,8 @@ def setUpPayloadScene(self): @unittest.skipUnless(mtohUtils.checkForMayaUsdPlugin(), "Requires Maya USD Plugin.") def test_UsdStagePayloadsOnTheFly(self): import mayaUsd.ufe - + import usdUfe + self.setUpPayloadScene() primUfePath = "|stage1|stageShape1,/A"