Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bbhtt committed Jun 24, 2024
1 parent 71da849 commit 12a55f7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<component type="generic">
<id>org.flathub.example.console</id>
<name>Example Console Application</name>
<summary>Example Console Application</summary>
<url type="homepage">https://flathub.org</url>
<description>
<p>This is an example</p>
</description>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<content_rating type="oars-1.1"/>
</component>
2 changes: 1 addition & 1 deletion tests/test_builddir.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def test_builddir_appid() -> None:
ret = run_checks("tests/builddir/appid")
found_errors = set(ret["errors"])
assert errors.issubset(found_errors)
assert "appstream-metainfo-missing" in found_errors


def test_builddir_finish_args() -> None:
Expand Down Expand Up @@ -116,7 +117,6 @@ def test_builddir_console() -> None:
errors = {
"finish-args-not-defined",
"appstream-unsupported-component-type",
"appstream-metainfo-missing",
}

ret = run_checks("tests/builddir/console")
Expand Down

0 comments on commit 12a55f7

Please sign in to comment.