Skip to content

Commit

Permalink
Attempt in fixing test on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
lanierd-adsk committed Jul 18, 2024
1 parent 530403f commit 00013d8
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,18 @@
import mtohUtils
import mayaUtils
from testUtils import PluginLoaded
import platform

class TestMayaDefaultMaterial(mtohUtils.MayaHydraBaseTestCase): #Subclassing mtohUtils.MayaHydraBaseTestCase to be able to call self.assertSnapshotClose
# MayaHydraBaseTestCase.setUpClass requirement.
_file = __file__

IMAGE_DIFF_FAIL_THRESHOLD = 0.05
IMAGE_DIFF_FAIL_PERCENT = 1.5
@property
def IMAGE_DIFF_FAIL_PERCENT(self):
if platform.system() == "Darwin":
return 3
return 1.5

def test_MayaDefaultMaterial(self):

Expand Down

0 comments on commit 00013d8

Please sign in to comment.