()
| 187 | |
| 188 | |
| 189 | def test_interactive_nested_widgets(): |
| 190 | df = makeDataFrame() |
| 191 | w = pn.widgets.RadioButtonGroup(value='A', options=list('ABC')) |
| 192 | |
| 193 | idf = Interactive(df) |
| 194 | pipeline = idf.groupby(['D', w]).mean() |
| 195 | ioutput = pipeline.panel().object().object |
| 196 | iw = pipeline.widgets() |
| 197 | |
| 198 | output = df.groupby(['D', 'A']).mean() |
| 199 | |
| 200 | pd.testing.assert_frame_equal(ioutput, output) |
| 201 | assert len(iw) == 1 |
| 202 | assert iw[0] == w |
| 203 | |
| 204 | |
| 205 | def test_interactive_slice(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…