summaryrefslogtreecommitdiff
path: root/wasp/apps/clock.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/clock.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/clock.py')
-rw-r--r--wasp/apps/clock.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/wasp/apps/clock.py b/wasp/apps/clock.py
index 9e6ba05..5c7854d 100644
--- a/wasp/apps/clock.py
+++ b/wasp/apps/clock.py
@@ -5,6 +5,9 @@
~~~~~~~~~~~~~~~~
Shows a time (as HH:MM) together with a battery meter and the date.
+
+.. figure:: res/ClockApp.png
+ :width: 179
"""
import wasp
@@ -21,13 +24,7 @@ DIGITS = (
MONTH = 'JanFebMarAprMayJunJulAugSepOctNovDec'
class ClockApp():
- """Simple digital clock application.
-
- .. figure:: res/ClockApp.png
- :width: 179
-
- Screenshot of the clock application
- """
+ """Simple digital clock application."""
NAME = 'Clock'
ICON = icons.clock