diff options
author | RĂ©mi Duraffort <remi.duraffort@linaro.org> | 2018-02-08 17:32:43 +0100 |
---|---|---|
committer | Matt Hart <matthew.hart@linaro.org> | 2018-02-15 13:19:34 +0000 |
commit | 377e6704de6fe72687d949125cd4bd0f29b0797f (patch) | |
tree | 3c18eff844d60a4d93b94d32d8cfe53cc037ae1d /lava_dispatcher/actions/test/multinode.py | |
parent | 93f4aadb1e5465e9dfe836793673fcbce90e7e3c (diff) |
Move name, description and summary as class variable
This also fix the name when calling parent __init__ function.
Change-Id: I302c3920eed9ef51232e22d75d555f0d34abf510
Diffstat (limited to 'lava_dispatcher/actions/test/multinode.py')
-rw-r--r-- | lava_dispatcher/actions/test/multinode.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lava_dispatcher/actions/test/multinode.py b/lava_dispatcher/actions/test/multinode.py index 3a02cce54..4efae9bb8 100644 --- a/lava_dispatcher/actions/test/multinode.py +++ b/lava_dispatcher/actions/test/multinode.py @@ -70,11 +70,12 @@ class MultinodeTestShell(LavaTest): class MultinodeTestAction(TestShellAction): + name = "multinode-test" + description = "Executing lava-test-runner" + summary = "Multinode Lava Test Shell" + def __init__(self): super(MultinodeTestAction, self).__init__() - self.name = "multinode-test" - self.description = "Executing lava-test-runner" - self.summary = "Multinode Lava Test Shell" self.multinode_dict = { 'multinode': r'<LAVA_MULTI_NODE> <LAVA_(\S+) ([^>]+)>', } |