-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add python binding for UsdValidationError
#3236
Add python binding for UsdValidationError
#3236
Conversation
@nvmkuruc for vis. |
e4cd5ae
to
51cae57
Compare
Filed as internal issue #USD-9995 |
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
51cae57
to
e8831f8
Compare
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
e8831f8
to
a048ccd
Compare
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
|
||
|
||
class TestUsdValidationError(unittest.TestCase): | ||
def test_create_default_error_site(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since I have started syncing this one internally, I am addressing these but as a fyi the naming convention we seem to use here is test_CreateDefaultErrorSite
, and _VerifyErrorSiteWithLayer
, etc. Refer few examples here: https://github.com/PixarAnimationStudios/OpenUSD/blob/release/pxr/usd/usd/testenv/testUsdStage.py.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @roggiezhang-nv. I have already updated these internally for this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Thanks.
Description of Change(s)
Add Python binding for
UsdValidationError
,UsdValidationErrorSite
, andUsdValidationErrorType
.It is stacked on #3223, and #3232 for adding Python bindings for validator framework.
Fixes Issue(s)