Ejemplo n.º 1
0
def test_NotGreaterThan_GreaterThanThreshsold_RaisedArgumentOutOfRangeException(
        param, value, param_name, message, expected):
    with expected:
        Guard.not_greater_than(param=param,
                               threshold=value,
                               param_name=param_name,
                               message=message)
Ejemplo n.º 2
0
def test_NotGreaterThan_LowerThanThreshold_RaisedArgumentOutOfRangeException(
        param, value):
    Guard.not_greater_than(param=param, threshold=value)