#37030: Added edge-case test coverage for admin changelist search and ordering
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  Cyberpunk-San
  Cyberpunk-San                      |
                   Type:             |         Status:  assigned
  Cleanup/optimization               |
              Component:  Testing    |        Version:  6.0
  framework                          |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 This contribution adds several edge-case tests to the admin_changelist
 suite to ensure robustness in search, ordering, and filtering.

 The new tests in tests/admin_changelist/tests.py cover:
 1. Search validation with extremely long strings (10,000 characters).
 2. Graceful handling of whitespace-only search queries.
 3. Correct ordering behavior when integer fields (like 'age') contain NULL
 values.
 4. Proper filtering for Many-to-Many relationships when no associations
 exist (empty/invalid ID).

 All tests will pass against the main branch.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37030>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019d823c6ca2-5b7ba437-9218-4bbd-b70e-82f46e363676-000000%40eu-central-1.amazonses.com.

Reply via email to