Add unit tests for nearly all datagrid columns.
Review Request #14843 — Created Feb. 21, 2026 and updated
We were lacking tests for most datagrid columns, and this meant that we
didn't catch a series of implementation issues, such as a mixture of
safe and non-safe strings for HTML, non-string return types for
rendering (integers and aRepositoryinstance in one case).Upcoming work will be addressing these and adding support required for
a dashboard API resource. To prepare for that, and to provide a good
base for upcoming fixes, this change fleshes out our datagrid column
test suite to cover all columns but the Repository column (which can't
easily be tested without those fixes).
Unit tests pass.
| Summary | ID |
|---|---|
| ce0bd5964a7b9232457f49bb6d313cc63739f7fa |
| Description | From | Last Updated |
|---|---|---|
|
'django.utils.safestring.SafeString' imported but unused Column: 1 Error code: F401 |
|
- Change Summary:
-
Removed an unused import.
- Commits:
-
Summary ID 7c40c1a9ebef05796c853f412d4b1db1cf32c573 ce0bd5964a7b9232457f49bb6d313cc63739f7fa - Diff:
-
Revision 2 (+2042)