diff --git a/tests/test_app.py b/tests/test_app.py index 82c7c6a..23cfad1 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -576,7 +576,7 @@ def badges_in_readme(app) -> TestResult: if ( "This README was automatically generated" not in content - or f"https://apps.yunohost.org/badge/integration/{id_}" not in content + or (f"dash.yunohost.org/integration/{id_}.svg" not in content and f"https://apps.yunohost.org/badge/integration/{id_}" not in content) ): yield Warning( "It looks like the README was not generated automatically by https://github.com/YunoHost/apps/tree/master/tools/README-generator. "