def test_add_child(self):
        src = self.e.scenes[0].children[0]
        new_src = VTKDataSource(data=tvtk.PolyData())
        src.add_child(new_src)
Test if adding a source as a child works correctly.
dataset/ETHPy150Open enthought/mayavi/mayavi/tests/test_vtk_data_source.py/TestVTKDataSource.test_add_child