diff --git a/tests/test_backends_sqlalchemy.py b/tests/test_backends_sqlalchemy.py index 2ee0699c..ae376931 100644 --- a/tests/test_backends_sqlalchemy.py +++ b/tests/test_backends_sqlalchemy.py @@ -145,9 +145,9 @@ class TestOne(base): # type: ignore[misc,valid-type] assert r.name == "many" assert r.fields["ones"] == comp( "ReferenceManyField", - {"bulkActionButtons": comp("BulkDeleteButton", {"mutationMode": "pessimistic"}), - "children": (comp("Datagrid", { - "rowClick": "show", "children": [comp("NumberField", {"source": "id"})]}),), + {"children": (comp("Datagrid", { + "rowClick": "show", "children": [comp("NumberField", {"source": "id"})], + "bulkActionButtons": comp("BulkDeleteButton", {"mutationMode": "pessimistic"})}),), "label": "Ones", "reference": "one", "source": "id", "target": "many_id", "sortable": False}) assert "ones" not in r.inputs