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 352fab7 commit 91da524Copy full SHA for 91da524
atest/plugin_api/MyPluginBase.py
@@ -5,6 +5,9 @@
5
6
class MyPluginBase(BaseClass):
7
8
+ def __init__(self, arg):
9
+ self.arg = int(arg)
10
+
11
@keyword
12
def base_plugin_keyword(self):
- return "40"
13
+ return 40 + self.arg
atest/plugin_api/plugin_api.robot
@@ -7,9 +7,9 @@ Plugin Test
Should Be Equal ${value} ${2}
Plugins With Base Class
- Import Library ${CURDIR}/PluginWithBaseLib.py plugins=${CURDIR}/MyPluginBase.py
+ Import Library ${CURDIR}/PluginWithBaseLib.py plugins=${CURDIR}/MyPluginBase.py;11
${value} = Base Plugin Keyword
- Should Be Equal ${value} 40
+ Should Be Equal ${value} ${51}
${value} = Base Keyword
14
Should Be Equal ${value} 42
15
0 commit comments