Skip to content

Commit

Permalink
Merge pull request #4033 from Autodesk/bailp/EMSUSD-1912/light-test-p…
Browse files Browse the repository at this point in the history
…roblem-temp-fix

EMSUSD-1912 disable new light test on USD 24.11
  • Loading branch information
seando-adsk authored Dec 6, 2024
2 parents 50b562f + 1363e42 commit 1193416
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/lib/ufe/testLight.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,16 @@
import fixturesUtils
import mayaUtils
import testUtils
import ufeUtils
import usdUtils

from pxr import Gf, Sdf
from pxr import Usd, Sdf

from maya import cmds
from maya import standalone
from maya.api import OpenMaya as om

import ufe
import os

from functools import partial
import unittest

class LightTestCase(unittest.TestCase):
Expand Down Expand Up @@ -321,6 +318,7 @@ def testUsdVolumeLights(self):
usdDomeLight = usdUtils.getPrimFromSceneItem(domelightItem)
self._TestDomeLight(ufeDomeLight, usdDomeLight)

@unittest.skipUnless(Usd.GetVersion() < (0, 24, 11), 'USD 24.11 reports the root layer dirty even though data is unmodified.')
def testLoadingLight(self):
'''
Verify that the act of loading a stage with lights does not dirty the stage.
Expand All @@ -331,6 +329,7 @@ def testLoadingLight(self):
# Verify the stage is not dirty
def verifyClean():
layer: Sdf.Layer = stage.GetRootLayer()
print(layer.ExportToString())
self.assertFalse(layer.dirty)

verifyClean()
Expand Down

0 comments on commit 1193416

Please sign in to comment.