def test_open_file_invalid(): print("test_open_file_invalid():") fake_file = "/fake/file.txt" assert(not image_downloader.open_text_file(fake_file))
def test_open_file_valid(): print("test_open_file_valid():") file_path = create_empty_file() assert(image_downloader.open_text_file(file_path)) remove_file(file_path)