Skip to content

Commit

Permalink
fix: tests were failing because of upstream URL change (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts authored Feb 19, 2024
2 parents 96c96f4 + 55c3778 commit 96e90c5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion qgis_deployment_toolbelt/plugins/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def uri_to_zip(self) -> str:
sample_plugin_different_name = {
"name": "Layers menu from project",
"version": "v2.0.6",
"url": "https://plugins.qgis.org/plugins/menu_from_project/version/v2.0.6/download/",
"url": "https://plugins.qgis.org/plugins/menu_from_project/version/2.0.6/download/",
"type": "remote",
"plugin_id": 1846,
}
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/profiles/good_profile_complete.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"version": "v2.0.6",
"official_repository": true,
"plugin_id": 0,
"url": "https://plugins.qgis.org/plugins/menu_from_project/version/v2.0.6/download/",
"url": "https://plugins.qgis.org/plugins/menu_from_project/version/2.0.6/download/",
"type": "remote"
},
{
Expand All @@ -41,4 +41,4 @@
"repository_url_xml": "https://oslandia.gitlab.io/qgis/ign-geotuileur/plugins.xml"
}
]
}
}
4 changes: 2 additions & 2 deletions tests/test_qplugin_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def test_qplugin_load_from_zip(self):
# plugin as dict
sample_plugin_complex = {
"name": "Layers menu from project",
"version": "v2.0.6",
"url": "https://plugins.qgis.org/plugins/menu_from_project/version/v2.0.6/download/",
"version": "2.0.6",
"url": "https://plugins.qgis.org/plugins/menu_from_project/version/2.0.6/download/",
"type": "remote",
"plugin_id": 1846,
}
Expand Down

0 comments on commit 96e90c5

Please sign in to comment.