Skip to content

Commit

Permalink
Bump qgis to 3.26.1
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Aug 11, 2022
1 parent 366bad1 commit ab9ca8c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
18 changes: 16 additions & 2 deletions docker-app/qfieldcloud/core/tests/test_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,11 @@ def test_list_files_for_qfield(self):
("delta/project2.qgs", "project.qgs"),
("delta/points.geojson", "points.geojson"),
],
expected_files=["data.gpkg", "project_qfield.qgs"],
expected_files=[
"data.gpkg",
"project_qfield.qgs",
"project_qfield_attachments.zip",
],
)

def test_list_files_missing_qgis_project_file(self):
Expand Down Expand Up @@ -278,6 +282,7 @@ def test_download_file_for_qfield(self):
expected_files=[
"data.gpkg",
"project_qfield.qgs",
"project_qfield_attachments.zip",
],
tempdir=tempdir,
)
Expand Down Expand Up @@ -366,6 +371,7 @@ def test_downloaded_file_has_canvas_name(self):
expected_files=[
"data.gpkg",
"project_qfield.qgs",
"project_qfield_attachments.zip",
],
tempdir=tempdir,
)
Expand All @@ -390,6 +396,7 @@ def test_download_project_with_broken_layer_datasources(self):
expected_files=[
"data.gpkg",
"project_broken_datasource_qfield.qgs",
"project_broken_datasource_qfield_attachments.zip",
],
invalid_layers=["surfacestructure_35131bca_337c_483b_b09e_1cf77b1dfb16"],
)
Expand All @@ -412,6 +419,7 @@ def test_needs_repackaging_without_online_vector(self):
expected_files=[
"data.gpkg",
"project_qfield.qgs",
"project_qfield_attachments.zip",
],
)

Expand Down Expand Up @@ -451,7 +459,11 @@ def test_needs_repackaging_with_online_vector(self):
("delta/project2.qgs", "project.qgs"),
("delta/points.geojson", "points.geojson"),
],
expected_files=["data.gpkg", "project_qfield.qgs"],
expected_files=[
"data.gpkg",
"project_qfield.qgs",
"project_qfield_attachments.zip",
],
)

self.project1.refresh_from_db()
Expand Down Expand Up @@ -566,6 +578,7 @@ def test_filename_with_whitespace(self):
expected_files=[
"data.gpkg",
"project_qfield.qgs",
"project_qfield_attachments.zip",
],
)

Expand Down Expand Up @@ -594,5 +607,6 @@ def test_collaborator_can_package(self):
expected_files=[
"data.gpkg",
"project_qfield.qgs",
"project_qfield_attachments.zip",
],
)
2 changes: 1 addition & 1 deletion docker-qgis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM qgis/qgis:final-3_24_2
FROM qgis/qgis:final-3_26_1

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
Expand Down

0 comments on commit ab9ca8c

Please sign in to comment.