use only postgres as database for testing

remotes/origin/ESHOP_refactor_products_app
FUNNYDMAN 7 years ago
parent 75106ef662
commit 19f9cc95e9
  1. 4
      eshop/eshop_project/settings/base.py
  2. 0
      eshop/products/tests/__init__.py
  3. 2
      eshop/products/tests/test_models.py

@ -127,10 +127,6 @@ MPTT_ADMIN_LEVEL_INDENT = 20
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases
DATABASES = {
'extra': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(PROJECT_DIR, 'eshop.sqlite.db')
},
'default': {
'ENGINE': env.str('DB_ENGINE'),
'NAME': env.str('DB_NAME'),

@ -1,5 +1,5 @@
from django.test import TestCase
from .models import Manufacturer, STATUS_DEFAULT
from products.models import Manufacturer, STATUS_DEFAULT
class ManufactureTestCase(TestCase):
Loading…
Cancel
Save