diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-01-13 22:14:33 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2021-01-13 22:14:33 (GMT) |
| commit | 64d03fcc11434be77a99a6a315f225673da5872a (patch) | |
| tree | bac83dd039ee7da1b6b488274abb164e17155c2c /wasp | |
| parent | 727bc8c685b5f33c76964f49bb933f68dddb7824 (diff) | |
simulator: test_qa: Update to match latest policy
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp')
| -rw-r--r-- | wasp/boards/simulator/test_qa.py | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/wasp/boards/simulator/test_qa.py b/wasp/boards/simulator/test_qa.py index 195196b..dd19af6 100644 --- a/wasp/boards/simulator/test_qa.py +++ b/wasp/boards/simulator/test_qa.py @@ -5,7 +5,7 @@ import os EXCLUDE = ('Notifications', 'Template', 'Demo') -def test_screenshot_README(constructor): +def test_README(constructor): if constructor.NAME in EXCLUDE: return fname = f'res/{constructor.NAME}App.png'.replace(' ', '') @@ -28,16 +28,9 @@ def test_app_library(constructor): with open('docs/wasp.rst') as f: waspdoc = f.read() - # Every application must be listed in either the - # Application Library or the Reference manual + # Every application must be listed in the Application Library needle = f'.. automodule:: {constructor.__module__}' - assert needle in appdoc or needle in waspdoc - - # If an application is listed in the Reference manual - # then we need to make sure there is long to it from the - # Application Library - if needle in waspdoc: - assert constructor.__name__ in appdoc + assert needle in appdoc def test_docstrings(constructor): if constructor.NAME in EXCLUDE: |
