From b65a2ee41d16efd1a056727e59c229eb8258070f Mon Sep 17 00:00:00 2001 From: Ghassan Maslamani Date: Fri, 8 Oct 2021 16:09:04 +0300 Subject: [PATCH] set deafult DB_host as localhost --- tests/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/settings.py b/tests/settings.py index ac1a80f..ec42daf 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -10,7 +10,7 @@ DATABASES = { "NAME": os.environ.get("DB_NAME", "modelutils"), "USER": os.environ.get("DB_USER", 'postgres'), "PASSWORD": os.environ.get("DB_PASSWORD", ""), - "HOST": os.environ.get("DB_HOST", ""), + "HOST": os.environ.get("DB_HOST", "localhost"), "PORT": os.environ.get("DB_PORT", 5432) }, }