Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HYDRA-824 - add unit test for maya lights #52

Merged
merged 4 commits into from
Feb 2, 2024

Conversation

lilike-adsk
Copy link
Collaborator

Modify the testDirectionalLights test to cover more cases for MAYA lights:
1.different lighting modes
2.shadow on/off

@lilike-adsk
Copy link
Collaborator Author

@lilike-adsk lilike-adsk self-assigned this Jan 31, 2024
import mayaUtils
import unittest

class TesMayatLights(mtohUtils.MtohTestCase): #Subclassing mtohUtils.MtohTestCase to be able to call self.assertSnapshotClose
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "t" from test has been moved after Maya in the class name. :-) Can you please fix it ? Thanks.

"testMayaLights",
"testMayaLights.ma")
cmds.refresh()
#Do a view fit --Test removed as on Linux the fit doesn't produce the same result as on Windows and OSX.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please remove that commented code which I did in a previous PR, it's not required to keep it. Thanks.

@lilike-adsk lilike-adsk added test ready-for-merge Development process is finished, PR is ready for merge labels Feb 2, 2024
@lilike-adsk lilike-adsk merged commit dfc4b76 into dev Feb 2, 2024
10 checks passed
@lilike-adsk lilike-adsk deleted the lilike/HYDRA-824/add-test-for-maya-lights branch February 2, 2024 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants