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
def test_file_name_too_big(): assert reican.file_too_big(test_file_name) == False