Test that callback accepts background callback parameters.
()
| 112 | |
| 113 | |
| 114 | def test_callback_with_background_params(): |
| 115 | """Test that callback accepts background callback parameters.""" |
| 116 | decorator = callback( |
| 117 | Output("output", "children"), |
| 118 | Input("input", "value"), |
| 119 | background=False, |
| 120 | interval=1000, |
| 121 | ) |
| 122 | assert callable(decorator) |
| 123 | |
| 124 | |
| 125 | def test_callback_module_export(): |