(dash_duo)
| 575 | |
| 576 | @flaky.flaky(max_runs=3) |
| 577 | def test_pch007_patch_operations_side_updates(dash_duo): |
| 578 | |
| 579 | app = Dash(__name__) |
| 580 | |
| 581 | app.layout = html.Div( |
| 582 | [ |
| 583 | html.Div( |
| 584 | [ |
| 585 | dcc.Input(id="set-value"), |
| 586 | html.Button("Set", id="set-btn"), |
| 587 | ] |
| 588 | ), |
| 589 | html.Div( |
| 590 | [ |
| 591 | dcc.Input(id="append-value"), |
| 592 | html.Button("Append", id="append-btn"), |
| 593 | ] |
| 594 | ), |
| 595 | html.Div( |
| 596 | [ |
| 597 | dcc.Input(id="prepend-value"), |
| 598 | html.Button("prepend", id="prepend-btn"), |
| 599 | ] |
| 600 | ), |
| 601 | html.Div( |
| 602 | [ |
| 603 | dcc.Input(id="insert-value"), |
| 604 | dcc.Input(id="insert-index", type="number", value=1), |
| 605 | html.Button("insert", id="insert-btn"), |
| 606 | ] |
| 607 | ), |
| 608 | html.Div( |
| 609 | [ |
| 610 | dcc.Input(id="extend-value"), |
| 611 | html.Button("extend", id="extend-btn"), |
| 612 | ] |
| 613 | ), |
| 614 | html.Div( |
| 615 | [ |
| 616 | dcc.Input(id="merge-value"), |
| 617 | html.Button("Merge", id="merge-btn"), |
| 618 | ] |
| 619 | ), |
| 620 | html.Button("Delete", id="delete-btn"), |
| 621 | html.Button("Delete index", id="delete-index"), |
| 622 | html.Button("Clear", id="clear-btn"), |
| 623 | html.Button("Reverse", id="reverse-btn"), |
| 624 | html.Button("Remove", id="remove-btn"), |
| 625 | dcc.Store( |
| 626 | data={ |
| 627 | "value": "unset", |
| 628 | "n_clicks": 0, |
| 629 | "array": ["initial"], |
| 630 | "delete": "Delete me", |
| 631 | }, |
| 632 | id="store", |
| 633 | ), |
| 634 | html.Div(id="store-content"), |
nothing calls this directly
no test coverage detected
searching dependent graphs…