def check(self, scene, bounds, error = 1.01e-02):

        src = scene.children[0]
        ot = src.children[0].children[0]
        ot.render() # Flush the pipeline.

        # Check the outline bounds
        self.assertEqual(numpy.allclose(ot.outline_filter.output.bounds,bounds,
                                    atol=error), True)
        self.assertEqual(numpy.allclose(src.reader.data_spacing,(1., 1., 1.)),True)
Create an instance of GoogleAuth.
dataset/ETHPy150Open enthought/mayavi/mayavi/tests/test_image_data_reader.py/TestMHAImageReader.check--crossover with--dataset/ETHPy150Open googledrive/PyDrive/pydrive/auth.py/GoogleAuth.__init__