Skip to content

Commit

Permalink
Fix tests for new environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScarlettGatelyMoore committed Oct 14, 2024
1 parent 74e1259 commit d3a5dc6
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions tests/unit/extensions/test_kde_neon_6.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,10 @@ def test_get_root_snippet(kde_neon_6_extension):
assert kde_neon_6_extension.get_root_snippet() == {
"assumes": ["snapd2.58.3"],
"compression": "lzo",
"environment": {"SNAP_DESKTOP_RUNTIME": "$SNAP/kf6"},
"environment": {
"SNAP_DESKTOP_RUNTIME": "$SNAP/kf6",
"GTK_USE_PORTAL": "1",
},
"hooks": {
"configure": {
"plugs": ["desktop"],
Expand Down Expand Up @@ -242,7 +245,7 @@ def test_get_root_snippet_core24(kde_neon_6_extension_core24):
"assumes": ["snapd2.58.3"],
"compression": "lzo",
"environment": {
"SNAP_DESKTOP_RUNTIME": "$SNAP/gnome-platform",
"SNAP_DESKTOP_RUNTIME": "$SNAP/kf6",
"GTK_USE_PORTAL": "1",
},
"hooks": {
Expand Down Expand Up @@ -344,7 +347,10 @@ def test_get_root_snippet_with_external_sdk(kde_neon_6_extension_with_build_snap
assert kde_neon_6_extension_with_build_snap.get_root_snippet() == {
"assumes": ["snapd2.58.3"],
"compression": "lzo",
"environment": {"SNAP_DESKTOP_RUNTIME": "$SNAP/kf6"},
"environment": {
"SNAP_DESKTOP_RUNTIME": "$SNAP/kf6",
"GTK_USE_PORTAL": "1",
},
"hooks": {
"configure": {
"plugs": ["desktop"],
Expand Down Expand Up @@ -414,7 +420,10 @@ def test_get_root_snippet_with_external_sdk_core24(
assert kde_neon_6_extension_with_build_snap_core24.get_root_snippet() == {
"assumes": ["snapd2.58.3"],
"compression": "lzo",
"environment": {"SNAP_DESKTOP_RUNTIME": "$SNAP/kf6"},
"environment": {
"SNAP_DESKTOP_RUNTIME": "$SNAP/kf6",
"GTK_USE_PORTAL": "1",
},
"hooks": {
"configure": {
"plugs": ["desktop"],
Expand Down

0 comments on commit d3a5dc6

Please sign in to comment.