summaryrefslogtreecommitdiff
path: root/wasp/apps/flashlight.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2021-01-13 21:51:17 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2021-01-13 21:51:17 (GMT)
commit39d87830558540fefad1d4dd24a14f273bd4d5a7 (patch)
tree3a313419861c91ce19b47f9c6e865b55af160077 /wasp/apps/flashlight.py
parentf7ef1654339b05989f0cdfc9ff5ab78ca03300b6 (diff)
simulator: test_qa: Add some basic docstring tests
This one picked up a lot of inconsistancy so the changes here are pretty big. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/apps/flashlight.py')
-rw-r--r--wasp/apps/flashlight.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/wasp/apps/flashlight.py b/wasp/apps/flashlight.py
index f5b8684..fa734c7 100644
--- a/wasp/apps/flashlight.py
+++ b/wasp/apps/flashlight.py
@@ -5,6 +5,9 @@
~~~~~~~~~~~~~
Shows a pure white screen with the backlight set to maximum.
+
+.. figure:: res/TorchApp.png
+ :width: 179
"""
import wasp
@@ -12,13 +15,7 @@ import wasp
import icons
class TorchApp(object):
- """Trivial flashlight application.
-
- .. figure:: res/TorchApp.png
- :width: 179
-
- Screenshot of the flashlight application
- """
+ """Trivial flashlight application."""
NAME = 'Torch'
ICON = icons.torch