From b273faa311732696ac9e6b419117dfa311355b40 Mon Sep 17 00:00:00 2001 From: Mattia Date: Tue, 22 Oct 2024 17:22:54 +0200 Subject: [PATCH] fix build --- Dockerfile | 2 +- importer/handlers/tiles3d/tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b40b28c..86e2e59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM geonode/geonode-base:latest-ubuntu-22.04 RUN rm -rf /usr/src/geonode RUN git clone https://github.com/GeoNode/geonode.git /usr/src/geonode -RUN cd /usr/src/geonode && git fetch --all && git checkout master && cd - +RUN cd /usr/src/geonode && git fetch --all && git checkout 4.4.x && cd - RUN mkdir -p /usr/src/importer RUN cd .. diff --git a/importer/handlers/tiles3d/tests.py b/importer/handlers/tiles3d/tests.py index 8817b86..aee5595 100755 --- a/importer/handlers/tiles3d/tests.py +++ b/importer/handlers/tiles3d/tests.py @@ -91,7 +91,7 @@ def test_extract_params_from_data(self): action="copy", ) - self.assertEqual(actual, {"title": "title_of_the_cloned_resource"}) + self.assertEqual(actual, {'store_spatial_file': True, 'title': 'title_of_the_cloned_resource'}) def test_is_valid_should_raise_exception_if_the_3dtiles_is_invalid(self): data = {