Skip to content

Restore graph config shape check as standalone test (fixes #3735) - #4140

Open
Hayabusa-YL wants to merge 2 commits into
plotly:devfrom
Hayabusa-YL:fix/graph-config-shape-test
Open

Hayabusa-YL wants to merge 2 commits into
plotly:devfrom
Hayabusa-YL:fix/graph-config-shape-test

Conversation

@Hayabusa-YL

Copy link
Copy Markdown

Description

Restores the \check_graph_config_shape\ assertion that was removed in PR #3737 as its own standalone test.

Changes

  • Creates \ est_graph_config_shape.py\ in \ ests/integration/misc/\
  • Extracts the bidirectional config/schema comparison that validates DCC Graph props against Plotly.PlotSchema
  • Adds \displayNotifier\ to the ignored config list (introduced in fix: Add displayNotifier to Graph config #3737 but not yet in Plotly.PlotSchema)
  • Test creates a minimal Dash app with a Graph component, then runs the validation

Closes #3735

Restore the check_graph_config_shape assertion that was removed
in PR plotly#3737 as its own dedicated test. Adds displayNotifier to
the ignored config list since it was introduced in that PR but
is not yet part of Plotly.PlotSchema.

Closes plotly#3735
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extract graph schema validation into properly named test

2 participants