bottleneckcrm/backend/webhooks/apps.py
Ashwin dd6ca2958d Add unit tests for organization admin checks and saved views provider
- Implement tests for `isOrgAdminProvider` to validate admin roles based on organization membership and role.
- Create tests for `saved_views_provider` to ensure correct API interactions for saving, renaming, and deleting saved views.
- Enhance ticket tree tests to accurately reflect inactive and merged ticket handling.
- Update CSV import tests to verify error handling and file saving functionality.
- Introduce tests for deal cards to ensure correct display of next steps and task statuses.
2026-09-26 20:38:32 +05:30

12 lines
419 B
Python

from django.apps import AppConfig
class WebhooksConfig(AppConfig):
name = "webhooks"
default_auto_field = "django.db.models.BigAutoField"
def ready(self):
# Importing the modules is what connects their receivers. They live
# here rather than beside the models they watch, so no other app has to
# know webhooks exist.
from webhooks import ownership, signals # noqa: F401