Skip to content

Commit

Permalink
Update tests for developer_name requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
barthalion committed Jan 29, 2024
1 parent 02feef6 commit a3ffbf5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_builddir.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,18 @@ def test_builddir_desktop_file() -> None:

def test_builddir_quality_guidelines() -> None:
ret = run_checks("tests/builddir/appdata-quality")
warnings = {
errors = {
"appstream-missing-developer-name",
}
warnings = {
"appstream-name-too-long",
"appstream-screenshot-missing-caption",
"appstream-summary-too-long",
"appstream-missing-project-license",
}
found_warnings = set(ret["warnings"])
found_errors = set(ret["errors"])
for w in warnings:
assert w in found_warnings
for e in errors:
assert e in found_errors

0 comments on commit a3ffbf5

Please sign in to comment.