Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Xpirix committed Jan 6, 2025
1 parent 4df094b commit 88923ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qgis-app/plugins/tests/test_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_generate_plugins_xml(self, mock_open, mock_mkdir, mock_exists, mock_get
# Given
mock_response = MagicMock()
mock_response.status_code = 200
mock_response.text = '<some xml content>'
mock_response.text = '<some xml content> QGIS Version 34002|Visit https://download.qgis.org to get your copy of version 3.40.2'
mock_get.return_value = mock_response
preferences.SitePreference.qgis_versions = '3.24,3.25'

Expand Down Expand Up @@ -74,7 +74,7 @@ def test_generate_plugins_xml_with_custom_site(self, mock_open, mock_mkdir, mock
# Given
mock_response = MagicMock()
mock_response.status_code = 200
mock_response.text = '<some xml content>'
mock_response.text = '<some xml content> QGIS Version 34002|Visit https://download.qgis.org to get your copy of version 3.40.2'
mock_get.return_value = mock_response
preferences.SitePreference.qgis_versions = '3.24,3.25'

Expand Down

0 comments on commit 88923ad

Please sign in to comment.