예제 #1
0
파일: test_reican.py 프로젝트: fxlv/reican
def test_file_name_too_big_bigfile():
    # test file is 20 bytes
    # max size set to 20 bytes
    reican.MAX_FILE_SIZE = "0.000020M"
    assert reican.file_too_big(test_file_name) == True
예제 #2
0
파일: test_reican.py 프로젝트: fxlv/reican
def test_file_name_too_big():
    assert reican.file_too_big(test_file_name) == False