diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2020-04-15 16:03:26 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-04-30 11:18:25 -0400 |
commit | 6c334d558aff2dc911614490794eed506f9e522a (patch) | |
tree | e48ed31efdc57d1adc2ba65a8126a40c6d46b7a9 /tests | |
parent | d9dd8ad790b6799491e4891ae19bb85124ab6794 (diff) | |
download | sos-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.py | 2 |
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): |