Skip to content

Commit 23efb4d

Browse files
committed
[tests] Replace every "infos" occurrence with "info"
1 parent 57adaec commit 23efb4d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/test_nodes.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from .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

5555
class TestNodeVariables:

0 commit comments

Comments
 (0)