瀏覽代碼

fix format

Adrian Ehrsam 1 年之前
父節點
當前提交
d80352aba6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/test_aggrid.py

+ 1 - 1
tests/test_aggrid.py

@@ -109,7 +109,7 @@ def test_call_api_method_with_argument(screen: Screen):
 def test_call_column_api_method_with_argument(screen: Screen):
     grid = ui.aggrid({
         'columnDefs': [{'field': 'name'}, {'field': 'age', 'hide': True}],
-        'rowData': [{'name': 'Alice', 'age': '18'}, {'name': 'Bob', 'age': '21'}, {'name': 'Carol', 'age': '42'}]
+        'rowData': [{'name': 'Alice', 'age': '18'}, {'name': 'Bob', 'age': '21'}, {'name': 'Carol', 'age': '42'}],
     })
     ui.button('Show Age', on_click=lambda: grid.call_column_api_method('setColumnVisible', 'age', True))