We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a88f3 commit 0167033Copy full SHA for 0167033
1 file changed
tests/test_api.py
@@ -68,9 +68,11 @@ def test_api_registerNode(self):
68
assert "InputFile" in nodes
69
70
def test_api_loadGraph(self, sceneFilepath):
71
+ def assertPathsAreEqual(p1, p2):
72
+ assert os.path.normpath(p1) == os.path.normpath(p2)
73
g = loadGraph(sceneFilepath, failedOnCompatbility=True)
- assert g.filepath == sceneFilepath
- assert os.path.dirname(g.cacheDir) == os.path.dirname(sceneFilepath)
74
+ assertPathsAreEqual(g.filepath, sceneFilepath)
75
+ assertPathsAreEqual(os.path.dirname(g.cacheDir), os.path.dirname(sceneFilepath))
76
77
def test_api_loadGraphRaiseOnCompatibility(self, sceneFilepath):
78
node = getInputFileNodePlugin()
0 commit comments