aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2020-04-15 16:03:26 -0400
committerJake Hunsaker <jhunsake@redhat.com>2020-04-30 11:18:25 -0400
commit6c334d558aff2dc911614490794eed506f9e522a (patch)
treee48ed31efdc57d1adc2ba65a8126a40c6d46b7a9 /tests
parentd9dd8ad790b6799491e4891ae19bb85124ab6794 (diff)
downloadsos-6c334d558aff2dc911614490794eed506f9e522a.tar.gz
[plugins] Convert docstrings to class attrs
Converts all current plugin docstrings into a `short_desc` attribute, that is now referenced by `Plugin.get_description()`. Closes: #1960 Resolves: #2036 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/plugin_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py
index bc7f7cc8..39705599 100644
--- a/tests/plugin_tests.py
+++ b/tests/plugin_tests.py
@@ -69,8 +69,8 @@ class MockPlugin(Plugin):
class NamedMockPlugin(Plugin):
- """This plugin has a description."""
+ short_desc = "This plugin has a description."
plugin_name = "testing"
def setup(self):