small changes
rodzic
8f4d3b1128
commit
05bc4e41db
|
@ -12,8 +12,6 @@ https://docs.djangoproject.com/en/4.1/ref/settings/
|
|||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
import os
|
||||
import json
|
||||
|
||||
|
||||
PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
BASE_DIR = os.path.dirname(PROJECT_DIR)
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
from django.test import TestCase
|
||||
|
||||
from setup.models import ComfyConfig
|
||||
|
||||
|
||||
class BaseComfyTestCaseMixin:
|
||||
def setUp(self):
|
||||
ComfyConfig.objects.create(
|
||||
logo="images/logo.png",
|
||||
navbar_position="left",
|
||||
shop_enabled=True,
|
||||
active=True,
|
||||
)
|
||||
super().setUp()
|
|
@ -15,4 +15,3 @@ easy_thumbnails==2.8.5
|
|||
num2words==0.5.12
|
||||
sentry-sdk==1.28.0
|
||||
pandas==2.0.3
|
||||
django-colorfield==0.9.0
|
||||
|
|
Ładowanie…
Reference in New Issue