def test_greater_than():
    assert hug.types.greater_than(10)('11') == 11
    assert hug.types.greater_than(10)(11) == 11
    assert hug.types.greater_than(10)(1000) == 1000
    assert '10' in hug.types.greater_than(10).__doc__
    with pytest.raises(ValueError):
        assert hug.types.greater_than(10)(9)
resize pane
dataset/ETHPy150Open timothycrosley/hug/tests/test_types.py/test_greater_than--crossover with--dataset/ETHPy150Open ton1517/ttop/ttop/tmux.py/resize_pane