Skip to content

Commit

Permalink
Update test_backends_sqlalchemy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer authored Jul 31, 2023
1 parent 7791595 commit 744625f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_backends_sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 744625f

Please sign in to comment.