@@ -39,7 +39,7 @@ def _make_basic_grid(**extra_props):
3939def test_charts001_enables_enterprise_charts_modules_with_true (dash_duo ):
4040 app = Dash (__name__ )
4141 app .layout = html .Div (
42- _make_chart_grid (enableEnterpriseModules = True , dashEnableCharts = "enterprise" )
42+ _make_chart_grid (enableEnterpriseModules = True , dashChartMode = "enterprise" )
4343 )
4444
4545 dash_duo .start_server (app )
@@ -58,7 +58,7 @@ def test_charts002_enables_enterprise_charts_modules(dash_duo):
5858 app .layout = html .Div (
5959 _make_chart_grid (
6060 enableEnterpriseModules = True ,
61- dashEnableCharts = "enterprise" ,
61+ dashChartMode = "enterprise" ,
6262 )
6363 )
6464
@@ -85,13 +85,13 @@ def test_charts003_keeps_enterprise_grid_without_charts(dash_duo):
8585
8686def test_charts004_rejects_charts_on_community_grid (dash_duo ):
8787 app = Dash (__name__ )
88- app .layout = html .Div (_make_chart_grid (dashEnableCharts = "enterprise" ))
88+ app .layout = html .Div (_make_chart_grid (dashChartMode = "enterprise" ))
8989
9090 dash_duo .start_server (app )
9191 until (lambda : dash_duo .find_element ('#loaded' ).text == 'true' , 10 )
9292
9393 assert any (
94- "dashEnableCharts is only supported when enableEnterpriseModules is true."
94+ "dashChartMode is only supported when enableEnterpriseModules is true."
9595 in entry .get ("message" , "" )
9696 for entry in dash_duo .get_logs ()
9797 )
@@ -118,7 +118,7 @@ def test_charts006_rejects_conflicting_enablecharts_false(dash_duo):
118118 app .layout = html .Div (
119119 _make_chart_grid (
120120 enableEnterpriseModules = True ,
121- dashEnableCharts = "enterprise" ,
121+ dashChartMode = "enterprise" ,
122122 dashGridOptions = {"enableCharts" : False },
123123 )
124124 )
@@ -127,7 +127,7 @@ def test_charts006_rejects_conflicting_enablecharts_false(dash_duo):
127127 until (lambda : dash_duo .find_element ('#loaded' ).text == 'true' , 10 )
128128
129129 assert any (
130- "dashEnableCharts cannot be combined with dashGridOptions.enableCharts=false."
130+ "dashChartMode cannot be combined with dashGridOptions.enableCharts=false."
131131 in entry .get ("message" , "" )
132132 for entry in dash_duo .get_logs ()
133133 )
@@ -138,7 +138,7 @@ def test_charts007_accepts_charts_license_key_prop(dash_duo):
138138 app .layout = html .Div (
139139 _make_chart_grid (
140140 enableEnterpriseModules = True ,
141- dashEnableCharts = "enterprise" ,
141+ dashChartMode = "enterprise" ,
142142 licenseKey = "grid-key" ,
143143 chartsLicenseKey = "charts-key" ,
144144 )
0 commit comments