def METHOD_NAME(self):
    """Test max range constains on y-axis"""
    self.plot.getYAxis().setRangeConstraints(maxRange=100)
    self.plot.setLimits(xmin=-1, xmax=101, ymin=-1, ymax=101)
    limits = self.plot.getXAxis().getLimits()
    self.assertNotEqual(limits[1] - limits[0], 100)
    limits = self.plot.getYAxis().getLimits()
    self.assertEqual(limits[1] - limits[0], 100)