Browse Source

Update test config

pull/1310/head
Hironsan 3 years ago
parent
commit
b7bec1bf68
1 changed files with 2 additions and 2 deletions
  1. 4
      app/api/tests/test_config.py

4
app/api/tests/test_config.py

@ -2,9 +2,10 @@ from contextlib import contextmanager
from importlib import reload from importlib import reload
from os import environ from os import environ
from django.conf import settings
from django.test import TestCase from django.test import TestCase
from app import settings
class TestDatabaseUrl(TestCase): class TestDatabaseUrl(TestCase):
def test_sslmode_defaults_to_required(self): def test_sslmode_defaults_to_required(self):
@ -42,4 +43,3 @@ def setenv(key, value):
reload(settings) reload(settings)
yield yield
del environ[key] del environ[key]
Loading…
Cancel
Save