def check(self, n_points, n_cells):
        output = self.src.outputs[0]
        self.assertEqual(output.number_of_points, n_points)
        self.assertEqual(output.number_of_cells, n_cells)
Do the actual testing.
dataset/ETHPy150Open enthought/mayavi/mayavi/tests/test_vtk_file_reader.py/TestVTKFileReader.check