From 769d4fb9c40d7152e48f8d78a15a7c35b926e3fb Mon Sep 17 00:00:00 2001 From: Gagan Deep Date: Wed, 7 Jun 2023 16:54:08 +0530 Subject: [PATCH] [chores] Fixed test suite --- .github/workflows/ci.yml | 7 +++++++ openwisp_network_topology/integrations/device/tests.py | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 965a100a..532fb95e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,13 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Install system packages + run: | + sudo apt update + sudo apt-get -qq -y install sqlite3 gdal-bin libproj-dev \ + libgeos-dev libspatialite-dev spatialite-bin \ + libsqlite3-mod-spatialite + - name: Install python system packages run: pip install -U pip wheel setuptools diff --git a/openwisp_network_topology/integrations/device/tests.py b/openwisp_network_topology/integrations/device/tests.py index bf4094ba..a3a9f5b3 100644 --- a/openwisp_network_topology/integrations/device/tests.py +++ b/openwisp_network_topology/integrations/device/tests.py @@ -416,10 +416,11 @@ def test_monitoring_integration(self, *args): with self.modify_settings( INSTALLED_APPS={ 'append': [ + 'openwisp_controller.connection', + 'openwisp_controller.geo', 'openwisp_monitoring.monitoring', 'openwisp_monitoring.device', 'openwisp_monitoring.check', - 'openwisp_controller.connection', 'openwisp_notifications', ] }