rename the test app core from test_project to dr_botzo
the ircbot library expects to be able to load from the dr_botzo package Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
parent
d862aa16d8
commit
180d3f8b6f
|
@ -47,7 +47,7 @@ ignore_missing_imports = true
|
|||
|
||||
[tool.pytest.ini_options]
|
||||
python_files = ["*_tests.py", "tests.py", "test_*.py"]
|
||||
DJANGO_SETTINGS_MODULE = "test_project.settings"
|
||||
DJANGO_SETTINGS_MODULE = "dr_botzo.settings"
|
||||
pythonpath = "tests/test_project"
|
||||
|
||||
[tool.setuptools]
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"pk": 1,
|
||||
"fields": {
|
||||
"name": "test",
|
||||
"active": false,
|
||||
"active": true,
|
||||
"channel": 1
|
||||
}
|
||||
},
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
__version__ = 'v0.0.1-TEST'
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
ASGI config for test_project project.
|
||||
ASGI config for dr_botzo project.
|
||||
|
||||
It exposes the ASGI callable as a module-level variable named ``application``.
|
||||
|
||||
|
@ -11,6 +11,6 @@ import os
|
|||
|
||||
from django.core.asgi import get_asgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_project.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'dr_botzo.settings')
|
||||
|
||||
application = get_asgi_application()
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
Django settings for test_project project.
|
||||
Django settings for dr_botzo project.
|
||||
|
||||
Generated by 'django-admin startproject' using Django 5.0.4.
|
||||
|
||||
|
@ -51,7 +51,7 @@ MIDDLEWARE = [
|
|||
'django.middleware.clickjacking.XFrameOptionsMiddleware',
|
||||
]
|
||||
|
||||
ROOT_URLCONF = 'test_project.urls'
|
||||
ROOT_URLCONF = 'dr_botzo.urls'
|
||||
|
||||
TEMPLATES = [
|
||||
{
|
||||
|
@ -69,7 +69,7 @@ TEMPLATES = [
|
|||
},
|
||||
]
|
||||
|
||||
WSGI_APPLICATION = 'test_project.wsgi.application'
|
||||
WSGI_APPLICATION = 'dr_botzo.wsgi.application'
|
||||
|
||||
|
||||
# Database
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
URL configuration for test_project project.
|
||||
URL configuration for dr_botzo project.
|
||||
|
||||
The `urlpatterns` list routes URLs to views. For more information please see:
|
||||
https://docs.djangoproject.com/en/5.0/topics/http/urls/
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
WSGI config for test_project project.
|
||||
WSGI config for dr_botzo project.
|
||||
|
||||
It exposes the WSGI callable as a module-level variable named ``application``.
|
||||
|
||||
|
@ -11,6 +11,6 @@ import os
|
|||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_project.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'dr_botzo.settings')
|
||||
|
||||
application = get_wsgi_application()
|
|
@ -6,7 +6,7 @@ import sys
|
|||
|
||||
def main():
|
||||
"""Run administrative tasks."""
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_project.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'dr_botzo.settings')
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError as exc:
|
||||
|
|
Loading…
Reference in New Issue