Skip to content

Commit

Permalink
Linted and formatted with make commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
hasansezertasan committed May 27, 2024
1 parent 7b858c2 commit 3e09fd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python-fastui/tests/test_tables_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def test_table_no_columns():
assert table.model_dump(by_alias=True, exclude_none=True) == {
'data': [
{'id': 1, 'name': 'john', 'representation': '1: john'},
{'id': 2, 'name': 'jack', 'representation': '2: jack'}
{'id': 2, 'name': 'jack', 'representation': '2: jack'},
],
'columns': [{'field': 'id'}, {'field': 'name', 'title': 'Name'}, {'field': 'representation'}],
'type': 'Table',
Expand All @@ -45,7 +45,7 @@ def test_table_columns():
assert table.model_dump(by_alias=True, exclude_none=True) == {
'data': [
{'id': 1, 'name': 'john', 'representation': '1: john'},
{'id': 2, 'name': 'jack', 'representation': '2: jack'}
{'id': 2, 'name': 'jack', 'representation': '2: jack'},
],
'columns': [
{'title': 'ID', 'field': 'id'},
Expand Down

0 comments on commit 3e09fd8

Please sign in to comment.