Skip to content

Commit

Permalink
[chores] Fixed test project settings
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed May 12, 2023
1 parent ca6136b commit 71b833c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/openwisp2/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
DATABASES = {
'default': {
'ENGINE': 'django.contrib.gis.db.backends.spatialite',
'NAME': 'openwisp_network_topology.db',
'NAME': os.path.join(BASE_DIR, 'openwisp_network_topology.db'),
}
}

Expand Down Expand Up @@ -228,6 +228,6 @@

# local settings must be imported before test runner otherwise they'll be ignored
try:
from local_settings import *
from .local_settings import *
except ImportError:
pass

0 comments on commit 71b833c

Please sign in to comment.