def test_between_failure_with_message(self): try: Assert.between(11, 5, 10, msg='failure message') except AssertionError as e: Assert.equal(e.msg, "11 is not between 5 and 10. failure message")
def test_between_failure_without_message(self): try: Assert.between('along', 'alone', 'allow') except AssertionError as e: Assert.equal(e.msg, "along is not between alone and allow. ")
def test_between(self): Assert.between(7, 5, 10)