def test_longer_than():
    assert hug.types.longer_than(10)('quite a bit of text here should be') == 'quite a bit of text here should be'
    assert hug.types.longer_than(10)(12345678910) == '12345678910'
    assert hug.types.longer_than(10)(100123456789100) == '100123456789100'
    assert '10' in hug.types.longer_than(10).__doc__
    with pytest.raises(ValueError):
        assert hug.types.longer_than(10)('short')
Channel of the packet.
dataset/ETHPy150Open timothycrosley/hug/tests/test_types.py/test_longer_than--crossover with--dataset/ETHPy150Open chrippa/python-librtmp/librtmp/packet.py/RTMPPacket.channel