File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1111from .utils import registerNodeDesc
1212
1313
14- class TestNodeInfos :
14+ class TestNodeInfo :
1515 plugin = None
1616
1717 @classmethod
@@ -43,13 +43,13 @@ def test_loadedPlugin(self):
4343
4444 nodeDocumentation = node .getDocumentation ()
4545 assert nodeDocumentation == "PluginCNodeA"
46- nodeInfos = {item ["key" ]: item ["value" ] for item in node .getNodeInfos ()}
47- assert nodeInfos ["module" ] == "pluginC.PluginCNodeA"
46+ nodeInfo = {item ["key" ]: item ["value" ] for item in node .getNodeInfo ()}
47+ assert nodeInfo ["module" ] == "pluginC.PluginCNodeA"
4848 pluginPath = os .path .join (self .folder , "pluginC" , "PluginCNodeA.py" )
49- assert nodeInfos ["modulePath" ] == Path (pluginPath ).as_posix () # modulePath seems to follow linux convention
50- assert nodeInfos ["author" ] == "testAuthor"
51- assert nodeInfos ["license" ] == "no-license"
52- assert nodeInfos ["version" ] == "1.0"
49+ assert nodeInfo ["modulePath" ] == Path (pluginPath ).as_posix () # modulePath seems to follow Linux convention
50+ assert nodeInfo ["author" ] == "testAuthor"
51+ assert nodeInfo ["license" ] == "no-license"
52+ assert nodeInfo ["version" ] == "1.0"
5353
5454
5555class TestNodeVariables :
You can’t perform that action at this time.
0 commit comments