@@ -475,28 +475,26 @@ def test_cs003_column_state(dash_duo):
475475 [
476476 html .Div (
477477 [
478- html .Button (
479- "Remove Column" , id = "remove-column" , n_clicks = 0
480- ),
478+ html .Button ("Remove Column" , id = "remove-column" , n_clicks = 0 ),
481479 html .Div (
482- id = ' grid-holder' ,
480+ id = " grid-holder" ,
483481 children = [
484482 dag .AgGrid (
485483 id = f"grid" ,
486484 columnDefs = columnDefs ,
487485 rowData = data ,
488- columnSize = ' autoSize'
486+ columnSize = " autoSize" ,
489487 )
490- ]
491- )
488+ ],
489+ ),
492490 ],
493491 ),
494492 ]
495493 )
496494
497495 @app .callback (
498- Output (' grid' , ' columnDefs' ),
499- Input (' remove-column' , ' n_clicks' ),
496+ Output (" grid" , " columnDefs" ),
497+ Input (" remove-column" , " n_clicks" ),
500498 )
501499 def remove_column (n ):
502500 if n :
@@ -506,15 +504,17 @@ def remove_column(n):
506504 return cols
507505 return no_update
508506
509- dash_duo .start_server (app ,
510- debug = True ,
511- use_reloader = False ,
507+ dash_duo .start_server (
508+ app ,
509+ debug = True ,
510+ use_reloader = False ,
512511 use_debugger = True ,
513512 dev_tools_hot_reload = False ,
514513 dev_tools_props_check = True ,
515- dev_tools_disable_version_check = True ,)
514+ dev_tools_disable_version_check = True ,
515+ )
516516
517517 for x in range (3 ):
518518 dash_duo .find_element ("#remove-column" ).click ()
519519 time .sleep (2 ) # pausing to emulate separation because user inputs
520- assert list (filter (lambda i : i .get ("level" ) != "ERROR" , dash_duo .get_logs ())) == []
520+ assert list (filter (lambda i : i .get ("level" ) != "ERROR" , dash_duo .get_logs ())) == []
0 commit comments