def testBadMatplotlib(self): self.blockImport("matplotlib") self.assertFalse(CheckRequirements.check_matplotlib())
def testBadQt(self): self.blockImport("PyQt5") self.assertFalse(CheckRequirements.check_qt())
def testGoodMatplotlib(self): self.assertTrue(CheckRequirements.check_matplotlib())
def testGoodVTK(self): self.assertTrue(CheckRequirements.check_vtk())
def testGoodQt(self): self.assertTrue(CheckRequirements.check_qt())
def testBadOpenGL(self, mock_err): self.assertFalse(CheckRequirements.check_vtk())
def testBadRequirements(self): self.blockImport("matplotlib") self.assertFalse(CheckRequirements.has_requirements())
def testGoodRequirements(self): self.assertTrue(CheckRequirements.has_requirements())
def testBadVTK(self): self.blockImport("vtk") self.assertFalse(CheckRequirements.check_vtk())