From 64d03fcc11434be77a99a6a315f225673da5872a Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Wed, 13 Jan 2021 22:14:33 +0000 Subject: simulator: test_qa: Update to match latest policy Signed-off-by: Daniel Thompson 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: -- cgit v0.10.2