From b7bec1bf6843434e17d07556a9d24e70a12e3155 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Fri, 9 Apr 2021 16:11:34 +0900 Subject: [PATCH] Update test config --- app/api/tests/test_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/tests/test_config.py b/app/api/tests/test_config.py index c8d49217..7dcf9ced 100644 --- a/app/api/tests/test_config.py +++ b/app/api/tests/test_config.py @@ -2,9 +2,10 @@ from contextlib import contextmanager from importlib import reload from os import environ -from django.conf import settings from django.test import TestCase +from app import settings + class TestDatabaseUrl(TestCase): def test_sslmode_defaults_to_required(self): @@ -42,4 +43,3 @@ def setenv(key, value): reload(settings) yield del environ[key] -