def METHOD_NAME(self):
    """Test limit constains on y-axis"""
    self.plot.getYAxis().setLimitsConstraints(minPos=0, maxPos=100)
    self.plot.setLimits(xmin=-1, xmax=101, ymin=-1, ymax=101)
    self.assertEqual(self.plot.getXAxis().getLimits(), (-1, 101))
    self.assertEqual(self.plot.getYAxis().getLimits(), (0, 100))