In test_logpuzzle.py add clean_up_image_dir(). In test_download_images() add assertion. Add and comment out test_write_index_file() .