Skip to content

Commit

Permalink
fix testUsdMtlxParser on windows
Browse files Browse the repository at this point in the history
(Internal change: 2217757)
  • Loading branch information
tallytalwar authored and pixar-oss committed Feb 24, 2022
1 parent a4f8157 commit ff1e6fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pxr/usd/usdMtlx/testenv/testUsdMtlxParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ def test_NodeParser(self):

# Verify common info.
for node in nodes:
self.assertEqual(node.GetResolvedImplementationURI(),
os.path.abspath("test.mtlx"))
implementationUri = node.GetResolvedImplementationURI()
self.assertEqual(os.path.normcase(implementationUri),
os.path.normcase(os.path.abspath("test.mtlx")))
self.assertEqual(node.GetSourceType(), "mtlx")
self.assertEqual(node.GetFamily(), "UsdMtlxTestNode")
self.assertEqual(sorted(node.GetInputNames()), ["in", "note"])
Expand Down

0 comments on commit ff1e6fd

Please sign in to comment.