Performance: make move files after select custom field change async (#11391)

This commit is contained in:
shamoon
2025-11-19 07:21:33 -08:00
committed by GitHub
parent 25b5e8fede
commit cf5ac596ed
3 changed files with 7 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ from unittest.mock import ANY
from django.contrib.auth.models import Permission
from django.contrib.auth.models import User
from django.test import override_settings
from rest_framework import status
from rest_framework.test import APITestCase
@@ -211,6 +212,7 @@ class TestCustomFieldsAPI(DirectoriesMixin, APITestCase):
],
)
@override_settings(CELERY_TASK_ALWAYS_EAGER=True)
def test_custom_field_select_options_pruned(self):
"""
GIVEN: