def test_NotLessThan_LessThanThreshold_RaisedArgumentOutOfRangeException( param, value, param_name, message, expected): with expected as err: Guard.not_less_than(param=param, thershold=value, param_name=param_name) assert message in str(err.value)
def test_NotLessThan_GreaterThanThreshold_RaisedArgumentOutOfRangeException( param, value): Guard.not_less_than(param=param, thershold=value)