Add .env.example with configuration for database, Redis, security, SMTP, workers, and plugins. Add .gitignore for Python, Node.js, Next.js, Docker volumes, and IDE files. Add MIT License. Update README.md with feature overview, quick start guide, architecture description, plugin system documentation, security details, backup/restore instructions, and developer setup. Add Alembic configuration files and placeholder directories for API, web, worker, and plugin components
10 lines
226 B
Python
10 lines
226 B
Python
from apps.worker.src.celery_app import app
|
|
|
|
|
|
def test_celery_app_name():
|
|
assert app.main == "apps.worker.src.celery_app"
|
|
|
|
|
|
def test_celery_task_registered():
|
|
assert "apps.worker.src.tasks.run_plugin_sync" in app.tasks
|