{"log": [{"step": "add_remote", "command": "git remote add mirror \"https://x-access-token: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@github.com/gnever-reveng/crowdagger__crowbook.ea214d7.git\"", "wall_time": 0.05129938300001413, "output": "", "returncode": 0, "exception_info": ""}, {"step": "fetch", "command": "git fetch mirror infer-kilian-infer_no_int_no_dep__gemini_3_flash__gemini-3-flash-preview-genai-20260429_005901 coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter1_gen-20260325_030501 coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_gen-20260325_070023 coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_judge-20260325_083143 coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_gen-20260325_090626 coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_judge-20260325_101414 coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_gen-20260325_104606 coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_judge-20260325_113215 coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_gen-20260325_115907 coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_judge-20260325_123512 frozen-scaffold-testgen-20260410_095554 test-johnby-create_args_tests__claude-4-5-sonnet-genai-20260305_191938 test-johnby-create_args_tests__gpt-5-2-genai-20260310_152710 test-johnby-create_io_tests__gpt-5-2-genai-20260306_164759 test-johnby-create_subcommand_tests__claude-4-5-sonnet-genai-20260306_061933 test-johnby-externalize_inner_tests__gpt-5-2-genai-20260310_102433 test-klieret-create_config_tests__gpt-5-2-genai-20260306_111912 test-klieret-create_help_tests__gpt-5-2-genai-20260306_111915 test-klieret-create_subcommand_tests__gpt-5-2-genai-20260306_112146", "wall_time": 1.0788748989999988, "output": "From https://github.com/gnever-reveng/crowdagger__crowbook.ea214d7\n * branch infer-kilian-infer_no_int_no_dep__gemini_3_flash__gemini-3-flash-preview-genai-20260429_005901 -> FETCH_HEAD\n * branch coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter1_gen-20260325_030501 -> FETCH_HEAD\n * branch coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_gen-20260325_070023 -> FETCH_HEAD\n * branch coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_judge-20260325_083143 -> FETCH_HEAD\n * branch coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_gen-20260325_090626 -> FETCH_HEAD\n * branch coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_judge-20260325_101414 -> FETCH_HEAD\n * branch coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_gen-20260325_104606 -> FETCH_HEAD\n * branch coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_judge-20260325_113215 -> FETCH_HEAD\n * branch coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_gen-20260325_115907 -> FETCH_HEAD\n * branch coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_judge-20260325_123512 -> FETCH_HEAD\n * branch frozen-scaffold-testgen-20260410_095554 -> FETCH_HEAD\n * branch test-johnby-create_args_tests__claude-4-5-sonnet-genai-20260305_191938 -> FETCH_HEAD\n * branch test-johnby-create_args_tests__gpt-5-2-genai-20260310_152710 -> FETCH_HEAD\n * branch test-johnby-create_io_tests__gpt-5-2-genai-20260306_164759 -> FETCH_HEAD\n * branch test-johnby-create_subcommand_tests__claude-4-5-sonnet-genai-20260306_061933 -> FETCH_HEAD\n * branch test-johnby-externalize_inner_tests__gpt-5-2-genai-20260310_102433 -> FETCH_HEAD\n * branch test-klieret-create_config_tests__gpt-5-2-genai-20260306_111912 -> FETCH_HEAD\n * branch test-klieret-create_help_tests__gpt-5-2-genai-20260306_111915 -> FETCH_HEAD\n * branch test-klieret-create_subcommand_tests__gpt-5-2-genai-20260306_112146 -> FETCH_HEAD\n * [new branch] infer-kilian-infer_no_int_no_dep__gemini_3_flash__gemini-3-flash-preview-genai-20260429_005901 -> mirror/infer-kilian-infer_no_int_no_dep__gemini_3_flash__gemini-3-flash-preview-genai-20260429_005901\n * [new branch] coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter1_gen-20260325_030501 -> mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter1_gen-20260325_030501\n * [new branch] coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_gen-20260325_070023 -> mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_gen-20260325_070023\n * [new branch] coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_judge-20260325_083143 -> mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_judge-20260325_083143\n * [new branch] coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_gen-20260325_090626 -> mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_gen-20260325_090626\n * [new branch] coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_judge-20260325_101414 -> mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_judge-20260325_101414\n * [new branch] coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_gen-20260325_104606 -> mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_gen-20260325_104606\n * [new branch] coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_judge-20260325_113215 -> mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_judge-20260325_113215\n * [new branch] coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_gen-20260325_115907 -> mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_gen-20260325_115907\n * [new branch] coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_judge-20260325_123512 -> mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_judge-20260325_123512\n * [new branch] frozen-scaffold-testgen-20260410_095554 -> mirror/frozen-scaffold-testgen-20260410_095554\n * [new branch] test-johnby-create_args_tests__claude-4-5-sonnet-genai-20260305_191938 -> mirror/test-johnby-create_args_tests__claude-4-5-sonnet-genai-20260305_191938\n * [new branch] test-johnby-create_args_tests__gpt-5-2-genai-20260310_152710 -> mirror/test-johnby-create_args_tests__gpt-5-2-genai-20260310_152710\n * [new branch] test-johnby-create_io_tests__gpt-5-2-genai-20260306_164759 -> mirror/test-johnby-create_io_tests__gpt-5-2-genai-20260306_164759\n * [new branch] test-johnby-create_subcommand_tests__claude-4-5-sonnet-genai-20260306_061933 -> mirror/test-johnby-create_subcommand_tests__claude-4-5-sonnet-genai-20260306_061933\n * [new branch] test-johnby-externalize_inner_tests__gpt-5-2-genai-20260310_102433 -> mirror/test-johnby-externalize_inner_tests__gpt-5-2-genai-20260310_102433\n * [new branch] test-klieret-create_config_tests__gpt-5-2-genai-20260306_111912 -> mirror/test-klieret-create_config_tests__gpt-5-2-genai-20260306_111912\n * [new branch] test-klieret-create_help_tests__gpt-5-2-genai-20260306_111915 -> mirror/test-klieret-create_help_tests__gpt-5-2-genai-20260306_111915\n * [new branch] test-klieret-create_subcommand_tests__gpt-5-2-genai-20260306_112146 -> mirror/test-klieret-create_subcommand_tests__gpt-5-2-genai-20260306_112146\n", "returncode": 0, "exception_info": ""}, {"step": "checkout_solution", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/infer-kilian-infer_no_int_no_dep__gemini_3_flash__gemini-3-flash-preview-genai-20260429_005901", "wall_time": 0.15374965399999496, "output": "Removing executable\nNote: switching to 'mirror/infer-kilian-infer_no_int_no_dep__gemini_3_flash__gemini-3-flash-preview-genai-20260429_005901'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by switching back to a branch.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -c with the switch command. Example:\n\n git switch -c \n\nOr undo this operation with:\n\n git switch -\n\nTurn off this advice by setting config variable advice.detachedHead to false\n\nHEAD is now at dc57fef infer result\n", "returncode": 0, "exception_info": ""}, {"step": "remove_hashed_files", "command": "find /workspace -type f -exec sha256sum {} + 2>/dev/null | grep -E \"^(30fe43c188f080026577d2fa935ebf33f0b902077bb2138724f839680eb45944) \" | cut -c67- | xargs -I% rm -fv %", "wall_time": 0.17424464900000203, "output": "", "returncode": 0, "exception_info": ""}, {"step": "compile", "command": "chmod +x ./compile.sh && ./compile.sh", "wall_time": 0.11256734599999163, "output": "", "returncode": 0, "exception_info": ""}, {"step": "copy_executable", "command": "ls && cp ./executable /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04487898799999357, "output": "assets\ncompile.sh\nexecutable\nhtml_dir\nimage.png\n", "returncode": 0, "exception_info": ""}, {"step": "hash_executable", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04627705999999421, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.048021438000006356, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter1_gen-20260325_030501", "wall_time": 0.1930573539999898, "output": "Previous HEAD position was dc57fef infer result\nHEAD is now at 14d87cd coverage-test result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.13608374199998252, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.045859363999994684, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.04456620100000919, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04401047299998595, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 5.1406442330000175, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [120 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_print_template.py::test_print_template_invalid \neval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_edge_cases.py::test_mixed_list_types \neval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_rendering_options.py::test_html_dir_output \neval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_epub_generation.py::test_epub_with_to_flag \neval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_lang_option.py::test_lang_short_flag \neval/tests/test_print_template.py::test_print_template_tex \neval/tests/test_markdown_features.py::test_markdown_footnotes \neval/tests/test_lang_option.py::test_lang_with_book_processing \neval/tests/test_epub_generation.py::test_epub_output_basic \neval/tests/test_rendering_options.py::test_pdf_output_specified \neval/tests/test_rendering_options.py::test_rendering_inline_toc \neval/tests/test_set_option.py::test_set_single_option \neval/tests/test_edge_cases.py::test_empty_markdown_file \neval/tests/test_edge_cases.py::test_book_with_no_title \neval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_edge_cases.py::test_very_long_content \neval/tests/test_markdown_features.py::test_markdown_emphasis \neval/tests/test_list_options.py::test_list_options_shows_defaults \neval/tests/test_special_flags.py::test_force_emoji_short_flag \neval/tests/test_single_file.py::test_single_markdown_features \neval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_create_book.py::test_create_book_multiple_files \neval/tests/test_create_book.py::test_create_book_to_stdout \neval/tests/test_output_formats.py::test_to_with_short_flag \neval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_edge_cases.py::test_output_to_existing_file \neval/tests/test_list_options.py::test_list_options_long_flag \neval/tests/test_edge_cases.py::test_malformed_yaml \neval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_list_options.py::test_list_options_short_flag \neval/tests/test_edge_cases.py::test_nested_lists \neval/tests/test_print_template.py::test_print_template_multiple_types \neval/tests/test_rendering_options.py::test_rendering_highlight_syntect \neval/tests/test_markdown_features.py::test_markdown_lists \neval/tests/test_rendering_options.py::test_tex_standalone_output \neval/tests/test_single_file.py::test_single_markdown_with_yaml_block \neval/tests/test_markdown_features.py::test_markdown_horizontal_rules \neval/tests/test_special_flags.py::test_autograph_flag \neval/tests/test_print_template.py::test_print_template_html_css \neval/tests/test_output_formats.py::test_to_html_format \neval/tests/test_list_options.py::test_list_options_shows_descriptions \neval/tests/test_epub_generation.py::test_epub_with_metadata \neval/tests/test_edge_cases.py::test_special_characters_in_title \neval/tests/test_stats.py::test_stats_multiple_chapters \neval/tests/test_rendering_options.py::test_rendering_highlight_none \neval/tests/test_output_formats.py::test_output_file_html \neval/tests/test_special_flags.py::test_no_fancy_flag \neval/tests/test_output_formats.py::test_output_short_flag \neval/tests/test_lang_option.py::test_lang_option_french \neval/tests/test_single_file.py::test_single_short_flag \neval/tests/test_rendering_options.py::test_rendering_numbering \neval/tests/test_print_template.py::test_print_template_html_dir \neval/tests/test_print_template.py::test_print_template_html_standalone \neval/tests/test_single_file.py::test_single_tex_output \neval/tests/test_markdown_features.py::test_markdown_blockquotes \neval/tests/test_special_flags.py::test_force_emoji_flag \neval/tests/test_verbose_quiet.py::test_verbose_flag \neval/tests/test_epub_generation.py::test_epub_version_3 \neval/tests/test_set_option.py::test_set_multiple_options \neval/tests/test_output_formats.py::test_invalid_format_shows_error \neval/tests/test_set_option.py::test_set_rendering_option \neval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_set_option.py::test_set_boolean_option \neval/tests/test_create_book.py::test_create_book_template_structure \neval/tests/test_edge_cases.py::test_book_with_no_author \neval/tests/test_verbose_quiet.py::test_quiet_short_flag \neval/tests/test_special_flags.py::test_autograph_short_flag \neval/tests/test_verbose_quiet.py::test_quiet_flag \neval/tests/test_stats.py::test_stats_long_flag \neval/tests/test_print_template.py::test_print_template_epub_chapter \neval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_create_book.py::test_create_book_file_already_exists \neval/tests/test_rendering_options.py::test_rendering_with_cover \neval/tests/test_set_option.py::test_set_invalid_option \neval/tests/test_special_flags.py::test_no_fancy_short_flag \neval/tests/test_verbose_quiet.py::test_quiet_with_error \neval/tests/test_single_file.py::test_single_without_yaml_block \neval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_list_options.py::test_list_options_shows_types \neval/tests/test_markdown_features.py::test_markdown_tables \neval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_lang_option.py::test_lang_affects_messages \neval/tests/test_output_formats.py::test_output_file_tex \neval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \neval/tests/test_set_option.py::test_set_with_spaces_in_value \neval/tests/test_stats.py::test_stats_with_formatting \neval/tests/test_stats.py::test_stats_empty_book \neval/tests/test_markdown_features.py::test_markdown_code_blocks \neval/tests/test_book_processing.py::test_book_missing_chapter_file \neval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_output_formats.py::test_output_without_to_shows_error \neval/tests/test_book_processing.py::test_book_with_multiple_chapters \neval/tests/test_create_book.py::test_create_book_with_filename \neval/tests/test_output_formats.py::test_to_tex_format \neval/tests/test_print_template.py::test_print_template_epub_css \neval/tests/test_output_formats.py::test_html_dir_format \neval/tests/test_book_processing.py::test_book_empty_chapter_list \neval/tests/test_lang_option.py::test_lang_option_english \neval/tests/test_epub_generation.py::test_epub_multiple_chapters \neval/tests/test_set_option.py::test_set_output_path \neval/tests/test_print_template.py::test_print_template_to_file \neval/tests/test_single_file.py::test_single_with_set_override \neval/tests/test_verbose_quiet.py::test_verbose_short_flag \neval/tests/test_markdown_features.py::test_markdown_links \neval/tests/test_markdown_features.py::test_markdown_headings \neval/tests/test_single_file.py::test_single_with_inline_yaml_variations \neval/tests/test_edge_cases.py::test_unicode_content \neval/tests/test_edge_cases.py::test_multiple_yaml_blocks \neval/tests/test_stats.py::test_stats_short_flag \neval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_single_file.py::test_single_with_output_file \neval/tests/test_special_flags.py::test_verbose_with_no_fancy \neval/tests/test_epub_generation.py::test_epub_version_2 \neval/tests/test_special_flags.py::test_combined_flags \n[gw44] [ 0%] PASSED eval/tests/test_lang_option.py::test_lang_invalid_code \n[gw42] [ 1%] PASSED eval/tests/test_lang_option.py::test_lang_with_version \n[gw4] [ 2%] PASSED eval/tests/test_basic_invocation.py::test_version_long_flag \n[gw3] [ 3%] PASSED eval/tests/test_basic_invocation.py::test_version_short_flag \n[gw14] [ 4%] PASSED eval/tests/test_book_processing.py::test_book_empty_chapter_list \n[gw21] [ 5%] PASSED eval/tests/test_create_book.py::test_create_book_template_structure \n[gw111] [ 5%] PASSED eval/tests/test_stats.py::test_stats_multiple_chapters \n[gw118] [ 6%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw109] [ 7%] PASSED eval/tests/test_stats.py::test_stats_long_flag \n[gw68] [ 8%] PASSED eval/tests/test_output_formats.py::test_html_dir_format \n[gw113] [ 9%] PASSED eval/tests/test_stats.py::test_stats_with_formatting \n[gw117] [ 10%] PASSED eval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw110] [ 10%] PASSED eval/tests/test_stats.py::test_stats_short_flag \n[gw32] [ 11%] PASSED eval/tests/test_edge_cases.py::test_output_to_existing_file \n[gw64] [ 12%] PASSED eval/tests/test_output_formats.py::test_output_file_html \n[gw63] [ 13%] PASSED eval/tests/test_output_formats.py::test_output_short_flag \n[gw19] [ 14%] PASSED eval/tests/test_create_book.py::test_create_book_multiple_files \n[gw95] [ 15%] PASSED eval/tests/test_single_file.py::test_single_with_output_file \n[gw112] [ 15%] PASSED eval/tests/test_stats.py::test_stats_empty_book \n[gw115] [ 16%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw97] [ 17%] PASSED eval/tests/test_single_file.py::test_single_with_set_override \n[gw10] [ 18%] PASSED eval/tests/test_book_processing.py::test_book_html_to_file \n[gw89] [ 19%] PASSED eval/tests/test_set_option.py::test_set_output_path \n[gw114] [ 20%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw17] [ 20%] PASSED eval/tests/test_create_book.py::test_create_book_short_flag \n[gw16] [ 21%] PASSED eval/tests/test_create_book.py::test_create_book_to_stdout \n[gw40] [ 22%] FAILED eval/tests/test_lang_option.py::test_lang_option_french \n[gw74] [ 23%] FAILED eval/tests/test_print_template.py::test_print_template_invalid \n[gw2] [ 24%] FAILED eval/tests/test_basic_invocation.py::test_help_long_flag \n[gw71] [ 25%] FAILED eval/tests/test_print_template.py::test_print_template_tex \n[gw46] [ 25%] FAILED eval/tests/test_list_options.py::test_list_options_long_flag \n[gw6] [ 26%] FAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error \n[gw41] [ 27%] FAILED eval/tests/test_lang_option.py::test_lang_short_flag \n[gw69] [ 28%] FAILED eval/tests/test_print_template.py::test_print_template_html_css \n[gw77] [ 29%] FAILED eval/tests/test_print_template.py::test_print_template_epub_chapter \n[gw72] [ 30%] FAILED eval/tests/test_print_template.py::test_print_template_html_standalone \n[gw39] [ 30%] FAILED eval/tests/test_lang_option.py::test_lang_option_english \n[gw73] [ 31%] FAILED eval/tests/test_print_template.py::test_print_template_html_dir \n[gw1] [ 32%] FAILED eval/tests/test_basic_invocation.py::test_help_short_flag \n[gw75] [ 33%] FAILED eval/tests/test_print_template.py::test_print_template_to_file \n[gw23] [ 34%] FAILED eval/tests/test_edge_cases.py::test_very_long_content \n[gw55] [ 35%] FAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks \n[gw93] [ 35%] FAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block \n[gw66] [ 36%] FAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error \n[gw50] [ 37%] FAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions \n[gw47] [ 38%] FAILED eval/tests/test_list_options.py::test_list_options_short_flag \n[gw5] [ 39%] FAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options \n[gw7] [ 40%] FAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \n[gw70] [ 40%] FAILED eval/tests/test_print_template.py::test_print_template_epub_css \n[gw119] [ 41%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw60] [ 42%] FAILED eval/tests/test_output_formats.py::test_to_html_format \n[gw22] [ 43%] FAILED eval/tests/test_edge_cases.py::test_empty_markdown_file \n[gw8] [ 44%] FAILED eval/tests/test_book_processing.py::test_basic_book_html_output \n[gw91] [ 45%] FAILED eval/tests/test_set_option.py::test_set_boolean_option \n[gw38] [ 45%] FAILED eval/tests/test_epub_generation.py::test_epub_version_3 \n[gw92] [ 46%] FAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value \n[gw27] [ 47%] FAILED eval/tests/test_edge_cases.py::test_nested_lists \n[gw78] [ 48%] FAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc \n[gw103] [ 49%] FAILED eval/tests/test_special_flags.py::test_force_emoji_flag \n[gw31] [ 50%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_author \n[gw83] [ 50%] FAILED eval/tests/test_rendering_options.py::test_html_dir_output \n[gw49] [ 51%] FAILED eval/tests/test_list_options.py::test_list_options_shows_defaults \n[gw51] [ 52%] FAILED eval/tests/test_markdown_features.py::test_markdown_headings \n[gw94] [ 53%] FAILED eval/tests/test_single_file.py::test_single_short_flag \n[gw108] [ 54%] FAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw59] [ 55%] FAILED eval/tests/test_markdown_features.py::test_markdown_footnotes \n[gw26] [ 55%] FAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks \n[gw107] [ 56%] FAILED eval/tests/test_special_flags.py::test_combined_flags \n[gw79] [ 57%] FAILED eval/tests/test_rendering_options.py::test_rendering_numbering \n[gw52] [ 58%] FAILED eval/tests/test_markdown_features.py::test_markdown_emphasis \n[gw96] [ 59%] FAILED eval/tests/test_single_file.py::test_single_without_yaml_block \n[gw102] [ 60%] FAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw101] [ 60%] FAILED eval/tests/test_special_flags.py::test_no_fancy_flag \n[gw67] [ 61%] FAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error \n[gw53] [ 62%] FAILED eval/tests/test_markdown_features.py::test_markdown_lists \n[gw80] [ 63%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect \n[gw25] [ 64%] FAILED eval/tests/test_edge_cases.py::test_special_characters_in_title \n[gw48] [ 65%] FAILED eval/tests/test_list_options.py::test_list_options_shows_types \n[gw57] [ 65%] FAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules \n[gw81] [ 66%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none \n[gw9] [ 67%] FAILED eval/tests/test_book_processing.py::test_book_with_metadata \n[gw87] [ 68%] FAILED eval/tests/test_set_option.py::test_set_multiple_options \n[gw0] [ 69%] FAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error \n[gw43] [ 70%] FAILED eval/tests/test_lang_option.py::test_lang_affects_messages \n[gw13] [ 70%] FAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file \n[gw12] [ 71%] FAILED eval/tests/test_book_processing.py::test_book_with_relative_paths \n[gw84] [ 72%] FAILED eval/tests/test_rendering_options.py::test_pdf_output_specified \n[gw30] [ 73%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_title \n[gw28] [ 74%] FAILED eval/tests/test_edge_cases.py::test_mixed_list_types \n[gw62] [ 75%] FAILED eval/tests/test_output_formats.py::test_to_with_short_flag \n[gw35] [ 75%] FAILED eval/tests/test_epub_generation.py::test_epub_with_metadata \n[gw105] [ 76%] FAILED eval/tests/test_special_flags.py::test_autograph_flag \n[gw37] [ 77%] FAILED eval/tests/test_epub_generation.py::test_epub_version_2 \n[gw106] [ 78%] FAILED eval/tests/test_special_flags.py::test_autograph_short_flag \n[gw33] [ 79%] FAILED eval/tests/test_epub_generation.py::test_epub_output_basic \n[gw15] [ 80%] FAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters \n[gw36] [ 80%] FAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters \n[gw20] [ 81%] FAILED eval/tests/test_create_book.py::test_create_book_file_already_exists \n[gw24] [ 82%] FAILED eval/tests/test_edge_cases.py::test_unicode_content \n[gw104] [ 83%] FAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw100] [ 84%] FAILED eval/tests/test_single_file.py::test_single_markdown_features \n[gw18] [ 85%] FAILED eval/tests/test_create_book.py::test_create_book_with_filename \n[gw34] [ 85%] FAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag \n[gw65] [ 86%] FAILED eval/tests/test_output_formats.py::test_output_file_tex \n[gw99] [ 87%] FAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations \n[gw90] [ 88%] FAILED eval/tests/test_set_option.py::test_set_invalid_option \n[gw85] [ 89%] FAILED eval/tests/test_rendering_options.py::test_tex_standalone_output \n[gw116] [ 90%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw29] [ 90%] FAILED eval/tests/test_edge_cases.py::test_malformed_yaml \n[gw56] [ 91%] FAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes \n[gw82] [ 92%] FAILED eval/tests/test_rendering_options.py::test_rendering_with_cover \n[gw45] [ 93%] FAILED eval/tests/test_lang_option.py::test_lang_with_book_processing \n[gw61] [ 94%] FAILED eval/tests/test_output_formats.py::test_to_tex_format \n[gw98] [ 95%] FAILED eval/tests/test_single_file.py::test_single_tex_output \n[gw76] [ 95%] FAILED eval/tests/test_print_template.py::test_print_template_multiple_types \n[gw86] [ 96%] FAILED eval/tests/test_set_option.py::test_set_single_option \n[gw54] [ 97%] FAILED eval/tests/test_markdown_features.py::test_markdown_links \n[gw11] [ 98%] FAILED eval/tests/test_book_processing.py::test_book_tex_output \n[gw58] [ 99%] FAILED eval/tests/test_markdown_features.py::test_markdown_tables \n[gw88] [100%] FAILED eval/tests/test_set_option.py::test_set_rendering_option \n\n=================================== FAILURES ===================================\n___________________________ test_lang_option_french ____________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError\n_________________________ test_print_template_invalid __________________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError\n_____________________________ test_help_long_flag ______________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError\n___________________________ test_print_template_tex ____________________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError\n_________________________ test_list_options_long_flag __________________________\n[gw46] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError\n_______________________ test_invalid_option_shows_error ________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError\n_____________________________ test_lang_short_flag _____________________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError\n_________________________ test_print_template_html_css _________________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError\n_______________________ test_print_template_epub_chapter _______________________\n[gw77] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError\n_____________________ test_print_template_html_standalone ______________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError\n___________________________ test_lang_option_english ___________________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError\n_________________________ test_print_template_html_dir _________________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError\n_____________________________ test_help_short_flag _____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError\n_________________________ test_print_template_to_file __________________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError\n____________________________ test_very_long_content ____________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxf6tirjw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError\n__________________________ test_markdown_code_blocks ___________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxs2z069m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError\n_____________________ test_single_markdown_with_yaml_block _____________________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpg2o2gyld/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError\n_______________________ test_invalid_format_shows_error ________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError\n_____________________ test_list_options_shows_descriptions _____________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError\n_________________________ test_list_options_short_flag _________________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError\n_________________________ test_help_shows_all_options __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError\n______________________ test_missing_book_file_shows_error ______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError\n_________________________ test_print_template_epub_css _________________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError\n____________________________ test_quiet_with_error _____________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError\n_____________________________ test_to_html_format ______________________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpu412sj1w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError\n___________________________ test_empty_markdown_file ___________________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7fde9q6u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError\n_________________________ test_basic_book_html_output __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpooudoxp_/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError\n___________________________ test_set_boolean_option ____________________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0ci2wi6v/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError\n_____________________________ test_epub_version_3 ______________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3ed39d6u/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError\n________________________ test_set_with_spaces_in_value _________________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvb75q1x7/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError\n______________________________ test_nested_lists _______________________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnto3akwe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError\n__________________________ test_rendering_inline_toc ___________________________\n[gw78] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqmrv4nkn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError\n____________________________ test_force_emoji_flag _____________________________\n[gw103] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test \ud83d\ude00\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmp1dlq876v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError\n___________________________ test_book_with_no_author ___________________________\n[gw31] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy47821vf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError\n_____________________________ test_html_dir_output _____________________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0z97veqd/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError\n_______________________ test_list_options_shows_defaults _______________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError\n____________________________ test_markdown_headings ____________________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8p97lv3d/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError\n____________________________ test_single_short_flag ____________________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpzdzgz1ph/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError\n__________________________ test_verbose_with_no_fancy __________________________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpdk8xqg_v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError\n___________________________ test_markdown_footnotes ____________________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmr4t6ban/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError\n__________________________ test_multiple_yaml_blocks ___________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpd50rr6ru/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError\n_____________________________ test_combined_flags ______________________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpl8nold9d/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError\n___________________________ test_rendering_numbering ___________________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvlipsu1_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError\n____________________________ test_markdown_emphasis ____________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyo6kk73j/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError\n________________________ test_single_without_yaml_block ________________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmphxqgowcr/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError\n___________________________ test_no_fancy_short_flag ___________________________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp8wknvu6z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError\n______________________________ test_no_fancy_flag ______________________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpz9otcd84/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError\n______________________ test_output_without_to_shows_error ______________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError\n_____________________________ test_markdown_lists ______________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg62w9dll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError\n_______________________ test_rendering_highlight_syntect _______________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp07alqe7q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp07alqe7q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError\n_______________________ test_special_characters_in_title _______________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp1yj56fj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError\n________________________ test_list_options_shows_types _________________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError\n________________________ test_markdown_horizontal_rules ________________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjbg4ij8f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError\n________________________ test_rendering_highlight_none _________________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsd4lezy1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError\n___________________________ test_book_with_metadata ____________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2zcqp2uv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError\n__________________________ test_set_multiple_options ___________________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1dynsv84/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError\n________________________ test_no_arguments_shows_error _________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError\n__________________________ test_lang_affects_messages __________________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError\n________________________ test_book_missing_chapter_file ________________________\n[gw13] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError\n________________________ test_book_with_relative_paths _________________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj5mypvgn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError\n__________________________ test_pdf_output_specified ___________________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError\n___________________________ test_book_with_no_title ____________________________\n[gw30] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuflvo7g4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError\n____________________________ test_mixed_list_types _____________________________\n[gw28] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1nmie8pe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError\n___________________________ test_to_with_short_flag ____________________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw8psry34/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError\n___________________________ test_epub_with_metadata ____________________________\n[gw35] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpifd4ir5_/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError\n_____________________________ test_autograph_flag ______________________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp5cikf7e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp5cikf7e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError\n_____________________________ test_epub_version_2 ______________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuc6t44gr/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError\n__________________________ test_autograph_short_flag ___________________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp_47fw6vo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp_47fw6vo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError\n____________________________ test_epub_output_basic ____________________________\n[gw33] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp7xjci53z/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError\n_______________________ test_book_with_multiple_chapters _______________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpu8xewjwq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError\n_________________________ test_epub_multiple_chapters __________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp6iakt8w6/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError\n_____________________ test_create_book_file_already_exists _____________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError\n_____________________________ test_unicode_content _____________________________\n[gw24] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis \ud83d\ude00 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj8eimou2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError\n_________________________ test_force_emoji_short_flag __________________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp0uph8hll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError\n________________________ test_single_markdown_features _________________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqxo2npi_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError\n________________________ test_create_book_with_filename ________________________\n[gw18] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp1fkumb3d/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError\n____________________________ test_epub_with_to_flag ____________________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmp9htuz0jk/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError\n_____________________________ test_output_file_tex _____________________________\n[gw65] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
' or b'\\\\begin' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
')\n\neval/tests/test_output_formats.py:71: AssertionError\n___________________ test_single_with_inline_yaml_variations ____________________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpewptrmnn/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError\n___________________________ test_set_invalid_option ____________________________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphd1__ya3/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError\n__________________________ test_tex_standalone_output __________________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpy_hxbusq/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError\n_______________________________ test_quiet_flag ________________________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp88_vumbm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError\n_____________________________ test_malformed_yaml ______________________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError\n__________________________ test_markdown_blockquotes ___________________________\n[gw56] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppeeo_t_v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError\n__________________________ test_rendering_with_cover ___________________________\n[gw82] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbq1z_y7s/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbq1z_y7s/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError\n________________________ test_lang_with_book_processing ________________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmphr4ajdo0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError\n______________________________ test_to_tex_format ______________________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp_cp1a7n4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp_cp1a7n4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError\n______________________ test_print_template_multiple_types ______________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError\n____________________________ test_set_single_option ____________________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwco3uo6q/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwco3uo6q/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError\n_____________________________ test_markdown_links ______________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe8c6uolq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError\n_____________________________ test_book_tex_output _____________________________\n[gw11] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError\n_____________________________ test_markdown_tables _____________________________\n[gw58] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpswjiwm4u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError\n__________________________ test_set_rendering_option ___________________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjisuxkte/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_lang_option.py::test_lang_option_french - AssertionErr...\nFAILED eval/tests/test_print_template.py::test_print_template_invalid - Asser...\nFAILED eval/tests/test_basic_invocation.py::test_help_long_flag - AssertionEr...\nFAILED eval/tests/test_print_template.py::test_print_template_tex - Assertion...\nFAILED eval/tests/test_list_options.py::test_list_options_long_flag - Asserti...\nFAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error\nFAILED eval/tests/test_lang_option.py::test_lang_short_flag - AssertionError:...\nFAILED eval/tests/test_print_template.py::test_print_template_html_css - Asse...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_chapter - ...\nFAILED eval/tests/test_print_template.py::test_print_template_html_standalone\nFAILED eval/tests/test_lang_option.py::test_lang_option_english - AssertionEr...\nFAILED eval/tests/test_print_template.py::test_print_template_html_dir - Asse...\nFAILED eval/tests/test_basic_invocation.py::test_help_short_flag - AssertionE...\nFAILED eval/tests/test_print_template.py::test_print_template_to_file - Asser...\nFAILED eval/tests/test_edge_cases.py::test_very_long_content - AssertionError...\nFAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks - Asse...\nFAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block\nFAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error - A...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions\nFAILED eval/tests/test_list_options.py::test_list_options_short_flag - Assert...\nFAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options - Ass...\nFAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error\nFAILED eval/tests/test_print_template.py::test_print_template_epub_css - Asse...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error - AssertionErr...\nFAILED eval/tests/test_output_formats.py::test_to_html_format - AssertionErro...\nFAILED eval/tests/test_edge_cases.py::test_empty_markdown_file - AssertionErr...\nFAILED eval/tests/test_book_processing.py::test_basic_book_html_output - Asse...\nFAILED eval/tests/test_set_option.py::test_set_boolean_option - AssertionErro...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_3 - AssertionErr...\nFAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value - Asserti...\nFAILED eval/tests/test_edge_cases.py::test_nested_lists - AssertionError: ass...\nFAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc - Asse...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_flag - AssertionErr...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_author - AssertionErr...\nFAILED eval/tests/test_rendering_options.py::test_html_dir_output - Assertion...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_defaults - As...\nFAILED eval/tests/test_markdown_features.py::test_markdown_headings - Asserti...\nFAILED eval/tests/test_single_file.py::test_single_short_flag - AssertionErro...\nFAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy - Asserti...\nFAILED eval/tests/test_markdown_features.py::test_markdown_footnotes - Assert...\nFAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks - AssertionEr...\nFAILED eval/tests/test_special_flags.py::test_combined_flags - AssertionError...\nFAILED eval/tests/test_rendering_options.py::test_rendering_numbering - Asser...\nFAILED eval/tests/test_markdown_features.py::test_markdown_emphasis - Asserti...\nFAILED eval/tests/test_single_file.py::test_single_without_yaml_block - Asser...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag - Assertion...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_flag - AssertionError:...\nFAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error\nFAILED eval/tests/test_markdown_features.py::test_markdown_lists - AssertionE...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect\nFAILED eval/tests/test_edge_cases.py::test_special_characters_in_title - Asse...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_types - Asser...\nFAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none - ...\nFAILED eval/tests/test_book_processing.py::test_book_with_metadata - Assertio...\nFAILED eval/tests/test_set_option.py::test_set_multiple_options - AssertionEr...\nFAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error - A...\nFAILED eval/tests/test_lang_option.py::test_lang_affects_messages - Assertion...\nFAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file - A...\nFAILED eval/tests/test_book_processing.py::test_book_with_relative_paths - As...\nFAILED eval/tests/test_rendering_options.py::test_pdf_output_specified - Asse...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_title - AssertionErro...\nFAILED eval/tests/test_edge_cases.py::test_mixed_list_types - AssertionError:...\nFAILED eval/tests/test_output_formats.py::test_to_with_short_flag - Assertion...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_metadata - Assertio...\nFAILED eval/tests/test_special_flags.py::test_autograph_flag - AssertionError...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_2 - AssertionErr...\nFAILED eval/tests/test_special_flags.py::test_autograph_short_flag - Assertio...\nFAILED eval/tests/test_epub_generation.py::test_epub_output_basic - Assertion...\nFAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters\nFAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters - Asse...\nFAILED eval/tests/test_create_book.py::test_create_book_file_already_exists\nFAILED eval/tests/test_edge_cases.py::test_unicode_content - AssertionError: ...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag - Assert...\nFAILED eval/tests/test_single_file.py::test_single_markdown_features - Assert...\nFAILED eval/tests/test_create_book.py::test_create_book_with_filename - Asser...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag - Assertion...\nFAILED eval/tests/test_output_formats.py::test_output_file_tex - assert (b'\\\\...\nFAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations\nFAILED eval/tests/test_set_option.py::test_set_invalid_option - AssertionErro...\nFAILED eval/tests/test_rendering_options.py::test_tex_standalone_output - Ass...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_flag - AssertionError: as...\nFAILED eval/tests/test_edge_cases.py::test_malformed_yaml - AssertionError: a...\nFAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes - Asse...\nFAILED eval/tests/test_rendering_options.py::test_rendering_with_cover - Asse...\nFAILED eval/tests/test_lang_option.py::test_lang_with_book_processing - Asser...\nFAILED eval/tests/test_output_formats.py::test_to_tex_format - AssertionError...\nFAILED eval/tests/test_single_file.py::test_single_tex_output - AssertionErro...\nFAILED eval/tests/test_print_template.py::test_print_template_multiple_types\nFAILED eval/tests/test_set_option.py::test_set_single_option - AssertionError...\nFAILED eval/tests/test_markdown_features.py::test_markdown_links - AssertionE...\nFAILED eval/tests/test_book_processing.py::test_book_tex_output - AssertionEr...\nFAILED eval/tests/test_markdown_features.py::test_markdown_tables - Assertion...\nFAILED eval/tests/test_set_option.py::test_set_rendering_option - AssertionEr...\n======================== 94 failed, 26 passed in 4.25s =========================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.12453567000000021, "output": "temp_files = <conftest.TempFiles object at 0x7f4d32781d80>\n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1nmie8pe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fed12201d80>\n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7cb07aedd0>\n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0z97veqd/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f095d635f00>\n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = <function is_zipfile at 0x7f095e1ce5f0>(PosixPath('/tmp/tmp9htuz0jk/test.epub'))\nE + where <function is_zipfile at 0x7f095e1ce5f0> = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa90e45db70>\n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2zcqp2uv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionErrordef test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionErrordef test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5a02f4ed40>\n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f5a03569e30>()\nE + where <built-in method lower of bytes object at 0x7f5a03569e30> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmr4t6ban/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc6c38a1b70>\n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmphr4ajdo0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe1ab8f1f00>\n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp7xjci53z/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb95570db70>\n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fb95597d170>()\nE + where <built-in method lower of bytes object at 0x7fb95597d170> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fb95597d170>()\nE + where <built-in method lower of bytes object at 0x7fb95597d170> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f73826f2dd0>\n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqmrv4nkn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f001d3f9f30>\n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwco3uo6q/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwco3uo6q/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd16e7b1b70>\n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7fde9q6u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ffa07dcdab0>\n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuflvo7g4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionErrordef test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f84ae8e9d80>\n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxf6tirjw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2adb376d10>\n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyo6kk73j/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionErrordef test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb777579d80>\n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp0uph8hll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc08ca66e00>\n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqxo2npi_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd4addeae00>\n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj5mypvgn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionErrordef test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff6af371ab0>\n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw8psry34/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionErrordef test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fce7b2a1ed0>\n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fce7b507370>()\nE + where <built-in method lower of bytes object at 0x7fce7b507370> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionErrordef test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionErrordef test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionErrordef test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f023753db70>\n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnto3akwe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionErrordef test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f65895c9b70>\n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp07alqe7q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp07alqe7q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7c104c1ab0>\n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg62w9dll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionErrordef test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdc9431ded0>\n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpy_hxbusq/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5534601f00>\n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpg2o2gyld/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f38e3071ab0>\n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjbg4ij8f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f44457c5ab0>\n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp5cikf7e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp5cikf7e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionErrordef test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa9f5069b70>\n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpu412sj1w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionErrordef test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f01af5b5d80>\n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpifd4ir5_/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fafcb309b70>\n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: <Special> 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp1yj56fj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe2df579f00>\n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsd4lezy1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff00ae698a0>\n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpz9otcd84/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionErrordef test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd712921870>\n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpzdzgz1ph/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa9431fded0>\n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvlipsu1_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionErrordef test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionErrordef test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f53821cd870>\n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp_cp1a7n4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp_cp1a7n4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f85da7557e0>\n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppeeo_t_v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd96bbfded0>\n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmp1dlq876v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd85bafef20>\n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3ed39d6u/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8e4f576f80>\n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f8e4f580af0>()\nE + where <built-in method lower of bytes object at 0x7f8e4f580af0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f8e4f580af0>()\nE + where <built-in method lower of bytes object at 0x7f8e4f580af0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f323c41ad40>\n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjisuxkte/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff71ba9dab0>\n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0ci2wi6v/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa25389dab0>\n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy47821vf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2203401d80>\n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp_47fw6vo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp_47fw6vo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff42199dea0>\n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp88_vumbm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionErrordef test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionErrordef test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc75c495d80>\n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n' = <built-in method lower of bytes object at 0x7fc75c8b71b0>()\nE + where <built-in method lower of bytes object at 0x7fc75c8b71b0> = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f285a005d80>\n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbq1z_y7s/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbq1z_y7s/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f96d4d81d80>\n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f96d4fe7370>()\nE + where <built-in method lower of bytes object at 0x7f96d4fe7370> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f96d4fe7370>()\nE + where <built-in method lower of bytes object at 0x7f96d4fe7370> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphd1__ya3/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc7614adb70>\n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp8wknvu6z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionErrortemp_files = <conftest.TempFiles object at 0x7facd241dcf0>\n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7facd2e6d770>()\nE + where <built-in method lower of bytes object at 0x7facd2e6d770> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f34f974ded0>\n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmphxqgowcr/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionErrordef test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f625a731d80>\n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpswjiwm4u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionErrordef test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionErrordef test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe98bcc9ed0>\n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>' or b'\\\\begin' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>')\n\neval/tests/test_output_formats.py:71: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb115129b70>\n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvb75q1x7/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8266a95ab0>\n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxs2z069m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa948912e00>\n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fa94a519770>()\nE + where <built-in method lower of bytes object at 0x7fa94a519770> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = <built-in method lower of bytes object at 0x7fa94a868030>()\nE + where <built-in method lower of bytes object at 0x7fa94a868030> = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9ca4ea1f30>\n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpooudoxp_/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2ae6e59870>\n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f2ae6e727f0>()\nE + where <built-in method lower of bytes object at 0x7f2ae6e727f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f2ae6e727f0>()\nE + where <built-in method lower of bytes object at 0x7f2ae6e727f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe2d59d5f00>\n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = <built-in method encode of str object at 0x7fe2d59e7630>()\nE + where <built-in method encode of str object at 0x7fe2d59e7630> = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpu8xewjwq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ffa17afded0>\n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp1fkumb3d/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4f58fddd80>\n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionErrordef test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f46cb023040>\n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp6iakt8w6/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fcf558a5ab0>\n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1dynsv84/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff2b4b11ed0>\n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1fb6da5ab0>\n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe8c6uolq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f03376e9f00>\n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8p97lv3d/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f338575dab0>\n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpewptrmnn/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f386302e080>\n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj8eimou2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f997eff1ed0>\n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpd50rr6ru/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionErrordef test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f08c80c6d40>\n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpdk8xqg_v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f314b2b97e0>\n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuc6t44gr/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f46c0d39ed0>\n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpl8nold9d/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError", "returncode": 0, "exception_info": "", "branch": "coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter1_gen-20260325_030501"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.050772975000001, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_gen-20260325_070023", "wall_time": 0.07975598100000525, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was 14d87cd coverage-test result\nHEAD is now at 1ebde5a coverage-test result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.049490136999992274, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04206609799999228, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.04454566499998691, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.043153993999993645, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.916942016000007, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [155 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_create_book.py::test_create_book_multiple_files \neval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_epub_generation.py::test_epub_with_to_flag \neval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_edge_cases.py::test_book_with_no_title \neval/tests/test_lang_option.py::test_lang_with_book_processing \neval/tests/test_output_formats.py::test_output_file_html \neval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_markdown_features.py::test_markdown_headings \neval/tests/test_set_option.py::test_set_invalid_option \neval/tests/test_rendering_options.py::test_tex_standalone_output \neval/tests/test_single_file.py::test_single_with_set_override \neval/tests/test_rendering_options.py::test_rendering_inline_toc \neval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_edge_cases.py::test_malformed_yaml \neval/tests/test_markdown_features.py::test_markdown_links \neval/tests/test_print_template.py::test_print_template_multiple_types \neval/tests/test_print_template.py::test_print_template_invalid \neval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_output_formats.py::test_output_file_tex \neval/tests/test_edge_cases.py::test_nested_lists \neval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_rendering_options.py::test_rendering_highlight_none \neval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_create_book.py::test_create_book_file_already_exists \neval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_lang_option.py::test_lang_option_english \neval/tests/test_single_file.py::test_single_with_output_file \neval/tests/test_single_file.py::test_single_with_inline_yaml_variations \neval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_output_formats.py::test_to_with_short_flag \neval/tests/test_rendering_options.py::test_pdf_output_specified \neval/tests/test_output_formats.py::test_html_dir_format \neval/tests/test_create_book.py::test_create_book_template_structure \neval/tests/test_markdown_features.py::test_markdown_code_blocks \neval/tests/test_rendering_options.py::test_rendering_highlight_syntect \neval/tests/test_rendering_options.py::test_html_dir_output \neval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_print_template.py::test_print_template_html_dir \neval/tests/test_edge_cases.py::test_very_long_content \neval/tests/test_list_options.py::test_list_options_short_flag \neval/tests/test_edge_cases.py::test_empty_markdown_file \neval/tests/test_epub_generation.py::test_epub_multiple_chapters \neval/tests/test_book_processing.py::test_book_missing_chapter_file \neval/tests/test_print_template.py::test_print_template_epub_css \neval/tests/test_markdown_features.py::test_markdown_tables \neval/tests/test_list_options.py::test_list_options_long_flag \neval/tests/test_edge_cases.py::test_mixed_list_types \neval/tests/test_markdown_features.py::test_markdown_horizontal_rules \neval/tests/test_epub_generation.py::test_epub_version_3 \neval/tests/test_epub_generation.py::test_epub_with_metadata \neval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_set_option.py::test_set_single_option \neval/tests/test_edge_cases.py::test_book_with_no_author \neval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_markdown_features.py::test_markdown_emphasis \neval/tests/test_book_processing.py::test_book_with_multiple_chapters \neval/tests/test_edge_cases.py::test_unicode_content \neval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_markdown_features.py::test_markdown_blockquotes \neval/tests/test_single_file.py::test_single_short_flag \neval/tests/test_print_template.py::test_print_template_tex \neval/tests/test_output_formats.py::test_output_short_flag \neval/tests/test_output_formats.py::test_invalid_format_shows_error \neval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_print_template.py::test_print_template_epub_chapter \neval/tests/test_list_options.py::test_list_options_shows_types \neval/tests/test_edge_cases.py::test_special_characters_in_title \neval/tests/test_markdown_features.py::test_markdown_footnotes \neval/tests/test_rendering_options.py::test_rendering_numbering \neval/tests/test_rendering_options.py::test_rendering_with_cover \neval/tests/test_output_formats.py::test_to_html_format \neval/tests/test_set_option.py::test_set_multiple_options \neval/tests/test_epub_generation.py::test_epub_version_2 \neval/tests/test_print_template.py::test_print_template_html_standalone \neval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_print_template.py::test_print_template_to_file \neval/tests/test_book_processing.py::test_book_empty_chapter_list \neval/tests/test_list_options.py::test_list_options_shows_defaults \neval/tests/test_lang_option.py::test_lang_affects_messages \neval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_output_formats.py::test_output_without_to_shows_error \neval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_markdown_features.py::test_markdown_lists \neval/tests/test_edge_cases.py::test_multiple_yaml_blocks \neval/tests/test_set_option.py::test_set_boolean_option \neval/tests/test_create_book.py::test_create_book_with_filename \neval/tests/test_single_file.py::test_single_without_yaml_block \neval/tests/test_output_formats.py::test_to_tex_format \neval/tests/test_lang_option.py::test_lang_option_french \neval/tests/test_lang_option.py::test_lang_short_flag \neval/tests/test_create_book.py::test_create_book_to_stdout \neval/tests/test_list_options.py::test_list_options_shows_descriptions \neval/tests/test_edge_cases.py::test_output_to_existing_file \neval/tests/test_single_file.py::test_single_markdown_with_yaml_block \neval/tests/test_set_option.py::test_set_with_spaces_in_value \neval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_print_template.py::test_print_template_html_css \neval/tests/test_single_file.py::test_single_markdown_features \neval/tests/test_set_option.py::test_set_rendering_option \neval/tests/test_set_option.py::test_set_output_path \neval/tests/test_single_file.py::test_single_tex_output \neval/tests/test_epub_generation.py::test_epub_output_basic \n[gw17] [ 0%] PASSED eval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \neval/tests/test_single_file_rendering.py::test_single_render_to_html \neval/tests/test_single_file_rendering.py::test_single_render_to_epub \neval/tests/test_single_file_rendering.py::test_single_with_set_options \neval/tests/test_single_file_rendering.py::test_single_with_links \neval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \neval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \neval/tests/test_single_file_rendering.py::test_single_with_output_flag \neval/tests/test_single_file_rendering.py::test_single_without_yaml \neval/tests/test_single_file_rendering.py::test_single_to_stdout \neval/tests/test_single_file_rendering.py::test_single_with_blockquotes \neval/tests/test_single_file_rendering.py::test_single_tex_output \neval/tests/test_single_file_rendering.py::test_single_with_to_flag \neval/tests/test_single_file_rendering.py::test_single_stats \n[gw58] [ 1%] PASSED eval/tests/test_lang_option.py::test_lang_invalid_code \n[gw3] [ 1%] PASSED eval/tests/test_actual_rendering.py::test_render_with_to_flag_html \n[gw56] [ 2%] PASSED eval/tests/test_lang_option.py::test_lang_with_version \n[gw13] [ 3%] PASSED eval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \n[gw111] [ 3%] PASSED eval/tests/test_single_file.py::test_single_with_set_override \n[gw18] [ 4%] PASSED eval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_special_flags.py::test_force_emoji_flag \neval/tests/test_stats.py::test_stats_with_formatting \n[gw11] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_stats.py::test_stats_multiple_chapters \n[gw6] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_special_flags.py::test_autograph_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw7] [ 6%] PASSED eval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_special_flags.py::test_combined_flags \n[gw31] [ 7%] PASSED eval/tests/test_create_book.py::test_create_book_short_flag \n[gw35] [ 7%] PASSED eval/tests/test_create_book.py::test_create_book_template_structure \n[gw28] [ 8%] PASSED eval/tests/test_book_processing.py::test_book_empty_chapter_list \n[gw33] [ 9%] PASSED eval/tests/test_create_book.py::test_create_book_multiple_files \n[gw82] [ 9%] PASSED eval/tests/test_output_formats.py::test_html_dir_format \n[gw46] [ 10%] PASSED eval/tests/test_edge_cases.py::test_output_to_existing_file \n[gw103] [ 10%] PASSED eval/tests/test_set_option.py::test_set_output_path \n[gw0] [ 11%] PASSED eval/tests/test_actual_rendering.py::test_render_html_basic \n[gw24] [ 12%] PASSED eval/tests/test_book_processing.py::test_book_html_to_file \n[gw30] [ 12%] PASSED eval/tests/test_create_book.py::test_create_book_to_stdout \neval/tests/test_verbose_quiet.py::test_quiet_short_flag \neval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw78] [ 13%] PASSED eval/tests/test_output_formats.py::test_output_file_html \n[gw109] [ 14%] PASSED eval/tests/test_single_file.py::test_single_with_output_file \n[gw77] [ 14%] PASSED eval/tests/test_output_formats.py::test_output_short_flag \n[gw124] [ 15%] PASSED eval/tests/test_single_file_rendering.py::test_single_without_yaml \n[gw125] [ 16%] PASSED eval/tests/test_single_file_rendering.py::test_single_stats \n[gw117] [ 16%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_to_flag \n[gw17] [ 17%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw118] [ 18%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_output_flag \n[gw13] [ 18%] PASSED eval/tests/test_stats.py::test_stats_with_formatting \n[gw14] [ 19%] FAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw16] [ 20%] FAILED eval/tests/test_basic_invocation.py::test_help_long_flag \n[gw18] [ 20%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \neval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw80] [ 21%] FAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error \n[gw11] [ 21%] PASSED eval/tests/test_stats.py::test_stats_multiple_chapters \n[gw34] [ 22%] FAILED eval/tests/test_create_book.py::test_create_book_file_already_exists \n[gw71] [ 23%] FAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules \n[gw85] [ 23%] FAILED eval/tests/test_print_template.py::test_print_template_tex \n[gw87] [ 24%] FAILED eval/tests/test_print_template.py::test_print_template_html_dir \n[gw24] [ 25%] PASSED eval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw72] [ 25%] FAILED eval/tests/test_markdown_features.py::test_markdown_tables \n[gw88] [ 26%] FAILED eval/tests/test_print_template.py::test_print_template_invalid \n[gw1] [ 27%] FAILED eval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_special_flags.py::test_no_fancy_flag \n[gw84] [ 27%] FAILED eval/tests/test_print_template.py::test_print_template_epub_css \n[gw108] [ 28%] FAILED eval/tests/test_single_file.py::test_single_short_flag \n[gw64] [ 29%] FAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions \n[gw53] [ 29%] FAILED eval/tests/test_lang_option.py::test_lang_option_english \n[gw99] [ 30%] FAILED eval/tests/test_rendering_options.py::test_tex_standalone_output \n[gw62] [ 30%] FAILED eval/tests/test_list_options.py::test_list_options_shows_types \n[gw59] [ 31%] FAILED eval/tests/test_lang_option.py::test_lang_with_book_processing \n[gw60] [ 32%] FAILED eval/tests/test_list_options.py::test_list_options_long_flag \n[gw22] [ 32%] FAILED eval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw112] [ 33%] FAILED eval/tests/test_single_file.py::test_single_tex_output \n[gw70] [ 34%] FAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes \n[gw63] [ 34%] FAILED eval/tests/test_list_options.py::test_list_options_shows_defaults \n[gw32] [ 35%] FAILED eval/tests/test_create_book.py::test_create_book_with_filename \n[gw110] [ 36%] FAILED eval/tests/test_single_file.py::test_single_without_yaml_block \n[gw91] [ 36%] FAILED eval/tests/test_print_template.py::test_print_template_epub_chapter \n[gw83] [ 37%] FAILED eval/tests/test_print_template.py::test_print_template_html_css \n[gw48] [ 38%] FAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag \n[gw73] [ 38%] FAILED eval/tests/test_markdown_features.py::test_markdown_footnotes \n[gw37] [ 39%] FAILED eval/tests/test_edge_cases.py::test_very_long_content \n[gw15] [ 40%] FAILED eval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw68] [ 40%] FAILED eval/tests/test_markdown_features.py::test_markdown_links \n[gw93] [ 41%] FAILED eval/tests/test_rendering_options.py::test_rendering_numbering \n[gw20] [ 41%] FAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw39] [ 42%] FAILED eval/tests/test_edge_cases.py::test_special_characters_in_title \n[gw100] [ 43%] FAILED eval/tests/test_set_option.py::test_set_single_option \n[gw9] [ 43%] FAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_stats.py::test_stats_long_flag \n[gw54] [ 44%] FAILED eval/tests/test_lang_option.py::test_lang_option_french \n[gw52] [ 45%] FAILED eval/tests/test_epub_generation.py::test_epub_version_3 \n[gw119] [ 45%] FAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout \n[gw25] [ 46%] FAILED eval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw57] [ 47%] FAILED eval/tests/test_lang_option.py::test_lang_affects_messages \n[gw29] [ 47%] FAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters \n[gw21] [ 48%] FAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \n[gw3] [ 49%] FAILED eval/tests/test_special_flags.py::test_force_emoji_flag \n[gw69] [ 49%] FAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks \n[gw61] [ 50%] FAILED eval/tests/test_list_options.py::test_list_options_short_flag \n[gw90] [ 50%] FAILED eval/tests/test_print_template.py::test_print_template_multiple_types \n[gw106] [ 51%] FAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value \n[gw38] [ 52%] FAILED eval/tests/test_edge_cases.py::test_unicode_content \n[gw94] [ 52%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect \neval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw66] [ 53%] FAILED eval/tests/test_markdown_features.py::test_markdown_emphasis \n[gw10] [ 54%] FAILED eval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_stats.py::test_stats_short_flag \n[gw23] [ 54%] FAILED eval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw96] [ 55%] FAILED eval/tests/test_rendering_options.py::test_rendering_with_cover \n[gw65] [ 56%] FAILED eval/tests/test_markdown_features.py::test_markdown_headings \n[gw97] [ 56%] FAILED eval/tests/test_rendering_options.py::test_html_dir_output \n[gw114] [ 57%] FAILED eval/tests/test_single_file.py::test_single_markdown_features \n[gw5] [ 58%] FAILED eval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_special_flags.py::test_autograph_flag \n[gw20] [ 58%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw98] [ 59%] FAILED eval/tests/test_rendering_options.py::test_pdf_output_specified \n[gw49] [ 60%] FAILED eval/tests/test_epub_generation.py::test_epub_with_metadata \n[gw42] [ 60%] FAILED eval/tests/test_edge_cases.py::test_mixed_list_types \n[gw104] [ 61%] FAILED eval/tests/test_set_option.py::test_set_invalid_option \n[gw12] [ 61%] FAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_stats.py::test_stats_empty_book \n[gw116] [ 62%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub \n[gw67] [ 63%] FAILED eval/tests/test_markdown_features.py::test_markdown_lists \n[gw41] [ 63%] FAILED eval/tests/test_edge_cases.py::test_nested_lists \n[gw0] [ 64%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw4] [ 65%] FAILED eval/tests/test_actual_rendering.py::test_render_to_stdout \n[gw19] [ 65%] FAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw19] [ 66%] PASSED eval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw86] [ 67%] FAILED eval/tests/test_print_template.py::test_print_template_html_standalone \n[gw75] [ 67%] FAILED eval/tests/test_output_formats.py::test_to_tex_format \n[gw44] [ 68%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_title \n[gw26] [ 69%] FAILED eval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw40] [ 69%] FAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks \n[gw102] [ 70%] FAILED eval/tests/test_set_option.py::test_set_rendering_option \n[gw79] [ 70%] FAILED eval/tests/test_output_formats.py::test_output_file_tex \n[gw1] [ 71%] FAILED eval/tests/test_special_flags.py::test_no_fancy_flag \n[gw105] [ 72%] FAILED eval/tests/test_set_option.py::test_set_boolean_option \n[gw7] [ 72%] FAILED eval/tests/test_special_flags.py::test_combined_flags \n[gw27] [ 73%] FAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file \n[gw74] [ 74%] FAILED eval/tests/test_output_formats.py::test_to_html_format \n[gw10] [ 74%] PASSED eval/tests/test_stats.py::test_stats_short_flag \n[gw15] [ 75%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw36] [ 76%] FAILED eval/tests/test_edge_cases.py::test_empty_markdown_file \n[gw47] [ 76%] FAILED eval/tests/test_epub_generation.py::test_epub_output_basic \n[gw8] [ 77%] FAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw8] [ 78%] FAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw113] [ 78%] FAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations \n[gw22] [ 79%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw26] [ 80%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw126] [ 80%] FAILED eval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw5] [ 81%] FAILED eval/tests/test_special_flags.py::test_autograph_flag \n[gw107] [ 81%] FAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block \n[gw50] [ 82%] FAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters \n[gw101] [ 83%] FAILED eval/tests/test_set_option.py::test_set_multiple_options \n[gw92] [ 83%] FAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc \n[gw51] [ 84%] FAILED eval/tests/test_epub_generation.py::test_epub_version_2 \n[gw6] [ 85%] FAILED eval/tests/test_special_flags.py::test_autograph_short_flag \n[gw9] [ 85%] PASSED eval/tests/test_stats.py::test_stats_long_flag \n[gw21] [ 86%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw2] [ 87%] FAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw2] [ 87%] FAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw95] [ 88%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none \n[gw23] [ 89%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw14] [ 89%] PASSED eval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw120] [ 90%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options \n[gw122] [ 90%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_links \n[gw55] [ 91%] FAILED eval/tests/test_lang_option.py::test_lang_short_flag \n[gw127] [ 92%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \n[gw115] [ 92%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html \n[gw25] [ 93%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw81] [ 94%] FAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error \n[gw12] [ 94%] PASSED eval/tests/test_stats.py::test_stats_empty_book \n[gw89] [ 95%] FAILED eval/tests/test_print_template.py::test_print_template_to_file \n[gw123] [ 96%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes \neval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw4] [ 96%] FAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw45] [ 97%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_author \n[gw16] [ 98%] PASSED eval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw76] [ 98%] FAILED eval/tests/test_output_formats.py::test_to_with_short_flag \n[gw121] [ 99%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \n[gw43] [100%] FAILED eval/tests/test_edge_cases.py::test_malformed_yaml \n\n=================================== FAILURES ===================================\n________________________ test_no_arguments_shows_error _________________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError\n_____________________________ test_help_long_flag ______________________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError\n_______________________ test_invalid_format_shows_error ________________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError\n_____________________ test_create_book_file_already_exists _____________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError\n________________________ test_markdown_horizontal_rules ________________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2zmwykfx/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError\n___________________________ test_print_template_tex ____________________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError\n_________________________ test_print_template_html_dir _________________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError\n_____________________________ test_markdown_tables _____________________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkmjde4iw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError\n_________________________ test_print_template_invalid __________________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError\n____________________________ test_render_epub_basic ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkwy8rj34/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError\n_________________________ test_print_template_epub_css _________________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError\n____________________________ test_single_short_flag ____________________________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpc22cka31/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError\n_____________________ test_list_options_shows_descriptions _____________________\n[gw64] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError\n___________________________ test_lang_option_english ___________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError\n__________________________ test_tex_standalone_output __________________________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp5atllq6v/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError\n________________________ test_list_options_shows_types _________________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError\n________________________ test_lang_with_book_processing ________________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpsj0w09g_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError\n_________________________ test_list_options_long_flag __________________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError\n_________________________ test_basic_book_html_output __________________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiuvkloew/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw112] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbay9ltc6/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbay9ltc6/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError\n__________________________ test_markdown_blockquotes ___________________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpz4usblni/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError\n_______________________ test_list_options_shows_defaults _______________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError\n________________________ test_create_book_with_filename ________________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmf8eb7_n/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError\n________________________ test_single_without_yaml_block ________________________\n[gw110] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpjleol38m/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError\n_______________________ test_print_template_epub_chapter _______________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError\n_________________________ test_print_template_html_css _________________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError\n____________________________ test_epub_with_to_flag ____________________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmpbbivohnn/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError\n___________________________ test_markdown_footnotes ____________________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpup57i95m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError\n____________________________ test_very_long_content ____________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnexmj6wg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError\n_____________________________ test_help_short_flag _____________________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError\n_____________________________ test_markdown_links ______________________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6pfaivw5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError\n___________________________ test_rendering_numbering ___________________________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6lle0o_j/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError\n_______________________ test_invalid_option_shows_error ________________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError\n_______________________ test_special_characters_in_title _______________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9ai__fqz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError\n____________________________ test_set_single_option ____________________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph26x8pb4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph26x8pb4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError\n_________________________ test_render_with_inline_toc __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

TOC Author

Book with TOC

\\n

Chapter 1
Chapter One

First content.

\\n
\\n

Chapter 2
Chapter Two

Second content.

\\n
'.count\n\neval/tests/test_actual_rendering.py:389: AssertionError\n___________________________ test_lang_option_french ____________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError\n_____________________________ test_epub_version_3 ______________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmigek111/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError\n____________________________ test_single_to_stdout _____________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError\n_____________________________ test_book_tex_output _____________________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError\n__________________________ test_lang_affects_messages __________________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError\n_______________________ test_book_with_multiple_chapters _______________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw8qrhz7e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError\n______________________ test_missing_book_file_shows_error ______________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError\n____________________________ test_force_emoji_flag _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test \ud83d\ude00\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmp652ljg27/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError\n__________________________ test_markdown_code_blocks ___________________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp40a7e8et/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError\n_________________________ test_list_options_short_flag _________________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError\n______________________ test_print_template_multiple_types ______________________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError\n________________________ test_set_with_spaces_in_value _________________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwb2qqrz6/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError\n_____________________________ test_unicode_content _____________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis \ud83d\ude00 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvz5pmvni/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError\n_______________________ test_rendering_highlight_syntect _______________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3t0q7ujc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3t0q7ujc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError\n____________________________ test_markdown_emphasis ____________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcozhox30/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError\n_____________________________ test_render_html_dir _____________________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpidkymsbl/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError\n___________________________ test_book_with_metadata ____________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpfvmbkij3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError\n__________________________ test_rendering_with_cover ___________________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4tjevrmd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4tjevrmd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError\n____________________________ test_markdown_headings ____________________________\n[gw65] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy9nwhkhz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError\n_____________________________ test_html_dir_output _____________________________\n[gw97] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmplprn4bb6/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError\n________________________ test_single_markdown_features _________________________\n[gw114] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp1hnwfegb/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError\n____________________________ test_render_tex_output ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp1i4cimx7/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError\n__________________________ test_pdf_output_specified ___________________________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError\n___________________________ test_epub_with_metadata ____________________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmptolngu9j/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError\n____________________________ test_mixed_list_types _____________________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkhxfsp7r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError\n___________________________ test_set_invalid_option ____________________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7u9tsaq/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError\n______________________ test_render_error_missing_chapter _______________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError\n__________________________ test_single_render_to_epub __________________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpzlxanvqp/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError\n_____________________________ test_markdown_lists ______________________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkordi1df/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError\n______________________________ test_nested_lists _______________________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuxu46w18/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError\n_____________________ test_single_render_multiple_formats ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0idbys3m/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError\n____________________________ test_render_to_stdout _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError\n_________________________ test_help_shows_all_options __________________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError\n_____________________ test_print_template_html_standalone ______________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError\n______________________________ test_to_tex_format ______________________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError\n___________________________ test_book_with_no_title ____________________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe3merjuu/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError\n________________________ test_book_with_relative_paths _________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphf7j67wf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError\n__________________________ test_multiple_yaml_blocks ___________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpa80upuy4/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError\n__________________________ test_set_rendering_option ___________________________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2ij2mbr2/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError\n_____________________________ test_output_file_tex _____________________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
' or b'\\\\begin' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
')\n\neval/tests/test_output_formats.py:71: AssertionError\n______________________________ test_no_fancy_flag ______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmp9c22wt8g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError\n___________________________ test_set_boolean_option ____________________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvyejnumf/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError\n_____________________________ test_combined_flags ______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpjnzrnbdm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError\n________________________ test_book_missing_chapter_file ________________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError\n_____________________________ test_to_html_format ______________________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa81iylbd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError\n___________________________ test_empty_markdown_file ___________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpveycnvlz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError\n____________________________ test_epub_output_basic ____________________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwh8e7e88/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError\n_________________________ test_render_with_cover_image _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3ziia1en/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError\n__________________________ test_verbose_with_no_fancy __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmp8f5ao992/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError\n___________________ test_single_with_inline_yaml_variations ____________________\n[gw113] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6razru55/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError\n____________________________ test_quiet_with_error _____________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw126] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

\\n

--- author: LaTeX Author title: LaTeX Doc ---

\\n

Chapter 1
LaTeX Content

Some content with **bold**.

\\n
'\n\neval/tests/test_single_file_rendering.py:369: AssertionError\n_____________________________ test_autograph_flag ______________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmplchb__sl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmplchb__sl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError\n_____________________ test_single_markdown_with_yaml_block _____________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpe3z1xlll/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError\n_________________________ test_epub_multiple_chapters __________________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp43ihwv2e/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError\n__________________________ test_set_multiple_options ___________________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7m7h9vya/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError\n__________________________ test_rendering_inline_toc ___________________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4uj9oqff/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError\n_____________________________ test_epub_version_2 ______________________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp25zaao38/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError\n__________________________ test_autograph_short_flag ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpp01qd5oa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpp01qd5oa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError\n_________________________ test_render_multiple_formats _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpq4tqein7/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError\n___________________________ test_no_fancy_short_flag ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpdpbuo9xa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError\n________________________ test_rendering_highlight_none _________________________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8kf9iys9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError\n_______________________________ test_quiet_flag ________________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp1kviev2k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError\n_________________________ test_single_with_set_options _________________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp97ryvote/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError\n____________________________ test_single_with_links ____________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmprfck5phz/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmprfck5phz/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_____________________________ test_lang_short_flag _____________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError\n_____________________ test_single_with_syntax_highlighting _____________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpkkyn2qke/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpkkyn2qke/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n__________________________ test_single_render_to_html __________________________\n[gw115] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkiq8ykz9/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError\n______________________ test_output_without_to_shows_error ______________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError\n_________________________ test_print_template_to_file __________________________\n[gw89] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError\n_________________________ test_single_with_blockquotes _________________________\n[gw123] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpx3m2rxx6/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpx3m2rxx6/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_________________________ test_force_emoji_short_flag __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpnjp_ux4u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError\n___________________________ test_book_with_no_author ___________________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgy9mc5mu/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError\n___________________________ test_to_with_short_flag ____________________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy3ef1v1b/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError\n______________________ test_single_with_multiple_chapters ______________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpfb1ucgeb/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpfb1ucgeb/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_____________________________ test_malformed_yaml ______________________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error - A...\nFAILED eval/tests/test_basic_invocation.py::test_help_long_flag - AssertionEr...\nFAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error - A...\nFAILED eval/tests/test_create_book.py::test_create_book_file_already_exists\nFAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules\nFAILED eval/tests/test_print_template.py::test_print_template_tex - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_html_dir - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_tables - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_invalid - Asser...\nFAILED eval/tests/test_actual_rendering.py::test_render_epub_basic - Assertio...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_css - Asse...\nFAILED eval/tests/test_single_file.py::test_single_short_flag - AssertionErro...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions\nFAILED eval/tests/test_lang_option.py::test_lang_option_english - AssertionEr...\nFAILED eval/tests/test_rendering_options.py::test_tex_standalone_output - Ass...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_types - Asser...\nFAILED eval/tests/test_lang_option.py::test_lang_with_book_processing - Asser...\nFAILED eval/tests/test_list_options.py::test_list_options_long_flag - Asserti...\nFAILED eval/tests/test_book_processing.py::test_basic_book_html_output - Asse...\nFAILED eval/tests/test_single_file.py::test_single_tex_output - AssertionErro...\nFAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes - Asse...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_defaults - As...\nFAILED eval/tests/test_create_book.py::test_create_book_with_filename - Asser...\nFAILED eval/tests/test_single_file.py::test_single_without_yaml_block - Asser...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_chapter - ...\nFAILED eval/tests/test_print_template.py::test_print_template_html_css - Asse...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag - Assertion...\nFAILED eval/tests/test_markdown_features.py::test_markdown_footnotes - Assert...\nFAILED eval/tests/test_edge_cases.py::test_very_long_content - AssertionError...\nFAILED eval/tests/test_basic_invocation.py::test_help_short_flag - AssertionE...\nFAILED eval/tests/test_markdown_features.py::test_markdown_links - AssertionE...\nFAILED eval/tests/test_rendering_options.py::test_rendering_numbering - Asser...\nFAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error\nFAILED eval/tests/test_edge_cases.py::test_special_characters_in_title - Asse...\nFAILED eval/tests/test_set_option.py::test_set_single_option - AssertionError...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc - ass...\nFAILED eval/tests/test_lang_option.py::test_lang_option_french - AssertionErr...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_3 - AssertionErr...\nFAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout - Asse...\nFAILED eval/tests/test_book_processing.py::test_book_tex_output - AssertionEr...\nFAILED eval/tests/test_lang_option.py::test_lang_affects_messages - Assertion...\nFAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters\nFAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error\nFAILED eval/tests/test_special_flags.py::test_force_emoji_flag - AssertionErr...\nFAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks - Asse...\nFAILED eval/tests/test_list_options.py::test_list_options_short_flag - Assert...\nFAILED eval/tests/test_print_template.py::test_print_template_multiple_types\nFAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value - Asserti...\nFAILED eval/tests/test_edge_cases.py::test_unicode_content - AssertionError: ...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect\nFAILED eval/tests/test_markdown_features.py::test_markdown_emphasis - Asserti...\nFAILED eval/tests/test_actual_rendering.py::test_render_html_dir - AssertionE...\nFAILED eval/tests/test_book_processing.py::test_book_with_metadata - Assertio...\nFAILED eval/tests/test_rendering_options.py::test_rendering_with_cover - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_headings - Asserti...\nFAILED eval/tests/test_rendering_options.py::test_html_dir_output - Assertion...\nFAILED eval/tests/test_single_file.py::test_single_markdown_features - Assert...\nFAILED eval/tests/test_actual_rendering.py::test_render_tex_output - Assertio...\nFAILED eval/tests/test_rendering_options.py::test_pdf_output_specified - Asse...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_metadata - Assertio...\nFAILED eval/tests/test_edge_cases.py::test_mixed_list_types - AssertionError:...\nFAILED eval/tests/test_set_option.py::test_set_invalid_option - AssertionErro...\nFAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub\nFAILED eval/tests/test_markdown_features.py::test_markdown_lists - AssertionE...\nFAILED eval/tests/test_edge_cases.py::test_nested_lists - AssertionError: ass...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats\nFAILED eval/tests/test_actual_rendering.py::test_render_to_stdout - Assertion...\nFAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options - Ass...\nFAILED eval/tests/test_print_template.py::test_print_template_html_standalone\nFAILED eval/tests/test_output_formats.py::test_to_tex_format - AssertionError...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_title - AssertionErro...\nFAILED eval/tests/test_book_processing.py::test_book_with_relative_paths - As...\nFAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks - AssertionEr...\nFAILED eval/tests/test_set_option.py::test_set_rendering_option - AssertionEr...\nFAILED eval/tests/test_output_formats.py::test_output_file_tex - assert (b'\\\\...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_flag - AssertionError:...\nFAILED eval/tests/test_set_option.py::test_set_boolean_option - AssertionErro...\nFAILED eval/tests/test_special_flags.py::test_combined_flags - AssertionError...\nFAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file - A...\nFAILED eval/tests/test_output_formats.py::test_to_html_format - AssertionErro...\nFAILED eval/tests/test_edge_cases.py::test_empty_markdown_file - AssertionErr...\nFAILED eval/tests/test_epub_generation.py::test_epub_output_basic - Assertion...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image - As...\nFAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy - Asserti...\nFAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error - AssertionErr...\nFAILED eval/tests/test_single_file_rendering.py::test_single_tex_output - ass...\nFAILED eval/tests/test_special_flags.py::test_autograph_flag - AssertionError...\nFAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block\nFAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters - Asse...\nFAILED eval/tests/test_set_option.py::test_set_multiple_options - AssertionEr...\nFAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc - Asse...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_2 - AssertionErr...\nFAILED eval/tests/test_special_flags.py::test_autograph_short_flag - Assertio...\nFAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats - As...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag - Assertion...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none - ...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_flag - AssertionError: as...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_links - Fil...\nFAILED eval/tests/test_lang_option.py::test_lang_short_flag - AssertionError:...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html\nFAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error\nFAILED eval/tests/test_print_template.py::test_print_template_to_file - Asser...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes\nFAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag - Assert...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_author - AssertionErr...\nFAILED eval/tests/test_output_formats.py::test_to_with_short_flag - Assertion...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters\nFAILED eval/tests/test_edge_cases.py::test_malformed_yaml - AssertionError: a...\n======================== 112 failed, 43 passed in 4.30s ========================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.18955346600000667, "output": "def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionErrordef test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionErrordef test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpidkymsbl/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0cac61a590>\n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f0cad0361b0>()\nE + where <built-in method lower of bytes object at 0x7f0cad0361b0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6f3a5ba3e0>\n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6pfaivw5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionErrordef test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionErrordef test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionErrordef test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = <built-in method count of str object at 0x55c8d4b2c1a0>('Chapter One')\nE + where <built-in method count of str object at 0x55c8d4b2c1a0> = '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with TOC</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">TOC Author</h2><h1 class=\"title\">Book with TOC</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">First content.</p>\\n</div><div id=\"chapter-1\" class=\"chapter\">\\n<h1 id=\\'link-2\\'><span class=\"chapter-header\">Chapter 2</span><br />Chapter Two</h1><p id=\"para-2\">Second content.</p>\\n</div></div></div></body></html>'.count\n\neval/tests/test_actual_rendering.py:389: AssertionErrordef test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp1i4cimx7/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f182ccab910>\n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>' or b'\\\\begin' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>')\n\neval/tests/test_output_formats.py:71: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f063524e7d0>\n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuxu46w18/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionErrordef test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionErrordef test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3ziia1en/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f716d9c6470>\n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8kf9iys9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionErrordef test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkwy8rj34/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f802a356530>\n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n' = <built-in method lower of bytes object at 0x7f802a74d6b0>()\nE + where <built-in method lower of bytes object at 0x7f802a74d6b0> = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7efef3fd50f0>\n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6razru55/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f01c9622530>\n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe3merjuu/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fafcff72440>\n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpsj0w09g_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f30bdef6440>\n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy3ef1v1b/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionErrordef test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5fd4b16530>\n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f5fd6951870>()\nE + where <built-in method lower of bytes object at 0x7f5fd6951870> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f5fd6951870>()\nE + where <built-in method lower of bytes object at 0x7f5fd6951870> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6d4ac56590>\n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy9nwhkhz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f64e371a3e0>\n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp40a7e8et/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f76b5132560>\n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3t0q7ujc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3t0q7ujc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f51708f6530>\n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmplprn4bb6/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionErrordef test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb228bcd0f0>\n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnexmj6wg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionErrordef test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff441992530>\n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4uj9oqff/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc8617f6530>\n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpveycnvlz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0fd619a530>\n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp43ihwv2e/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdea8f8e440>\n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fdeaab9e1b0>()\nE + where <built-in method lower of bytes object at 0x7fdeaab9e1b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = <built-in method lower of bytes object at 0x7fdeaaebc030>()\nE + where <built-in method lower of bytes object at 0x7fdeaaebc030> = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0647ca7c10>\n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkhxfsp7r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f04cb1ffc10>\n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2zmwykfx/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f037c5c2590>\n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmigek111/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3b7e01a0b0>\n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiuvkloew/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd8ff81a3e0>\n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmptolngu9j/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionErrordef test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa54ba22530>\n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp5atllq6v/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f25b4baa3e0>\n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph26x8pb4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph26x8pb4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb564f6a590>\n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgy9mc5mu/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionErrordef test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9086a9a440>\n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcozhox30/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0ef502a590>\n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = <built-in method encode of str object at 0x7f0ef5046770>()\nE + where <built-in method encode of str object at 0x7f0ef5046770> = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw8qrhz7e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f468d0a2560>\n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvz5pmvni/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionErrordef test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f993f4ba530>\n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpz4usblni/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc99f48f910>\n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpc22cka31/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionErrordef test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionErrordef test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f45d96ce3e0>\n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f45db505870>()\nE + where <built-in method lower of bytes object at 0x7f45db505870> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f45db505870>()\nE + where <built-in method lower of bytes object at 0x7f45db505870> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f028daca590>\n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f028dd0d630>()\nE + where <built-in method lower of bytes object at 0x7f028dd0d630> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f028dd0d630>()\nE + where <built-in method lower of bytes object at 0x7f028dd0d630> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7u9tsaq/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionErrordef test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionErrordef test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4bfd37e3e0>\n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: <Special> 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9ai__fqz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa5e75da560>\n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = <function is_zipfile at 0x7fa5ec1825f0>(PosixPath('/tmp/tmpbbivohnn/test.epub'))\nE + where <function is_zipfile at 0x7fa5ec1825f0> = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f633781e350>\n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f6337c9a3f0>()\nE + where <built-in method lower of bytes object at 0x7f6337c9a3f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpup57i95m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f16877ea440>\n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6lle0o_j/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8c7d57a7d0>\n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4tjevrmd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4tjevrmd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdc13bc78e0>\n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa81iylbd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f11607e7c10>\n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7m7h9vya/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb954bae440>\n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp25zaao38/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1dd4ff6590>\n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpfvmbkij3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionErrordef test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5bb110e440>\n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionErrordef test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionErrordef test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpq4tqein7/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionErrordef test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fbd8c5a2440>\n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fbd8c59ddb0>()\nE + where <built-in method lower of bytes object at 0x7fbd8c59ddb0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fbd8c59ddb0>()\nE + where <built-in method lower of bytes object at 0x7fbd8c59ddb0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionErrordef test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe0be13e3e0>\n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphf7j67wf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6a832762f0>\n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkordi1df/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f149426a2f0>\n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpa80upuy4/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f59fa40b910>\n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvyejnumf/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f848dcfa560>\n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmf8eb7_n/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5ad9e1e440>\n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpjleol38m/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionErrordef test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc2323b1330>\n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionErrordef test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionErrordef test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionErrordef test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fac3e592440>\n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpe3z1xlll/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc7b06c6440>\n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwb2qqrz6/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f83c5303910>\n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f35f865e530>\n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2ij2mbr2/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3879382530>\n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp1hnwfegb/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4db02be440>\n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbay9ltc6/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbay9ltc6/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionErrordef test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1bbbf72380>\n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwh8e7e88/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionErrordef test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f13730aa3e0>\n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkmjde4iw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionErrordef test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkiq8ykz9/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionErrordef test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpzlxanvqp/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionErrordef test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp97ryvote/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionErrordef test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpfb1ucgeb/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpfb1ucgeb/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionErrordef test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpx3m2rxx6/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpx3m2rxx6/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmprfck5phz/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmprfck5phz/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpkkyn2qke/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpkkyn2qke/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<p id=\"para-1\">--- author: LaTeX Author title: LaTeX Doc ---</p>\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />LaTeX Content</h1><p id=\"para-2\">Some content with **bold**.</p>\\n</div></div></div></body></html>'\n\neval/tests/test_single_file_rendering.py:369: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f655425cbb0>\n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmp652ljg27/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1e79a2e5c0>\n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpjnzrnbdm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f77584f5210>\n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpp01qd5oa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpp01qd5oa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionErrordef test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0idbys3m/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionErrortemp_files = <conftest.TempFiles object at 0x7efc20f1a8c0>\n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmp9c22wt8g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1dd504f820>\n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp1kviev2k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f409935a3b0>\n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmplchb__sl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmplchb__sl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe0be13f9a0>\n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fe0be1a5b30>()\nE + where <built-in method lower of bytes object at 0x7fe0be1a5b30> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f35fb694880>\n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmp8f5ao992/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9d2722ee90>\n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpdpbuo9xa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionErrortemp_files = <conftest.TempFiles object at 0x7faad3f4bc40>\n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpnjp_ux4u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError", "returncode": 0, "exception_info": "", "branch": "coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_gen-20260325_070023"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.049504422999973485, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_judge-20260325_083143", "wall_time": 0.059719482999980755, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was 1ebde5a coverage-test result\nHEAD is now at 58f5ef6 coverage-test result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04369607000000997, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04381668300004549, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.04551379200000838, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.048187863000009656, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.866078889999983, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [155 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_output_formats.py::test_invalid_format_shows_error \neval/tests/test_print_template.py::test_print_template_tex \neval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_epub_generation.py::test_epub_version_3 \neval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_lang_option.py::test_lang_short_flag \neval/tests/test_create_book.py::test_create_book_with_filename \neval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_epub_generation.py::test_epub_multiple_chapters \neval/tests/test_edge_cases.py::test_nested_lists \neval/tests/test_book_processing.py::test_book_with_multiple_chapters \neval/tests/test_edge_cases.py::test_mixed_list_types \neval/tests/test_edge_cases.py::test_unicode_content \neval/tests/test_edge_cases.py::test_empty_markdown_file \neval/tests/test_create_book.py::test_create_book_file_already_exists \neval/tests/test_markdown_features.py::test_markdown_links \neval/tests/test_list_options.py::test_list_options_shows_defaults \neval/tests/test_markdown_features.py::test_markdown_horizontal_rules \neval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_book_processing.py::test_book_missing_chapter_file \neval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_create_book.py::test_create_book_multiple_files \neval/tests/test_book_processing.py::test_book_empty_chapter_list \neval/tests/test_list_options.py::test_list_options_short_flag \neval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_list_options.py::test_list_options_long_flag \neval/tests/test_list_options.py::test_list_options_shows_types \neval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_edge_cases.py::test_malformed_yaml \neval/tests/test_markdown_features.py::test_markdown_code_blocks \neval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_markdown_features.py::test_markdown_footnotes \neval/tests/test_edge_cases.py::test_special_characters_in_title \neval/tests/test_create_book.py::test_create_book_template_structure \neval/tests/test_markdown_features.py::test_markdown_headings \neval/tests/test_print_template.py::test_print_template_epub_css \neval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_epub_generation.py::test_epub_output_basic \neval/tests/test_edge_cases.py::test_output_to_existing_file \neval/tests/test_markdown_features.py::test_markdown_blockquotes \neval/tests/test_edge_cases.py::test_multiple_yaml_blocks \neval/tests/test_lang_option.py::test_lang_option_english \neval/tests/test_create_book.py::test_create_book_to_stdout \neval/tests/test_epub_generation.py::test_epub_with_metadata \neval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_edge_cases.py::test_very_long_content \neval/tests/test_lang_option.py::test_lang_with_book_processing \neval/tests/test_output_formats.py::test_output_file_tex \neval/tests/test_print_template.py::test_print_template_html_standalone \neval/tests/test_print_template.py::test_print_template_html_css \neval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_output_formats.py::test_output_short_flag \neval/tests/test_print_template.py::test_print_template_to_file \neval/tests/test_lang_option.py::test_lang_affects_messages \neval/tests/test_epub_generation.py::test_epub_version_2 \neval/tests/test_output_formats.py::test_to_with_short_flag \neval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_markdown_features.py::test_markdown_emphasis \neval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_epub_generation.py::test_epub_with_to_flag \neval/tests/test_output_formats.py::test_html_dir_format \neval/tests/test_output_formats.py::test_to_html_format \neval/tests/test_list_options.py::test_list_options_shows_descriptions \neval/tests/test_output_formats.py::test_output_without_to_shows_error \neval/tests/test_output_formats.py::test_output_file_html \neval/tests/test_print_template.py::test_print_template_invalid \neval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_output_formats.py::test_to_tex_format \neval/tests/test_edge_cases.py::test_book_with_no_author \neval/tests/test_edge_cases.py::test_book_with_no_title \neval/tests/test_print_template.py::test_print_template_multiple_types \neval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_markdown_features.py::test_markdown_tables \neval/tests/test_print_template.py::test_print_template_epub_chapter \neval/tests/test_markdown_features.py::test_markdown_lists \neval/tests/test_print_template.py::test_print_template_html_dir \neval/tests/test_rendering_options.py::test_rendering_with_cover \neval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_rendering_options.py::test_rendering_highlight_syntect \neval/tests/test_rendering_options.py::test_html_dir_output \neval/tests/test_rendering_options.py::test_rendering_highlight_none \neval/tests/test_set_option.py::test_set_invalid_option \neval/tests/test_rendering_options.py::test_pdf_output_specified \neval/tests/test_set_option.py::test_set_single_option \n[gw58] [ 0%] PASSED eval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_set_option.py::test_set_rendering_option \neval/tests/test_single_file.py::test_single_with_output_file \neval/tests/test_single_file.py::test_single_without_yaml_block \neval/tests/test_single_file.py::test_single_with_set_override \neval/tests/test_single_file.py::test_single_tex_output \neval/tests/test_single_file.py::test_single_markdown_features \neval/tests/test_rendering_options.py::test_tex_standalone_output \neval/tests/test_rendering_options.py::test_rendering_inline_toc \neval/tests/test_set_option.py::test_set_output_path \n[gw11] [ 1%] PASSED eval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_stats.py::test_stats_multiple_chapters \neval/tests/test_set_option.py::test_set_with_spaces_in_value \neval/tests/test_set_option.py::test_set_boolean_option \neval/tests/test_single_file_rendering.py::test_single_render_to_html \neval/tests/test_single_file_rendering.py::test_single_render_to_epub \neval/tests/test_single_file_rendering.py::test_single_with_to_flag \neval/tests/test_single_file.py::test_single_short_flag \neval/tests/test_single_file.py::test_single_with_inline_yaml_variations \neval/tests/test_lang_option.py::test_lang_option_french \neval/tests/test_rendering_options.py::test_rendering_numbering \neval/tests/test_single_file.py::test_single_markdown_with_yaml_block \neval/tests/test_single_file_rendering.py::test_single_with_output_flag \n[gw13] [ 1%] PASSED eval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_single_file_rendering.py::test_single_to_stdout \neval/tests/test_single_file_rendering.py::test_single_with_set_options \n[gw35] [ 2%] PASSED eval/tests/test_create_book.py::test_create_book_template_structure \neval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \neval/tests/test_set_option.py::test_set_multiple_options \neval/tests/test_stats.py::test_stats_with_formatting \n[gw56] [ 3%] PASSED eval/tests/test_lang_option.py::test_lang_with_version \n[gw78] [ 3%] PASSED eval/tests/test_output_formats.py::test_output_file_html \n[gw18] [ 4%] PASSED eval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_single_file_rendering.py::test_single_with_links \neval/tests/test_single_file_rendering.py::test_single_without_yaml \n[gw3] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_special_flags.py::test_force_emoji_flag \n[gw0] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_single_file_rendering.py::test_single_with_blockquotes \neval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw7] [ 6%] PASSED eval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw17] [ 7%] PASSED eval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw31] [ 7%] PASSED eval/tests/test_create_book.py::test_create_book_short_flag \n[gw28] [ 8%] PASSED eval/tests/test_book_processing.py::test_book_empty_chapter_list \n[gw30] [ 9%] PASSED eval/tests/test_create_book.py::test_create_book_to_stdout \neval/tests/test_special_flags.py::test_combined_flags \n[gw24] [ 9%] PASSED eval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_single_file_rendering.py::test_single_stats \n[gw6] [ 10%] PASSED eval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_special_flags.py::test_autograph_short_flag \neval/tests/test_single_file_rendering.py::test_single_tex_output \neval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw33] [ 10%] PASSED eval/tests/test_create_book.py::test_create_book_multiple_files \neval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \n[gw82] [ 11%] PASSED eval/tests/test_output_formats.py::test_html_dir_format \n[gw46] [ 12%] PASSED eval/tests/test_edge_cases.py::test_output_to_existing_file \n[gw77] [ 12%] PASSED eval/tests/test_output_formats.py::test_output_short_flag \n[gw103] [ 13%] PASSED eval/tests/test_set_option.py::test_set_output_path \n[gw109] [ 14%] PASSED eval/tests/test_single_file.py::test_single_with_output_file \n[gw11] [ 14%] PASSED eval/tests/test_stats.py::test_stats_multiple_chapters \n[gw111] [ 15%] PASSED eval/tests/test_single_file.py::test_single_with_set_override \n[gw117] [ 16%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_to_flag \n[gw17] [ 16%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw118] [ 17%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_output_flag \n[gw21] [ 18%] FAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \n[gw13] [ 18%] PASSED eval/tests/test_stats.py::test_stats_with_formatting \n[gw60] [ 19%] FAILED eval/tests/test_list_options.py::test_list_options_long_flag \neval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw18] [ 20%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw124] [ 20%] PASSED eval/tests/test_single_file_rendering.py::test_single_without_yaml \n[gw15] [ 21%] FAILED eval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw125] [ 21%] PASSED eval/tests/test_single_file_rendering.py::test_single_stats \n[gw55] [ 22%] FAILED eval/tests/test_lang_option.py::test_lang_short_flag \n[gw4] [ 23%] FAILED eval/tests/test_actual_rendering.py::test_render_to_stdout \n[gw83] [ 23%] FAILED eval/tests/test_print_template.py::test_print_template_html_css \n[gw24] [ 24%] PASSED eval/tests/test_verbose_quiet.py::test_quiet_short_flag \neval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw80] [ 25%] FAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error \n[gw72] [ 25%] FAILED eval/tests/test_markdown_features.py::test_markdown_tables \n[gw14] [ 26%] FAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw16] [ 27%] FAILED eval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw63] [ 27%] FAILED eval/tests/test_list_options.py::test_list_options_shows_defaults \n[gw85] [ 28%] FAILED eval/tests/test_print_template.py::test_print_template_tex \n[gw88] [ 29%] FAILED eval/tests/test_print_template.py::test_print_template_invalid \n[gw10] [ 29%] FAILED eval/tests/test_actual_rendering.py::test_render_html_dir \n[gw61] [ 30%] FAILED eval/tests/test_list_options.py::test_list_options_short_flag \n[gw1] [ 30%] FAILED eval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_special_flags.py::test_no_fancy_flag \n[gw59] [ 31%] FAILED eval/tests/test_lang_option.py::test_lang_with_book_processing \n[gw39] [ 32%] FAILED eval/tests/test_edge_cases.py::test_special_characters_in_title \neval/tests/test_stats.py::test_stats_short_flag \n[gw65] [ 32%] FAILED eval/tests/test_markdown_features.py::test_markdown_headings \n[gw62] [ 33%] FAILED eval/tests/test_list_options.py::test_list_options_shows_types \n[gw86] [ 34%] FAILED eval/tests/test_print_template.py::test_print_template_html_standalone \n[gw40] [ 34%] FAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks \n[gw38] [ 35%] FAILED eval/tests/test_edge_cases.py::test_unicode_content \n[gw45] [ 36%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_author \n[gw53] [ 36%] FAILED eval/tests/test_lang_option.py::test_lang_option_english \n[gw43] [ 37%] FAILED eval/tests/test_edge_cases.py::test_malformed_yaml \n[gw51] [ 38%] FAILED eval/tests/test_epub_generation.py::test_epub_version_2 \n[gw5] [ 38%] FAILED eval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_special_flags.py::test_autograph_flag \n[gw52] [ 39%] FAILED eval/tests/test_epub_generation.py::test_epub_version_3 \n[gw23] [ 40%] FAILED eval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw8] [ 40%] FAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw74] [ 41%] FAILED eval/tests/test_output_formats.py::test_to_html_format \n[gw44] [ 41%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_title \n[gw79] [ 42%] FAILED eval/tests/test_output_formats.py::test_output_file_tex \n[gw66] [ 43%] FAILED eval/tests/test_markdown_features.py::test_markdown_emphasis \n[gw76] [ 43%] FAILED eval/tests/test_output_formats.py::test_to_with_short_flag \n[gw84] [ 44%] FAILED eval/tests/test_print_template.py::test_print_template_epub_css \n[gw54] [ 45%] FAILED eval/tests/test_lang_option.py::test_lang_option_french \n[gw36] [ 45%] FAILED eval/tests/test_edge_cases.py::test_empty_markdown_file \n[gw89] [ 46%] FAILED eval/tests/test_print_template.py::test_print_template_to_file \n[gw87] [ 47%] FAILED eval/tests/test_print_template.py::test_print_template_html_dir \n[gw29] [ 47%] FAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters \n[gw15] [ 48%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw110] [ 49%] FAILED eval/tests/test_single_file.py::test_single_without_yaml_block \n[gw95] [ 49%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none \n[gw41] [ 50%] FAILED eval/tests/test_edge_cases.py::test_nested_lists \n[gw48] [ 50%] FAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag \n[gw71] [ 51%] FAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules \n[gw67] [ 52%] FAILED eval/tests/test_markdown_features.py::test_markdown_lists \n[gw68] [ 52%] FAILED eval/tests/test_markdown_features.py::test_markdown_links \n[gw69] [ 53%] FAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks \n[gw73] [ 54%] FAILED eval/tests/test_markdown_features.py::test_markdown_footnotes \n[gw115] [ 54%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html \n[gw19] [ 55%] FAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw14] [ 56%] PASSED eval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw12] [ 56%] FAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_stats.py::test_stats_empty_book \n[gw2] [ 57%] FAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw37] [ 58%] FAILED eval/tests/test_edge_cases.py::test_very_long_content \n[gw104] [ 58%] FAILED eval/tests/test_set_option.py::test_set_invalid_option \n[gw126] [ 59%] FAILED eval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw102] [ 60%] FAILED eval/tests/test_set_option.py::test_set_rendering_option \n[gw94] [ 60%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect \n[gw10] [ 61%] PASSED eval/tests/test_stats.py::test_stats_short_flag \n[gw19] [ 61%] PASSED eval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw21] [ 62%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw26] [ 63%] FAILED eval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw0] [ 63%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw116] [ 64%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub \n[gw34] [ 65%] FAILED eval/tests/test_create_book.py::test_create_book_file_already_exists \n[gw93] [ 65%] FAILED eval/tests/test_rendering_options.py::test_rendering_numbering \n[gw32] [ 66%] FAILED eval/tests/test_create_book.py::test_create_book_with_filename \n[gw64] [ 67%] FAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions \n[gw108] [ 67%] FAILED eval/tests/test_single_file.py::test_single_short_flag \n[gw57] [ 68%] FAILED eval/tests/test_lang_option.py::test_lang_affects_messages \n[gw91] [ 69%] FAILED eval/tests/test_print_template.py::test_print_template_epub_chapter \n[gw112] [ 69%] FAILED eval/tests/test_single_file.py::test_single_tex_output \n[gw106] [ 70%] FAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value \n[gw105] [ 70%] FAILED eval/tests/test_set_option.py::test_set_boolean_option \n[gw113] [ 71%] FAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations \n[gw9] [ 72%] FAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_stats.py::test_stats_long_flag \n[gw114] [ 72%] FAILED eval/tests/test_single_file.py::test_single_markdown_features \n[gw7] [ 73%] FAILED eval/tests/test_special_flags.py::test_combined_flags \n[gw27] [ 74%] FAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file \n[gw20] [ 74%] FAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error \n[gw5] [ 75%] FAILED eval/tests/test_special_flags.py::test_autograph_flag \n[gw70] [ 76%] FAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes \n[gw50] [ 76%] FAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters \n[gw99] [ 77%] FAILED eval/tests/test_rendering_options.py::test_tex_standalone_output \n[gw96] [ 78%] FAILED eval/tests/test_rendering_options.py::test_rendering_with_cover \n[gw3] [ 78%] FAILED eval/tests/test_special_flags.py::test_force_emoji_flag \n[gw90] [ 79%] FAILED eval/tests/test_print_template.py::test_print_template_multiple_types \n[gw1] [ 80%] FAILED eval/tests/test_special_flags.py::test_no_fancy_flag \n[gw49] [ 80%] FAILED eval/tests/test_epub_generation.py::test_epub_with_metadata \n[gw8] [ 81%] FAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw119] [ 81%] FAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout \n[gw42] [ 82%] FAILED eval/tests/test_edge_cases.py::test_mixed_list_types \n[gw9] [ 83%] PASSED eval/tests/test_stats.py::test_stats_long_flag \n[gw22] [ 83%] FAILED eval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw22] [ 84%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw97] [ 85%] FAILED eval/tests/test_rendering_options.py::test_html_dir_output \n[gw26] [ 85%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw92] [ 86%] FAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc \n[gw100] [ 87%] FAILED eval/tests/test_set_option.py::test_set_single_option \n[gw12] [ 87%] PASSED eval/tests/test_stats.py::test_stats_empty_book \neval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw20] [ 88%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw81] [ 89%] FAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error \n[gw47] [ 89%] FAILED eval/tests/test_epub_generation.py::test_epub_output_basic \n[gw4] [ 90%] FAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw98] [ 90%] FAILED eval/tests/test_rendering_options.py::test_pdf_output_specified \n[gw2] [ 91%] FAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw16] [ 92%] PASSED eval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw120] [ 92%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options \n[gw25] [ 93%] FAILED eval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw25] [ 94%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw107] [ 94%] FAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block \n[gw6] [ 95%] FAILED eval/tests/test_special_flags.py::test_autograph_short_flag \n[gw101] [ 96%] FAILED eval/tests/test_set_option.py::test_set_multiple_options \n[gw75] [ 96%] FAILED eval/tests/test_output_formats.py::test_to_tex_format \n[gw123] [ 97%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes \n[gw23] [ 98%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw122] [ 98%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_links \n[gw121] [ 99%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \n[gw127] [100%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \n\n=================================== FAILURES ===================================\n______________________ test_missing_book_file_shows_error ______________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError\n_________________________ test_list_options_long_flag __________________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError\n_____________________________ test_help_short_flag _____________________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError\n_____________________________ test_lang_short_flag _____________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError\n____________________________ test_render_to_stdout _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError\n_________________________ test_print_template_html_css _________________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError\n_______________________ test_invalid_format_shows_error ________________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError\n_____________________________ test_markdown_tables _____________________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpz6wvaivy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError\n________________________ test_no_arguments_shows_error _________________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError\n_____________________________ test_help_long_flag ______________________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError\n_______________________ test_list_options_shows_defaults _______________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError\n___________________________ test_print_template_tex ____________________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError\n_________________________ test_print_template_invalid __________________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError\n_____________________________ test_render_html_dir _____________________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyxj3r140/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError\n_________________________ test_list_options_short_flag _________________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError\n____________________________ test_render_epub_basic ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyia9tk2h/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError\n________________________ test_lang_with_book_processing ________________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp90jhlhxh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError\n_______________________ test_special_characters_in_title _______________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpv1w6e5mf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError\n____________________________ test_markdown_headings ____________________________\n[gw65] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp11zmb0hc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError\n________________________ test_list_options_shows_types _________________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError\n_____________________ test_print_template_html_standalone ______________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError\n__________________________ test_multiple_yaml_blocks ___________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6szj4vza/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError\n_____________________________ test_unicode_content _____________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis \ud83d\ude00 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpr8oeslsy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError\n___________________________ test_book_with_no_author ___________________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgt0g8u32/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError\n___________________________ test_lang_option_english ___________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError\n_____________________________ test_malformed_yaml ______________________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError\n_____________________________ test_epub_version_2 ______________________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgtfdo1b6/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError\n____________________________ test_render_tex_output ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpq0c75am9/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError\n_____________________________ test_epub_version_3 ______________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgl22tnx_/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError\n___________________________ test_book_with_metadata ____________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp_570oz7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError\n_________________________ test_render_with_cover_image _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpggh9tf7i/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError\n_____________________________ test_to_html_format ______________________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnl04yru7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError\n___________________________ test_book_with_no_title ____________________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyw47u159/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError\n_____________________________ test_output_file_tex _____________________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
' or b'\\\\begin' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
')\n\neval/tests/test_output_formats.py:71: AssertionError\n____________________________ test_markdown_emphasis ____________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5g1zi__l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError\n___________________________ test_to_with_short_flag ____________________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpevuncqkg/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError\n_________________________ test_print_template_epub_css _________________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError\n___________________________ test_lang_option_french ____________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError\n___________________________ test_empty_markdown_file ___________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzekyg7m0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError\n_________________________ test_print_template_to_file __________________________\n[gw89] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError\n_________________________ test_print_template_html_dir _________________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError\n_______________________ test_book_with_multiple_chapters _______________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxwzs5hdz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError\n________________________ test_single_without_yaml_block ________________________\n[gw110] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpv8e7754w/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError\n________________________ test_rendering_highlight_none _________________________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1h7sp3ro/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError\n______________________________ test_nested_lists _______________________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuhrqi0nf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError\n____________________________ test_epub_with_to_flag ____________________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmph6p_r8j_/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError\n________________________ test_markdown_horizontal_rules ________________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6r_mfv4p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError\n_____________________________ test_markdown_lists ______________________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpm8k0fodj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError\n_____________________________ test_markdown_links ______________________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwql8s_bi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError\n__________________________ test_markdown_code_blocks ___________________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsgm1xqeq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError\n___________________________ test_markdown_footnotes ____________________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqys0enoj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError\n__________________________ test_single_render_to_html __________________________\n[gw115] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpzlxkgzcl/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError\n_________________________ test_help_shows_all_options __________________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError\n______________________ test_render_error_missing_chapter _______________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError\n_________________________ test_render_multiple_formats _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp7zjd9fl_/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError\n____________________________ test_very_long_content ____________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3eqg3bbe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError\n___________________________ test_set_invalid_option ____________________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxto_5wfl/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw126] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

\\n

--- author: LaTeX Author title: LaTeX Doc ---

\\n

Chapter 1
LaTeX Content

Some content with **bold**.

\\n
'\n\neval/tests/test_single_file_rendering.py:369: AssertionError\n__________________________ test_set_rendering_option ___________________________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4_168gs/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError\n_______________________ test_rendering_highlight_syntect _______________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ftbkvsk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ftbkvsk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError\n_____________________________ test_book_tex_output _____________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError\n_____________________ test_single_render_multiple_formats ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpxdfyrd32/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError\n__________________________ test_single_render_to_epub __________________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9ryzp4mg/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError\n_____________________ test_create_book_file_already_exists _____________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError\n___________________________ test_rendering_numbering ___________________________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcmz_h3bq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError\n________________________ test_create_book_with_filename ________________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpllfaapwg/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError\n_____________________ test_list_options_shows_descriptions _____________________\n[gw64] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError\n____________________________ test_single_short_flag ____________________________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpnh3yp_6_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError\n__________________________ test_lang_affects_messages __________________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError\n_______________________ test_print_template_epub_chapter _______________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw112] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmplbme5yp4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmplbme5yp4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError\n________________________ test_set_with_spaces_in_value _________________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp60xttab6/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError\n___________________________ test_set_boolean_option ____________________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi4vwpqab/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError\n___________________ test_single_with_inline_yaml_variations ____________________\n[gw113] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwemh_m18/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError\n_________________________ test_render_with_inline_toc __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

TOC Author

Book with TOC

\\n

Chapter 1
Chapter One

First content.

\\n
\\n

Chapter 2
Chapter Two

Second content.

\\n
'.count\n\neval/tests/test_actual_rendering.py:389: AssertionError\n________________________ test_single_markdown_features _________________________\n[gw114] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp43gm0khe/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError\n_____________________________ test_combined_flags ______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmptnw49nwl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError\n________________________ test_book_missing_chapter_file ________________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError\n_______________________ test_invalid_option_shows_error ________________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError\n_____________________________ test_autograph_flag ______________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp_cee2mv7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp_cee2mv7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError\n__________________________ test_markdown_blockquotes ___________________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6e9yp0p8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError\n_________________________ test_epub_multiple_chapters __________________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpt_kmutra/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError\n__________________________ test_tex_standalone_output __________________________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmph_au0ch7/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError\n__________________________ test_rendering_with_cover ___________________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplwz9nqti/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplwz9nqti/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError\n____________________________ test_force_emoji_flag _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test \ud83d\ude00\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpn2c7d3bf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError\n______________________ test_print_template_multiple_types ______________________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError\n______________________________ test_no_fancy_flag ______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpvd20w39c/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError\n___________________________ test_epub_with_metadata ____________________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp82et52yl/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError\n__________________________ test_verbose_with_no_fancy __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpsvqo6707/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError\n____________________________ test_single_to_stdout _____________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError\n____________________________ test_mixed_list_types _____________________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvsuv85xy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError\n_________________________ test_basic_book_html_output __________________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpewa8dne3/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError\n_____________________________ test_html_dir_output _____________________________\n[gw97] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwocb1gc7/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError\n__________________________ test_rendering_inline_toc ___________________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgyzo22j3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError\n____________________________ test_set_single_option ____________________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp041a4imc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp041a4imc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError\n______________________ test_output_without_to_shows_error ______________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError\n____________________________ test_epub_output_basic ____________________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgp99pua9/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError\n_________________________ test_force_emoji_short_flag __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpe6s7nols/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError\n__________________________ test_pdf_output_specified ___________________________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError\n___________________________ test_no_fancy_short_flag ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpvlj1wbx9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError\n_________________________ test_single_with_set_options _________________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpos_vkje8/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError\n________________________ test_book_with_relative_paths _________________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptbzalpb5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError\n____________________________ test_quiet_with_error _____________________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError\n_____________________ test_single_markdown_with_yaml_block _____________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpib_segpy/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError\n__________________________ test_autograph_short_flag ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpvkvh9axm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpvkvh9axm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError\n__________________________ test_set_multiple_options ___________________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw447uvmf/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError\n______________________________ test_to_tex_format ______________________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError\n_________________________ test_single_with_blockquotes _________________________\n[gw123] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpiygmcpwq/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpiygmcpwq/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_______________________________ test_quiet_flag ________________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpa69kzvtc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError\n____________________________ test_single_with_links ____________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp7sy66urh/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp7sy66urh/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n______________________ test_single_with_multiple_chapters ______________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmptwbz_wlw/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmptwbz_wlw/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_____________________ test_single_with_syntax_highlighting _____________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp3zaykzkl/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp3zaykzkl/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error\nFAILED eval/tests/test_list_options.py::test_list_options_long_flag - Asserti...\nFAILED eval/tests/test_basic_invocation.py::test_help_short_flag - AssertionE...\nFAILED eval/tests/test_lang_option.py::test_lang_short_flag - AssertionError:...\nFAILED eval/tests/test_actual_rendering.py::test_render_to_stdout - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_html_css - Asse...\nFAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error - A...\nFAILED eval/tests/test_markdown_features.py::test_markdown_tables - Assertion...\nFAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error - A...\nFAILED eval/tests/test_basic_invocation.py::test_help_long_flag - AssertionEr...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_defaults - As...\nFAILED eval/tests/test_print_template.py::test_print_template_tex - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_invalid - Asser...\nFAILED eval/tests/test_actual_rendering.py::test_render_html_dir - AssertionE...\nFAILED eval/tests/test_list_options.py::test_list_options_short_flag - Assert...\nFAILED eval/tests/test_actual_rendering.py::test_render_epub_basic - Assertio...\nFAILED eval/tests/test_lang_option.py::test_lang_with_book_processing - Asser...\nFAILED eval/tests/test_edge_cases.py::test_special_characters_in_title - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_headings - Asserti...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_types - Asser...\nFAILED eval/tests/test_print_template.py::test_print_template_html_standalone\nFAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks - AssertionEr...\nFAILED eval/tests/test_edge_cases.py::test_unicode_content - AssertionError: ...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_author - AssertionErr...\nFAILED eval/tests/test_lang_option.py::test_lang_option_english - AssertionEr...\nFAILED eval/tests/test_edge_cases.py::test_malformed_yaml - AssertionError: a...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_2 - AssertionErr...\nFAILED eval/tests/test_actual_rendering.py::test_render_tex_output - Assertio...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_3 - AssertionErr...\nFAILED eval/tests/test_book_processing.py::test_book_with_metadata - Assertio...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image - As...\nFAILED eval/tests/test_output_formats.py::test_to_html_format - AssertionErro...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_title - AssertionErro...\nFAILED eval/tests/test_output_formats.py::test_output_file_tex - assert (b'\\\\...\nFAILED eval/tests/test_markdown_features.py::test_markdown_emphasis - Asserti...\nFAILED eval/tests/test_output_formats.py::test_to_with_short_flag - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_css - Asse...\nFAILED eval/tests/test_lang_option.py::test_lang_option_french - AssertionErr...\nFAILED eval/tests/test_edge_cases.py::test_empty_markdown_file - AssertionErr...\nFAILED eval/tests/test_print_template.py::test_print_template_to_file - Asser...\nFAILED eval/tests/test_print_template.py::test_print_template_html_dir - Asse...\nFAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters\nFAILED eval/tests/test_single_file.py::test_single_without_yaml_block - Asser...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none - ...\nFAILED eval/tests/test_edge_cases.py::test_nested_lists - AssertionError: ass...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag - Assertion...\nFAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules\nFAILED eval/tests/test_markdown_features.py::test_markdown_lists - AssertionE...\nFAILED eval/tests/test_markdown_features.py::test_markdown_links - AssertionE...\nFAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_footnotes - Assert...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html\nFAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options - Ass...\nFAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter\nFAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats - As...\nFAILED eval/tests/test_edge_cases.py::test_very_long_content - AssertionError...\nFAILED eval/tests/test_set_option.py::test_set_invalid_option - AssertionErro...\nFAILED eval/tests/test_single_file_rendering.py::test_single_tex_output - ass...\nFAILED eval/tests/test_set_option.py::test_set_rendering_option - AssertionEr...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect\nFAILED eval/tests/test_book_processing.py::test_book_tex_output - AssertionEr...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub\nFAILED eval/tests/test_create_book.py::test_create_book_file_already_exists\nFAILED eval/tests/test_rendering_options.py::test_rendering_numbering - Asser...\nFAILED eval/tests/test_create_book.py::test_create_book_with_filename - Asser...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions\nFAILED eval/tests/test_single_file.py::test_single_short_flag - AssertionErro...\nFAILED eval/tests/test_lang_option.py::test_lang_affects_messages - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_chapter - ...\nFAILED eval/tests/test_single_file.py::test_single_tex_output - AssertionErro...\nFAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value - Asserti...\nFAILED eval/tests/test_set_option.py::test_set_boolean_option - AssertionErro...\nFAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations\nFAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc - ass...\nFAILED eval/tests/test_single_file.py::test_single_markdown_features - Assert...\nFAILED eval/tests/test_special_flags.py::test_combined_flags - AssertionError...\nFAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file - A...\nFAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error\nFAILED eval/tests/test_special_flags.py::test_autograph_flag - AssertionError...\nFAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes - Asse...\nFAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters - Asse...\nFAILED eval/tests/test_rendering_options.py::test_tex_standalone_output - Ass...\nFAILED eval/tests/test_rendering_options.py::test_rendering_with_cover - Asse...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_flag - AssertionErr...\nFAILED eval/tests/test_print_template.py::test_print_template_multiple_types\nFAILED eval/tests/test_special_flags.py::test_no_fancy_flag - AssertionError:...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_metadata - Assertio...\nFAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy - Asserti...\nFAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout - Asse...\nFAILED eval/tests/test_edge_cases.py::test_mixed_list_types - AssertionError:...\nFAILED eval/tests/test_book_processing.py::test_basic_book_html_output - Asse...\nFAILED eval/tests/test_rendering_options.py::test_html_dir_output - Assertion...\nFAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc - Asse...\nFAILED eval/tests/test_set_option.py::test_set_single_option - AssertionError...\nFAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error\nFAILED eval/tests/test_epub_generation.py::test_epub_output_basic - Assertion...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag - Assert...\nFAILED eval/tests/test_rendering_options.py::test_pdf_output_specified - Asse...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag - Assertion...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options\nFAILED eval/tests/test_book_processing.py::test_book_with_relative_paths - As...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error - AssertionErr...\nFAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block\nFAILED eval/tests/test_special_flags.py::test_autograph_short_flag - Assertio...\nFAILED eval/tests/test_set_option.py::test_set_multiple_options - AssertionEr...\nFAILED eval/tests/test_output_formats.py::test_to_tex_format - AssertionError...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_flag - AssertionError: as...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_links - Fil...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting\n======================== 112 failed, 43 passed in 4.25s ========================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.17041017500002908, "output": "temp_files = <conftest.TempFiles object at 0x7f614634d0f0>\n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpewa8dne3/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionErrordef test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe9e8a7a3b0>\n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgl22tnx_/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0e8739e320>\n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptbzalpb5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionErrordef test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpggh9tf7i/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionErrordef test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb52bd22440>\n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpllfaapwg/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionErrordef test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyia9tk2h/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1ffe216440>\n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpt_kmutra/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7feb0850a530>\n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuhrqi0nf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9bdb49e530>\n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = <built-in method encode of str object at 0x7f9bdb49bbf0>()\nE + where <built-in method encode of str object at 0x7f9bdb49bbf0> = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxwzs5hdz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f908c3fe440>\n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvsuv85xy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdf7c49e320>\n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpr8oeslsy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdb3af12590>\n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzekyg7m0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd7fdf7a530>\n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n' = <built-in method lower of bytes object at 0x7fd7fe36d6b0>()\nE + where <built-in method lower of bytes object at 0x7fd7fe36d6b0> = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f227cc0a3e0>\n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwql8s_bi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionErrordef test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2c680a6440>\n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6r_mfv4p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fab42d47c10>\n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp_570oz7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionErrordef test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2dedc22440>\n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f2dee64de30>()\nE + where <built-in method lower of bytes object at 0x7f2dee64de30> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = <built-in method lower of bytes object at 0x7f2defb5c030>()\nE + where <built-in method lower of bytes object at 0x7f2defb5c030> = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionErrordef test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionErrordef test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionErrordef test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionErrordef test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6e02252440>\n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f6e02c6e1b0>()\nE + where <built-in method lower of bytes object at 0x7f6e02c6e1b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f6e02c6e1b0>()\nE + where <built-in method lower of bytes object at 0x7f6e02c6e1b0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionErrordef test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionErrordef test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4bf4922320>\n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f4bf4b711f0>()\nE + where <built-in method lower of bytes object at 0x7f4bf4b711f0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3edb9c7c10>\n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsgm1xqeq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionErrordef test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionErrordef test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = <built-in method count of str object at 0x55be6425a1a0>('Chapter One')\nE + where <built-in method count of str object at 0x55be6425a1a0> = '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with TOC</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">TOC Author</h2><h1 class=\"title\">Book with TOC</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">First content.</p>\\n</div><div id=\"chapter-1\" class=\"chapter\">\\n<h1 id=\\'link-2\\'><span class=\"chapter-header\">Chapter 2</span><br />Chapter Two</h1><p id=\"para-2\">Second content.</p>\\n</div></div></div></body></html>'.count\n\neval/tests/test_actual_rendering.py:389: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f43f5bb6440>\n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f43f5bb1db0>()\nE + where <built-in method lower of bytes object at 0x7f43f5bb1db0> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqys0enoj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f59c71de170>\n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: <Special> 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpv1w6e5mf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionErrordef test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1c46116590>\n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp11zmb0hc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionErrordef test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionErrordef test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpq0c75am9/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionErrordef test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp7zjd9fl_/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6410b0e590>\n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgp99pua9/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f025084e440>\n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6e9yp0p8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0d9b71a3e0>\n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6szj4vza/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionErrordef test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb37a75e590>\n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp82et52yl/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionErrordef test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2a258e2530>\n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3eqg3bbe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe2a3e223e0>\n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp90jhlhxh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f940c38e530>\n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>' or b'\\\\begin' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>')\n\neval/tests/test_output_formats.py:71: AssertionErrordef test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionErrordef test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc443a16440>\n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionErrordef test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionErrordef test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyxj3r140/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fddc834a530>\n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgtfdo1b6/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fda995f3400>\n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpevuncqkg/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7368f023e0>\n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5g1zi__l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f95c1a7e3e0>\n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6e09a46560>\n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = <function is_zipfile at 0x7f6e0a5ba5f0>(PosixPath('/tmp/tmph6p_r8j_/test.epub'))\nE + where <function is_zipfile at 0x7f6e0a5ba5f0> = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4f94492440>\n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnl04yru7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionErrordef test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff4bd1ba560>\n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7ff4bd1b58f0>()\nE + where <built-in method lower of bytes object at 0x7ff4bd1b58f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7ff4bd1b58f0>()\nE + where <built-in method lower of bytes object at 0x7ff4bd1b58f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionErrordef test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f81f663e590>\n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6736a5e440>\n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgt0g8u32/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f193263e560>\n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyw47u159/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe2cfed7910>\n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpz6wvaivy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionErrordef test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fea9b816590>\n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpm8k0fodj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionErrordef test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionErrordef test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f674d276560>\n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwocb1gc7/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionErrordef test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f46d7a26560>\n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1h7sp3ro/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f677032e440>\n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplwz9nqti/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplwz9nqti/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8127596500>\n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f812d3b9870>()\nE + where <built-in method lower of bytes object at 0x7f812d3b9870> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f812d3b9870>()\nE + where <built-in method lower of bytes object at 0x7f812d3b9870> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2e784de440>\n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp041a4imc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp041a4imc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff9ccef63e0>\n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4_168gs/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fee9c5aa3e0>\n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fee9c7f15b0>()\nE + where <built-in method lower of bytes object at 0x7fee9c7f15b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fee9c7f15b0>()\nE + where <built-in method lower of bytes object at 0x7fee9c7f15b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxto_5wfl/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6d392c6320>\n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpv8e7754w/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fee885ebc10>\n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmplbme5yp4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmplbme5yp4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9bb46ba410>\n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp43gm0khe/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7effe477e590>\n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmph_au0ch7/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7995632530>\n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgyzo22j3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4a5aa6a440>\n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp60xttab6/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff4b8a06590>\n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi4vwpqab/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionErrordef test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpzlxkgzcl/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionErrordef test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9ryzp4mg/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0f693a6530>\n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpnh3yp_6_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa4f252a530>\n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwemh_m18/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7bdff6a320>\n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ftbkvsk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ftbkvsk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionErrordef test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f275b292590>\n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcmz_h3bq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f83f8986530>\n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpib_segpy/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionErrordef test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionErrordef test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmptwbz_wlw/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmptwbz_wlw/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpos_vkje8/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionErrortemp_files = <conftest.TempFiles object at 0x7faa69042530>\n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw447uvmf/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionErrordef test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp7sy66urh/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp7sy66urh/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpiygmcpwq/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpiygmcpwq/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortemp_files = <conftest.TempFiles object at 0x7fce2632fbe0>\n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpn2c7d3bf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionErrordef test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpxdfyrd32/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f703838ae60>\n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmptnw49nwl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc87dd6d870>\n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpvkvh9axm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpvkvh9axm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionErrordef test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<p id=\"para-1\">--- author: LaTeX Author title: LaTeX Doc ---</p>\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />LaTeX Content</h1><p id=\"para-2\">Some content with **bold**.</p>\\n</div></div></div></body></html>'\n\neval/tests/test_single_file_rendering.py:369: AssertionErrordef test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp3zaykzkl/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp3zaykzkl/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortemp_files = <conftest.TempFiles object at 0x7f444c09ea40>\n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpe6s7nols/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7eff78aedf60>\n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpvd20w39c/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f47ad456020>\n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp_cee2mv7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp_cee2mv7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fab429bb820>\n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpa69kzvtc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f118d8ccbb0>\n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpsvqo6707/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0cb0eacaf0>\n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpvlj1wbx9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0e8739e2f0>\n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f0e874018b0>()\nE + where <built-in method lower of bytes object at 0x7f0e874018b0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError", "returncode": 0, "exception_info": "", "branch": "coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter2_judge-20260325_083143"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.1165603160000046, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_gen-20260325_090626", "wall_time": 0.1714048020000405, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was 58f5ef6 coverage-test result\nHEAD is now at 7c4078b coverage-test result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.12880899399999635, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.048899264999988645, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.04660257300002968, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04405768099996976, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.8825833829999965, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [155 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_epub_generation.py::test_epub_output_basic \neval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_edge_cases.py::test_output_to_existing_file \neval/tests/test_edge_cases.py::test_very_long_content \neval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_output_formats.py::test_output_short_flag \neval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_rendering_options.py::test_html_dir_output \neval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_create_book.py::test_create_book_multiple_files \neval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_create_book.py::test_create_book_template_structure \neval/tests/test_lang_option.py::test_lang_with_book_processing \neval/tests/test_print_template.py::test_print_template_tex \neval/tests/test_output_formats.py::test_to_html_format \neval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_edge_cases.py::test_empty_markdown_file \neval/tests/test_output_formats.py::test_output_without_to_shows_error \neval/tests/test_edge_cases.py::test_multiple_yaml_blocks \neval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_set_option.py::test_set_boolean_option \neval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_rendering_options.py::test_rendering_highlight_syntect \neval/tests/test_set_option.py::test_set_with_spaces_in_value \neval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_print_template.py::test_print_template_to_file \neval/tests/test_rendering_options.py::test_rendering_inline_toc \neval/tests/test_single_file.py::test_single_with_inline_yaml_variations \neval/tests/test_markdown_features.py::test_markdown_lists \neval/tests/test_lang_option.py::test_lang_short_flag \neval/tests/test_epub_generation.py::test_epub_with_to_flag \neval/tests/test_book_processing.py::test_book_empty_chapter_list \neval/tests/test_markdown_features.py::test_markdown_code_blocks \neval/tests/test_create_book.py::test_create_book_to_stdout \neval/tests/test_rendering_options.py::test_rendering_with_cover \neval/tests/test_rendering_options.py::test_rendering_numbering \neval/tests/test_markdown_features.py::test_markdown_links \neval/tests/test_markdown_features.py::test_markdown_footnotes \neval/tests/test_single_file.py::test_single_short_flag \neval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_single_file.py::test_single_markdown_with_yaml_block \neval/tests/test_output_formats.py::test_output_file_html \neval/tests/test_lang_option.py::test_lang_option_english \neval/tests/test_print_template.py::test_print_template_html_dir \neval/tests/test_list_options.py::test_list_options_shows_descriptions \neval/tests/test_edge_cases.py::test_nested_lists \neval/tests/test_output_formats.py::test_output_file_tex \neval/tests/test_single_file.py::test_single_tex_output \neval/tests/test_single_file.py::test_single_with_output_file \neval/tests/test_rendering_options.py::test_rendering_highlight_none \neval/tests/test_rendering_options.py::test_pdf_output_specified \neval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_print_template.py::test_print_template_epub_chapter \neval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_set_option.py::test_set_multiple_options \neval/tests/test_lang_option.py::test_lang_affects_messages \neval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_create_book.py::test_create_book_file_already_exists \neval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_single_file.py::test_single_with_set_override \neval/tests/test_list_options.py::test_list_options_long_flag \neval/tests/test_book_processing.py::test_book_missing_chapter_file \neval/tests/test_single_file_rendering.py::test_single_with_to_flag \neval/tests/test_list_options.py::test_list_options_short_flag \neval/tests/test_print_template.py::test_print_template_html_standalone \neval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_edge_cases.py::test_book_with_no_title \neval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \neval/tests/test_edge_cases.py::test_mixed_list_types \neval/tests/test_epub_generation.py::test_epub_version_3 \neval/tests/test_markdown_features.py::test_markdown_tables \neval/tests/test_markdown_features.py::test_markdown_blockquotes \neval/tests/test_list_options.py::test_list_options_shows_types \neval/tests/test_single_file_rendering.py::test_single_with_set_options \neval/tests/test_markdown_features.py::test_markdown_headings \neval/tests/test_print_template.py::test_print_template_html_css \neval/tests/test_print_template.py::test_print_template_invalid \neval/tests/test_single_file_rendering.py::test_single_render_to_html \neval/tests/test_edge_cases.py::test_special_characters_in_title \neval/tests/test_book_processing.py::test_book_with_multiple_chapters \neval/tests/test_single_file_rendering.py::test_single_with_output_flag \neval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_output_formats.py::test_invalid_format_shows_error \neval/tests/test_markdown_features.py::test_markdown_horizontal_rules \neval/tests/test_edge_cases.py::test_malformed_yaml \neval/tests/test_single_file_rendering.py::test_single_without_yaml \neval/tests/test_single_file_rendering.py::test_single_to_stdout \neval/tests/test_single_file_rendering.py::test_single_with_links \neval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_lang_option.py::test_lang_option_french \neval/tests/test_single_file.py::test_single_without_yaml_block \neval/tests/test_markdown_features.py::test_markdown_emphasis \neval/tests/test_single_file_rendering.py::test_single_with_blockquotes \neval/tests/test_print_template.py::test_print_template_epub_css \neval/tests/test_edge_cases.py::test_unicode_content \neval/tests/test_rendering_options.py::test_tex_standalone_output \neval/tests/test_single_file_rendering.py::test_single_render_to_epub \neval/tests/test_edge_cases.py::test_book_with_no_author \neval/tests/test_single_file_rendering.py::test_single_stats \neval/tests/test_epub_generation.py::test_epub_version_2 \neval/tests/test_epub_generation.py::test_epub_multiple_chapters \neval/tests/test_epub_generation.py::test_epub_with_metadata \neval/tests/test_set_option.py::test_set_output_path \neval/tests/test_set_option.py::test_set_single_option \neval/tests/test_set_option.py::test_set_rendering_option \neval/tests/test_output_formats.py::test_to_with_short_flag \neval/tests/test_single_file.py::test_single_markdown_features \neval/tests/test_list_options.py::test_list_options_shows_defaults \neval/tests/test_create_book.py::test_create_book_with_filename \neval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_set_option.py::test_set_invalid_option \neval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_print_template.py::test_print_template_multiple_types \neval/tests/test_output_formats.py::test_to_tex_format \neval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_output_formats.py::test_html_dir_format \neval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \n[gw17] [ 0%] PASSED eval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw18] [ 1%] PASSED eval/tests/test_basic_invocation.py::test_version_long_flag \n[gw35] [ 1%] PASSED eval/tests/test_create_book.py::test_create_book_template_structure \n[gw6] [ 2%] PASSED eval/tests/test_actual_rendering.py::test_render_with_options_set \n[gw7] [ 3%] PASSED eval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \n[gw56] [ 3%] PASSED eval/tests/test_lang_option.py::test_lang_with_version \n[gw58] [ 4%] PASSED eval/tests/test_lang_option.py::test_lang_invalid_code \n[gw0] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw11] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_stats.py::test_stats_multiple_chapters \n[gw77] [ 6%] PASSED eval/tests/test_output_formats.py::test_output_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw111] [ 7%] PASSED eval/tests/test_single_file.py::test_single_with_set_override \n[gw82] [ 7%] PASSED eval/tests/test_output_formats.py::test_html_dir_format \n[gw103] [ 8%] PASSED eval/tests/test_set_option.py::test_set_output_path \neval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw109] [ 9%] PASSED eval/tests/test_single_file.py::test_single_with_output_file \neval/tests/test_special_flags.py::test_autograph_short_flag \n[gw30] [ 9%] PASSED eval/tests/test_create_book.py::test_create_book_to_stdout \n[gw28] [ 10%] PASSED eval/tests/test_book_processing.py::test_book_empty_chapter_list \n[gw24] [ 10%] PASSED eval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw13] [ 11%] PASSED eval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_stats.py::test_stats_with_formatting \neval/tests/test_special_flags.py::test_combined_flags \n[gw117] [ 12%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_to_flag \n[gw118] [ 12%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_output_flag \n[gw3] [ 13%] PASSED eval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_special_flags.py::test_force_emoji_flag \n[gw78] [ 14%] PASSED eval/tests/test_output_formats.py::test_output_file_html \n[gw124] [ 14%] PASSED eval/tests/test_single_file_rendering.py::test_single_without_yaml \n[gw31] [ 15%] PASSED eval/tests/test_create_book.py::test_create_book_short_flag \n[gw125] [ 16%] PASSED eval/tests/test_single_file_rendering.py::test_single_stats \n[gw33] [ 16%] PASSED eval/tests/test_create_book.py::test_create_book_multiple_files \n[gw46] [ 17%] PASSED eval/tests/test_edge_cases.py::test_output_to_existing_file \n[gw11] [ 18%] PASSED eval/tests/test_stats.py::test_stats_multiple_chapters \n[gw24] [ 18%] PASSED eval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw17] [ 19%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw18] [ 20%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw15] [ 20%] FAILED eval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw13] [ 21%] PASSED eval/tests/test_stats.py::test_stats_with_formatting \n[gw105] [ 21%] FAILED eval/tests/test_set_option.py::test_set_boolean_option \n[gw83] [ 22%] FAILED eval/tests/test_print_template.py::test_print_template_html_css \n[gw41] [ 23%] FAILED eval/tests/test_edge_cases.py::test_nested_lists \n[gw16] [ 23%] FAILED eval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw9] [ 24%] FAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_stats.py::test_stats_long_flag \n[gw112] [ 25%] FAILED eval/tests/test_single_file.py::test_single_tex_output \n[gw14] [ 25%] FAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw64] [ 26%] FAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions \n[gw71] [ 27%] FAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules \n[gw69] [ 27%] FAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks \n[gw73] [ 28%] FAILED eval/tests/test_markdown_features.py::test_markdown_footnotes \n[gw48] [ 29%] FAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag \n[gw88] [ 29%] FAILED eval/tests/test_print_template.py::test_print_template_invalid \n[gw87] [ 30%] FAILED eval/tests/test_print_template.py::test_print_template_html_dir \n[gw19] [ 30%] FAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw63] [ 31%] FAILED eval/tests/test_list_options.py::test_list_options_shows_defaults \n[gw74] [ 32%] FAILED eval/tests/test_output_formats.py::test_to_html_format \n[gw5] [ 32%] FAILED eval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_special_flags.py::test_autograph_flag \n[gw60] [ 33%] FAILED eval/tests/test_list_options.py::test_list_options_long_flag \n[gw55] [ 34%] FAILED eval/tests/test_lang_option.py::test_lang_short_flag \n[gw23] [ 34%] FAILED eval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw20] [ 35%] FAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw59] [ 36%] FAILED eval/tests/test_lang_option.py::test_lang_with_book_processing \n[gw10] [ 36%] FAILED eval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_stats.py::test_stats_short_flag \n[gw84] [ 37%] FAILED eval/tests/test_print_template.py::test_print_template_epub_css \n[gw94] [ 38%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect \n[gw26] [ 38%] FAILED eval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw52] [ 39%] FAILED eval/tests/test_epub_generation.py::test_epub_version_3 \n[gw67] [ 40%] FAILED eval/tests/test_markdown_features.py::test_markdown_lists \n[gw108] [ 40%] FAILED eval/tests/test_single_file.py::test_single_short_flag \n[gw49] [ 41%] FAILED eval/tests/test_epub_generation.py::test_epub_with_metadata \n[gw76] [ 41%] FAILED eval/tests/test_output_formats.py::test_to_with_short_flag \n[gw97] [ 42%] FAILED eval/tests/test_rendering_options.py::test_html_dir_output \n[gw93] [ 43%] FAILED eval/tests/test_rendering_options.py::test_rendering_numbering \n[gw98] [ 43%] FAILED eval/tests/test_rendering_options.py::test_pdf_output_specified \n[gw92] [ 44%] FAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc \n[gw27] [ 45%] FAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file \n[gw116] [ 45%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub \n[gw47] [ 46%] FAILED eval/tests/test_epub_generation.py::test_epub_output_basic \n[gw95] [ 47%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none \n[gw70] [ 47%] FAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes \n[gw102] [ 48%] FAILED eval/tests/test_set_option.py::test_set_rendering_option \n[gw42] [ 49%] FAILED eval/tests/test_edge_cases.py::test_mixed_list_types \n[gw79] [ 49%] FAILED eval/tests/test_output_formats.py::test_output_file_tex \n[gw25] [ 50%] FAILED eval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw89] [ 50%] FAILED eval/tests/test_print_template.py::test_print_template_to_file \n[gw51] [ 51%] FAILED eval/tests/test_epub_generation.py::test_epub_version_2 \n[gw38] [ 52%] FAILED eval/tests/test_edge_cases.py::test_unicode_content \n[gw80] [ 52%] FAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error \n[gw68] [ 53%] FAILED eval/tests/test_markdown_features.py::test_markdown_links \n[gw106] [ 54%] FAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value \n[gw75] [ 54%] FAILED eval/tests/test_output_formats.py::test_to_tex_format \n[gw53] [ 55%] FAILED eval/tests/test_lang_option.py::test_lang_option_english \n[gw57] [ 56%] FAILED eval/tests/test_lang_option.py::test_lang_affects_messages \n[gw8] [ 56%] FAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw110] [ 57%] FAILED eval/tests/test_single_file.py::test_single_without_yaml_block \n[gw114] [ 58%] FAILED eval/tests/test_single_file.py::test_single_markdown_features \n[gw101] [ 58%] FAILED eval/tests/test_set_option.py::test_set_multiple_options \n[gw22] [ 59%] FAILED eval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw3] [ 60%] FAILED eval/tests/test_special_flags.py::test_force_emoji_flag \n[gw19] [ 60%] PASSED eval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw96] [ 61%] FAILED eval/tests/test_rendering_options.py::test_rendering_with_cover \n[gw120] [ 61%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options \n[gw32] [ 62%] FAILED eval/tests/test_create_book.py::test_create_book_with_filename \n[gw14] [ 63%] PASSED eval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw81] [ 63%] FAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error \n[gw10] [ 64%] PASSED eval/tests/test_stats.py::test_stats_short_flag \n[gw72] [ 65%] FAILED eval/tests/test_markdown_features.py::test_markdown_tables \n[gw66] [ 65%] FAILED eval/tests/test_markdown_features.py::test_markdown_emphasis \n[gw15] [ 66%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw91] [ 67%] FAILED eval/tests/test_print_template.py::test_print_template_epub_chapter \n[gw6] [ 67%] FAILED eval/tests/test_special_flags.py::test_autograph_short_flag \n[gw123] [ 68%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes \n[gw104] [ 69%] FAILED eval/tests/test_set_option.py::test_set_invalid_option \n[gw43] [ 69%] FAILED eval/tests/test_edge_cases.py::test_malformed_yaml \n[gw29] [ 70%] FAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters \n[gw36] [ 70%] FAILED eval/tests/test_edge_cases.py::test_empty_markdown_file \n[gw99] [ 71%] FAILED eval/tests/test_rendering_options.py::test_tex_standalone_output \n[gw1] [ 72%] FAILED eval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_special_flags.py::test_no_fancy_flag \n[gw1] [ 72%] FAILED eval/tests/test_special_flags.py::test_no_fancy_flag \n[gw61] [ 73%] FAILED eval/tests/test_list_options.py::test_list_options_short_flag \n[gw2] [ 74%] FAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw2] [ 74%] FAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw21] [ 75%] FAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \n[gw20] [ 76%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw7] [ 76%] FAILED eval/tests/test_special_flags.py::test_combined_flags \n[gw113] [ 77%] FAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations \n[gw50] [ 78%] FAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters \n[gw85] [ 78%] FAILED eval/tests/test_print_template.py::test_print_template_tex \n[gw86] [ 79%] FAILED eval/tests/test_print_template.py::test_print_template_html_standalone \n[gw16] [ 80%] PASSED eval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw115] [ 80%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html \n[gw54] [ 81%] FAILED eval/tests/test_lang_option.py::test_lang_option_french \n[gw122] [ 81%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_links \n[gw22] [ 82%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw39] [ 83%] FAILED eval/tests/test_edge_cases.py::test_special_characters_in_title \n[gw126] [ 83%] FAILED eval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw65] [ 84%] FAILED eval/tests/test_markdown_features.py::test_markdown_headings \n[gw45] [ 85%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_author \n[gw23] [ 85%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw8] [ 86%] FAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw5] [ 87%] FAILED eval/tests/test_special_flags.py::test_autograph_flag \n[gw107] [ 87%] FAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block \n[gw121] [ 88%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \n[gw119] [ 89%] FAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout \n[gw34] [ 89%] FAILED eval/tests/test_create_book.py::test_create_book_file_already_exists \n[gw25] [ 90%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \neval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw21] [ 90%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw62] [ 91%] FAILED eval/tests/test_list_options.py::test_list_options_shows_types \n[gw100] [ 92%] FAILED eval/tests/test_set_option.py::test_set_single_option \n[gw4] [ 92%] FAILED eval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw4] [ 93%] FAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw44] [ 94%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_title \n[gw9] [ 94%] PASSED eval/tests/test_stats.py::test_stats_long_flag \n[gw26] [ 95%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw127] [ 96%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \n[gw12] [ 96%] FAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_stats.py::test_stats_empty_book \n[gw12] [ 97%] PASSED eval/tests/test_stats.py::test_stats_empty_book \n[gw40] [ 98%] FAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks \n[gw0] [ 98%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw37] [ 99%] FAILED eval/tests/test_edge_cases.py::test_very_long_content \n[gw90] [100%] FAILED eval/tests/test_print_template.py::test_print_template_multiple_types \n\n=================================== FAILURES ===================================\n_____________________________ test_help_short_flag _____________________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError\n___________________________ test_set_boolean_option ____________________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_g2il2we/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError\n_________________________ test_print_template_html_css _________________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError\n______________________________ test_nested_lists _______________________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxxbvgct3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError\n_____________________________ test_help_long_flag ______________________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError\n_________________________ test_render_with_inline_toc __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

TOC Author

Book with TOC

\\n

Chapter 1
Chapter One

First content.

\\n
\\n

Chapter 2
Chapter Two

Second content.

\\n
'.count\n\neval/tests/test_actual_rendering.py:389: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw112] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp5zjaldkq/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp5zjaldkq/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError\n________________________ test_no_arguments_shows_error _________________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError\n_____________________ test_list_options_shows_descriptions _____________________\n[gw64] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError\n________________________ test_markdown_horizontal_rules ________________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgnyxum4w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError\n__________________________ test_markdown_code_blocks ___________________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1ckrxn9r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError\n___________________________ test_markdown_footnotes ____________________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0m75ackw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError\n____________________________ test_epub_with_to_flag ____________________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmp_gqimacb/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError\n_________________________ test_print_template_invalid __________________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError\n_________________________ test_print_template_html_dir _________________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError\n_________________________ test_help_shows_all_options __________________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError\n_______________________ test_list_options_shows_defaults _______________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError\n_____________________________ test_to_html_format ______________________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpotr1axcm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError\n____________________________ test_render_tex_output ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9ngbt5cu/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError\n_________________________ test_list_options_long_flag __________________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError\n_____________________________ test_lang_short_flag _____________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError\n___________________________ test_book_with_metadata ____________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3ua8an_r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError\n_______________________ test_invalid_option_shows_error ________________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError\n________________________ test_lang_with_book_processing ________________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp17zw9fj0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError\n_____________________________ test_render_html_dir _____________________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmn0wsrvw/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError\n_________________________ test_print_template_epub_css _________________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError\n_______________________ test_rendering_highlight_syntect _______________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp268bo116/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp268bo116/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError\n________________________ test_book_with_relative_paths _________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpl59zcsat/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError\n_____________________________ test_epub_version_3 ______________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp25bhm57o/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError\n_____________________________ test_markdown_lists ______________________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2r70yl53/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError\n____________________________ test_single_short_flag ____________________________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp208ohu4b/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError\n___________________________ test_epub_with_metadata ____________________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcxdmzpyv/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError\n___________________________ test_to_with_short_flag ____________________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8wwqh3va/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError\n_____________________________ test_html_dir_output _____________________________\n[gw97] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpklp6_c3h/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError\n___________________________ test_rendering_numbering ___________________________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0k_nkwk8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError\n__________________________ test_pdf_output_specified ___________________________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError\n__________________________ test_rendering_inline_toc ___________________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1dce3rws/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError\n________________________ test_book_missing_chapter_file ________________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError\n__________________________ test_single_render_to_epub __________________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpp7tedhcc/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError\n____________________________ test_epub_output_basic ____________________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmps68dr83z/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError\n________________________ test_rendering_highlight_none _________________________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0i9m0j8y/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError\n__________________________ test_markdown_blockquotes ___________________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp57yc5jp5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError\n__________________________ test_set_rendering_option ___________________________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzrv2gp8s/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError\n____________________________ test_mixed_list_types _____________________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp53rz985c/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError\n_____________________________ test_output_file_tex _____________________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
' or b'\\\\begin' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
')\n\neval/tests/test_output_formats.py:71: AssertionError\n_____________________________ test_book_tex_output _____________________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError\n_________________________ test_print_template_to_file __________________________\n[gw89] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError\n_____________________________ test_epub_version_2 ______________________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpaq6l7juf/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError\n_____________________________ test_unicode_content _____________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis \ud83d\ude00 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqg2_a0n2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError\n_______________________ test_invalid_format_shows_error ________________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError\n_____________________________ test_markdown_links ______________________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyklh_ux/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError\n________________________ test_set_with_spaces_in_value _________________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1z2xbalk/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError\n______________________________ test_to_tex_format ______________________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError\n___________________________ test_lang_option_english ___________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError\n__________________________ test_lang_affects_messages __________________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError\n_________________________ test_render_with_cover_image _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwa4yj4s4/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError\n________________________ test_single_without_yaml_block ________________________\n[gw110] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp1m0ffvx4/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError\n________________________ test_single_markdown_features _________________________\n[gw114] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpo9_z26o7/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError\n__________________________ test_set_multiple_options ___________________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppv9zk_kh/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError\n_________________________ test_basic_book_html_output __________________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpicng_rcx/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError\n____________________________ test_force_emoji_flag _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test \ud83d\ude00\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpufwonugx/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError\n__________________________ test_rendering_with_cover ___________________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd_qddzer/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd_qddzer/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError\n_________________________ test_single_with_set_options _________________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0vsi9065/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError\n________________________ test_create_book_with_filename ________________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmplrzshr9_/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError\n______________________ test_output_without_to_shows_error ______________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError\n_____________________________ test_markdown_tables _____________________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpywe3u2en/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError\n____________________________ test_markdown_emphasis ____________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpb171f8pb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError\n_______________________ test_print_template_epub_chapter _______________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError\n__________________________ test_autograph_short_flag ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp31lhgg7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp31lhgg7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError\n_________________________ test_single_with_blockquotes _________________________\n[gw123] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpuoh8086r/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpuoh8086r/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n___________________________ test_set_invalid_option ____________________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsc8ic3zl/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError\n_____________________________ test_malformed_yaml ______________________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError\n_______________________ test_book_with_multiple_chapters _______________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0wbtu2yi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError\n___________________________ test_empty_markdown_file ___________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpra5z0y1w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError\n__________________________ test_tex_standalone_output __________________________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2s2hf6vz/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError\n____________________________ test_render_epub_basic ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpb0r033gr/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError\n______________________________ test_no_fancy_flag ______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpzx1nkrfp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError\n_________________________ test_list_options_short_flag _________________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError\n_________________________ test_render_multiple_formats _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9mg_oxgh/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError\n___________________________ test_no_fancy_short_flag ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpjs512bxl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError\n______________________ test_missing_book_file_shows_error ______________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError\n_____________________________ test_combined_flags ______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmp1vulvfqk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError\n___________________ test_single_with_inline_yaml_variations ____________________\n[gw113] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpdnfqi1zv/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError\n_________________________ test_epub_multiple_chapters __________________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpacck17cg/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError\n___________________________ test_print_template_tex ____________________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError\n_____________________ test_print_template_html_standalone ______________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError\n__________________________ test_single_render_to_html __________________________\n[gw115] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpj64xr8dd/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError\n___________________________ test_lang_option_french ____________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError\n____________________________ test_single_with_links ____________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpz0dvxjke/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpz0dvxjke/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_______________________ test_special_characters_in_title _______________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnkfwc785/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw126] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

\\n

--- author: LaTeX Author title: LaTeX Doc ---

\\n

Chapter 1
LaTeX Content

Some content with **bold**.

\\n
'\n\neval/tests/test_single_file_rendering.py:369: AssertionError\n____________________________ test_markdown_headings ____________________________\n[gw65] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0vked03i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError\n___________________________ test_book_with_no_author ___________________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_ltfwwxk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError\n_______________________________ test_quiet_flag ________________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp9wmz3gq8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError\n__________________________ test_verbose_with_no_fancy __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpezv2ccy6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError\n_____________________________ test_autograph_flag ______________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp2cbm7tk0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp2cbm7tk0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError\n_____________________ test_single_markdown_with_yaml_block _____________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp4kz30a58/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError\n______________________ test_single_with_multiple_chapters ______________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmphu6hjt10/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmphu6hjt10/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n____________________________ test_single_to_stdout _____________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError\n_____________________ test_create_book_file_already_exists _____________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError\n________________________ test_list_options_shows_types _________________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError\n____________________________ test_set_single_option ____________________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvnkrwp43/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvnkrwp43/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError\n____________________________ test_render_to_stdout _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError\n_________________________ test_force_emoji_short_flag __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpplj570_z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError\n___________________________ test_book_with_no_title ____________________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo18jkwnn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError\n____________________________ test_quiet_with_error _____________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError\n_____________________ test_single_with_syntax_highlighting _____________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpr_g2we24/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpr_g2we24/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n______________________ test_render_error_missing_chapter _______________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError\n__________________________ test_multiple_yaml_blocks ___________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpd67y9b0_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError\n_____________________ test_single_render_multiple_formats ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpf1ekoesr/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError\n____________________________ test_very_long_content ____________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpm9ihumnp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError\n______________________ test_print_template_multiple_types ______________________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_basic_invocation.py::test_help_short_flag - AssertionE...\nFAILED eval/tests/test_set_option.py::test_set_boolean_option - AssertionErro...\nFAILED eval/tests/test_print_template.py::test_print_template_html_css - Asse...\nFAILED eval/tests/test_edge_cases.py::test_nested_lists - AssertionError: ass...\nFAILED eval/tests/test_basic_invocation.py::test_help_long_flag - AssertionEr...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc - ass...\nFAILED eval/tests/test_single_file.py::test_single_tex_output - AssertionErro...\nFAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error - A...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions\nFAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules\nFAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_footnotes - Assert...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_invalid - Asser...\nFAILED eval/tests/test_print_template.py::test_print_template_html_dir - Asse...\nFAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options - Ass...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_defaults - As...\nFAILED eval/tests/test_output_formats.py::test_to_html_format - AssertionErro...\nFAILED eval/tests/test_actual_rendering.py::test_render_tex_output - Assertio...\nFAILED eval/tests/test_list_options.py::test_list_options_long_flag - Asserti...\nFAILED eval/tests/test_lang_option.py::test_lang_short_flag - AssertionError:...\nFAILED eval/tests/test_book_processing.py::test_book_with_metadata - Assertio...\nFAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error\nFAILED eval/tests/test_lang_option.py::test_lang_with_book_processing - Asser...\nFAILED eval/tests/test_actual_rendering.py::test_render_html_dir - AssertionE...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_css - Asse...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect\nFAILED eval/tests/test_book_processing.py::test_book_with_relative_paths - As...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_3 - AssertionErr...\nFAILED eval/tests/test_markdown_features.py::test_markdown_lists - AssertionE...\nFAILED eval/tests/test_single_file.py::test_single_short_flag - AssertionErro...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_metadata - Assertio...\nFAILED eval/tests/test_output_formats.py::test_to_with_short_flag - Assertion...\nFAILED eval/tests/test_rendering_options.py::test_html_dir_output - Assertion...\nFAILED eval/tests/test_rendering_options.py::test_rendering_numbering - Asser...\nFAILED eval/tests/test_rendering_options.py::test_pdf_output_specified - Asse...\nFAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc - Asse...\nFAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file - A...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub\nFAILED eval/tests/test_epub_generation.py::test_epub_output_basic - Assertion...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none - ...\nFAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes - Asse...\nFAILED eval/tests/test_set_option.py::test_set_rendering_option - AssertionEr...\nFAILED eval/tests/test_edge_cases.py::test_mixed_list_types - AssertionError:...\nFAILED eval/tests/test_output_formats.py::test_output_file_tex - assert (b'\\\\...\nFAILED eval/tests/test_book_processing.py::test_book_tex_output - AssertionEr...\nFAILED eval/tests/test_print_template.py::test_print_template_to_file - Asser...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_2 - AssertionErr...\nFAILED eval/tests/test_edge_cases.py::test_unicode_content - AssertionError: ...\nFAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error - A...\nFAILED eval/tests/test_markdown_features.py::test_markdown_links - AssertionE...\nFAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value - Asserti...\nFAILED eval/tests/test_output_formats.py::test_to_tex_format - AssertionError...\nFAILED eval/tests/test_lang_option.py::test_lang_option_english - AssertionEr...\nFAILED eval/tests/test_lang_option.py::test_lang_affects_messages - Assertion...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image - As...\nFAILED eval/tests/test_single_file.py::test_single_without_yaml_block - Asser...\nFAILED eval/tests/test_single_file.py::test_single_markdown_features - Assert...\nFAILED eval/tests/test_set_option.py::test_set_multiple_options - AssertionEr...\nFAILED eval/tests/test_book_processing.py::test_basic_book_html_output - Asse...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_flag - AssertionErr...\nFAILED eval/tests/test_rendering_options.py::test_rendering_with_cover - Asse...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options\nFAILED eval/tests/test_create_book.py::test_create_book_with_filename - Asser...\nFAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error\nFAILED eval/tests/test_markdown_features.py::test_markdown_tables - Assertion...\nFAILED eval/tests/test_markdown_features.py::test_markdown_emphasis - Asserti...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_chapter - ...\nFAILED eval/tests/test_special_flags.py::test_autograph_short_flag - Assertio...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes\nFAILED eval/tests/test_set_option.py::test_set_invalid_option - AssertionErro...\nFAILED eval/tests/test_edge_cases.py::test_malformed_yaml - AssertionError: a...\nFAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters\nFAILED eval/tests/test_edge_cases.py::test_empty_markdown_file - AssertionErr...\nFAILED eval/tests/test_rendering_options.py::test_tex_standalone_output - Ass...\nFAILED eval/tests/test_actual_rendering.py::test_render_epub_basic - Assertio...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_flag - AssertionError:...\nFAILED eval/tests/test_list_options.py::test_list_options_short_flag - Assert...\nFAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats - As...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag - Assertion...\nFAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error\nFAILED eval/tests/test_special_flags.py::test_combined_flags - AssertionError...\nFAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations\nFAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters - Asse...\nFAILED eval/tests/test_print_template.py::test_print_template_tex - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_html_standalone\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html\nFAILED eval/tests/test_lang_option.py::test_lang_option_french - AssertionErr...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_links - Fil...\nFAILED eval/tests/test_edge_cases.py::test_special_characters_in_title - Asse...\nFAILED eval/tests/test_single_file_rendering.py::test_single_tex_output - ass...\nFAILED eval/tests/test_markdown_features.py::test_markdown_headings - Asserti...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_author - AssertionErr...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_flag - AssertionError: as...\nFAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy - Asserti...\nFAILED eval/tests/test_special_flags.py::test_autograph_flag - AssertionError...\nFAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters\nFAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout - Asse...\nFAILED eval/tests/test_create_book.py::test_create_book_file_already_exists\nFAILED eval/tests/test_list_options.py::test_list_options_shows_types - Asser...\nFAILED eval/tests/test_set_option.py::test_set_single_option - AssertionError...\nFAILED eval/tests/test_actual_rendering.py::test_render_to_stdout - Assertion...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag - Assert...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_title - AssertionErro...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error - AssertionErr...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting\nFAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter\nFAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks - AssertionEr...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats\nFAILED eval/tests/test_edge_cases.py::test_very_long_content - AssertionError...\nFAILED eval/tests/test_print_template.py::test_print_template_multiple_types\n======================== 112 failed, 43 passed in 4.26s ========================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.1365214560000254, "output": "def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionErrordef test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fde9e4a6530>\n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp17zw9fj0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionErrordef test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd55bf6a290>\n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpotr1axcm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionErrordef test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwa4yj4s4/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionErrordef test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionErrordef test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpb0r033gr/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f454629e3e0>\n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpra5z0y1w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5e80712590>\n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f5e80723af0>()\nE + where <built-in method lower of bytes object at 0x7f5e80723af0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f5e80723af0>()\nE + where <built-in method lower of bytes object at 0x7f5e80723af0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff863126440>\n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpd67y9b0_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionErrordef test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = <built-in method count of str object at 0x56277863e990>('Chapter One')\nE + where <built-in method count of str object at 0x56277863e990> = '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with TOC</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">TOC Author</h2><h1 class=\"title\">Book with TOC</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">First content.</p>\\n</div><div id=\"chapter-1\" class=\"chapter\">\\n<h1 id=\\'link-2\\'><span class=\"chapter-header\">Chapter 2</span><br />Chapter Two</h1><p id=\"para-2\">Second content.</p>\\n</div></div></div></body></html>'.count\n\neval/tests/test_actual_rendering.py:389: AssertionErrordef test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8b96c12530>\n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_g2il2we/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionErrordef test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionErrordef test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8d2e5fa590>\n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp268bo116/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp268bo116/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionErrordef test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmn0wsrvw/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb720d87880>\n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f39d74be530>\n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1dce3rws/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4d529d6590>\n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpdnfqi1zv/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionErrortemp_files = <conftest.TempFiles object at 0x7faa5a8c3fd0>\n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2r70yl53/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionErrordef test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb3ecbc6530>\n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = <function is_zipfile at 0x7fb3ed7325f0>(PosixPath('/tmp/tmp_gqimacb/test.epub'))\nE + where <function is_zipfile at 0x7fb3ed7325f0> = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7febcf7ce3e0>\n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpklp6_c3h/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7d04cb2530>\n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1ckrxn9r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa511ace440>\n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd_qddzer/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd_qddzer/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f97fa03a590>\n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0k_nkwk8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa4252de3e0>\n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyklh_ux/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f650617e3e0>\n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpl59zcsat/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f186a4b63e0>\n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f186a79c9b0>()\nE + where <built-in method lower of bytes object at 0x7f186a79c9b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0m75ackw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f59a39f22f0>\n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp208ohu4b/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f42f36dfc70>\n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp4kz30a58/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionErrordef test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionErrordef test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionErrordef test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb35c8de410>\n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxxbvgct3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3da8e8e350>\n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>' or b'\\\\begin' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>')\n\neval/tests/test_output_formats.py:71: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1176d4e3e0>\n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp5zjaldkq/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp5zjaldkq/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f684e5363e0>\n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f684e8b0030>()\nE + where <built-in method lower of bytes object at 0x7f684e8b0030> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f684e8b0030>()\nE + where <built-in method lower of bytes object at 0x7f684e8b0030> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionErrordef test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionErrordef test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fba4fd2e350>\n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppv9zk_kh/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionErrordef test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionErrordef test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f97ffe26530>\n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n' = <built-in method lower of bytes object at 0x7f98042ad830>()\nE + where <built-in method lower of bytes object at 0x7f98042ad830> = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionErrordef test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9ngbt5cu/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3191a46530>\n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpicng_rcx/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe70423e560>\n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmps68dr83z/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionErrordef test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f85d616e440>\n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f85d616a0b0>()\nE + where <built-in method lower of bytes object at 0x7f85d616a0b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = <built-in method lower of bytes object at 0x7f85d80a0030>()\nE + where <built-in method lower of bytes object at 0x7f85d80a0030> = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionErrordef test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionErrordef test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3e59faa3e0>\n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3ua8an_r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fbe3b922590>\n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo18jkwnn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f49d3f727d0>\n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp53rz985c/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd53ab7e530>\n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp25bhm57o/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc3ac7ea560>\n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpywe3u2en/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fbf4ef3e530>\n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp57yc5jp5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionErrordef test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionErrordef test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0vsi9065/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9b8d69e3e0>\n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0vked03i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionErrordef test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionErrordef test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionErrordef test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpj64xr8dd/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f09d1736590>\n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: <Special> 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnkfwc785/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdad217bfd0>\n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = <built-in method encode of str object at 0x7fdad1d9fa70>()\nE + where <built-in method encode of str object at 0x7fdad1d9fa70> = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0wbtu2yi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0c5e34bc10>\n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f0c5df8beb0>()\nE + where <built-in method lower of bytes object at 0x7f0c5df8beb0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f0c5df8beb0>()\nE + where <built-in method lower of bytes object at 0x7f0c5df8beb0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionErrordef test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmphu6hjt10/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmphu6hjt10/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortemp_files = <conftest.TempFiles object at 0x7f84a061e3e0>\n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgnyxum4w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fcd22ce63e0>\n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fcd22d087b0>()\nE + where <built-in method lower of bytes object at 0x7fcd22d087b0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionErrordef test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionErrordef test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpz0dvxjke/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpz0dvxjke/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortemp_files = <conftest.TempFiles object at 0x7efe1771a3e0>\n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionErrordef test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3de5957430>\n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp1m0ffvx4/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8d4ccea3e0>\n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpb171f8pb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionErrordef test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpuoh8086r/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpuoh8086r/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9e7d0963e0>\n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpm9ihumnp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4e0d4f2530>\n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0i9m0j8y/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f62cea2e320>\n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqg2_a0n2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb732c56440>\n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2s2hf6vz/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6843f3a590>\n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1z2xbalk/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionErrordef test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpp7tedhcc/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fea0fd2a320>\n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_ltfwwxk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff5a2602440>\n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpaq6l7juf/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0f2621fc40>\n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpacck17cg/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8a53a22530>\n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcxdmzpyv/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1a22fde590>\n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvnkrwp43/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvnkrwp43/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f57f92363e0>\n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzrv2gp8s/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4fc3096140>\n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8wwqh3va/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2187d2a560>\n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpo9_z26o7/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionErrordef test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7e838ca440>\n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmplrzshr9_/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff805c8a590>\n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7ff805ec91b0>()\nE + where <built-in method lower of bytes object at 0x7ff805ec91b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7ff805ec91b0>()\nE + where <built-in method lower of bytes object at 0x7ff805ec91b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsc8ic3zl/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionErrordef test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9730eb6530>\n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionErrordef test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9mg_oxgh/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionErrordef test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpr_g2we24/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpr_g2we24/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<p id=\"para-1\">--- author: LaTeX Author title: LaTeX Doc ---</p>\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />LaTeX Content</h1><p id=\"para-2\">Some content with **bold**.</p>\\n</div></div></div></body></html>'\n\neval/tests/test_single_file_rendering.py:369: AssertionErrordef test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpf1ekoesr/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f171ce6ce50>\n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp31lhgg7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp31lhgg7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f891aa10550>\n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmp1vulvfqk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fef495f9930>\n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpufwonugx/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f37172a2020>\n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp2cbm7tk0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp2cbm7tk0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3e59ffb850>\n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp9wmz3gq8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f650617fa00>\n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f65061a3430>()\nE + where <built-in method lower of bytes object at 0x7f65061a3430> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6b151d00a0>\n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpezv2ccy6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f59b0a84df0>\n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpzx1nkrfp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f608138b6d0>\n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpjs512bxl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f832457ea40>\n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpplj570_z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError", "returncode": 0, "exception_info": "", "branch": "coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_gen-20260325_090626"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.04668318400001681, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_judge-20260325_101414", "wall_time": 0.1142184390000125, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was 7c4078b coverage-test result\nHEAD is now at 4951939 coverage-test result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04971843599997783, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04768094700000347, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.05018641399999524, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.049020023999958084, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.876178364999987, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [155 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_output_formats.py::test_to_html_format \neval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_print_template.py::test_print_template_to_file \neval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_epub_generation.py::test_epub_with_metadata \neval/tests/test_list_options.py::test_list_options_shows_defaults \neval/tests/test_create_book.py::test_create_book_to_stdout \neval/tests/test_list_options.py::test_list_options_long_flag \neval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_edge_cases.py::test_malformed_yaml \neval/tests/test_edge_cases.py::test_book_with_no_title \neval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_edge_cases.py::test_nested_lists \neval/tests/test_print_template.py::test_print_template_html_dir \neval/tests/test_list_options.py::test_list_options_shows_types \neval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_output_formats.py::test_output_file_tex \neval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_lang_option.py::test_lang_with_book_processing \neval/tests/test_edge_cases.py::test_multiple_yaml_blocks \neval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_set_option.py::test_set_multiple_options \neval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_rendering_options.py::test_rendering_inline_toc \neval/tests/test_set_option.py::test_set_single_option \neval/tests/test_book_processing.py::test_book_empty_chapter_list \neval/tests/test_list_options.py::test_list_options_short_flag \neval/tests/test_set_option.py::test_set_with_spaces_in_value \neval/tests/test_markdown_features.py::test_markdown_horizontal_rules \neval/tests/test_epub_generation.py::test_epub_version_3 \neval/tests/test_markdown_features.py::test_markdown_footnotes \neval/tests/test_epub_generation.py::test_epub_multiple_chapters \neval/tests/test_edge_cases.py::test_empty_markdown_file \neval/tests/test_print_template.py::test_print_template_html_css \neval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_edge_cases.py::test_output_to_existing_file \neval/tests/test_single_file.py::test_single_with_output_file \neval/tests/test_edge_cases.py::test_mixed_list_types \neval/tests/test_markdown_features.py::test_markdown_blockquotes \neval/tests/test_book_processing.py::test_book_missing_chapter_file \neval/tests/test_set_option.py::test_set_rendering_option \neval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_create_book.py::test_create_book_file_already_exists \neval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_create_book.py::test_create_book_multiple_files \neval/tests/test_markdown_features.py::test_markdown_emphasis \neval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_create_book.py::test_create_book_with_filename \neval/tests/test_markdown_features.py::test_markdown_code_blocks \neval/tests/test_single_file.py::test_single_short_flag \neval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_rendering_options.py::test_pdf_output_specified \neval/tests/test_create_book.py::test_create_book_template_structure \neval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_markdown_features.py::test_markdown_tables \neval/tests/test_epub_generation.py::test_epub_with_to_flag \neval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_epub_generation.py::test_epub_output_basic \neval/tests/test_single_file.py::test_single_markdown_with_yaml_block \neval/tests/test_output_formats.py::test_invalid_format_shows_error \neval/tests/test_output_formats.py::test_html_dir_format \neval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_edge_cases.py::test_special_characters_in_title \neval/tests/test_lang_option.py::test_lang_short_flag \neval/tests/test_output_formats.py::test_to_with_short_flag \neval/tests/test_markdown_features.py::test_markdown_headings \neval/tests/test_edge_cases.py::test_book_with_no_author \neval/tests/test_edge_cases.py::test_very_long_content \neval/tests/test_print_template.py::test_print_template_tex \neval/tests/test_rendering_options.py::test_rendering_highlight_none \neval/tests/test_markdown_features.py::test_markdown_lists \neval/tests/test_set_option.py::test_set_invalid_option \neval/tests/test_output_formats.py::test_output_without_to_shows_error \neval/tests/test_print_template.py::test_print_template_invalid \neval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_print_template.py::test_print_template_epub_css \neval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_single_file.py::test_single_with_set_override \neval/tests/test_print_template.py::test_print_template_multiple_types \neval/tests/test_lang_option.py::test_lang_affects_messages \neval/tests/test_rendering_options.py::test_html_dir_output \neval/tests/test_output_formats.py::test_output_file_html \neval/tests/test_set_option.py::test_set_output_path \neval/tests/test_set_option.py::test_set_boolean_option \neval/tests/test_rendering_options.py::test_tex_standalone_output \neval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_output_formats.py::test_to_tex_format \neval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_book_processing.py::test_book_with_multiple_chapters \neval/tests/test_single_file.py::test_single_with_inline_yaml_variations \neval/tests/test_single_file.py::test_single_without_yaml_block \neval/tests/test_lang_option.py::test_lang_option_french \neval/tests/test_rendering_options.py::test_rendering_with_cover \neval/tests/test_print_template.py::test_print_template_html_standalone \neval/tests/test_rendering_options.py::test_rendering_numbering \neval/tests/test_single_file.py::test_single_tex_output \neval/tests/test_rendering_options.py::test_rendering_highlight_syntect \neval/tests/test_markdown_features.py::test_markdown_links \n[gw18] [ 0%] PASSED eval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_epub_generation.py::test_epub_version_2 \neval/tests/test_list_options.py::test_list_options_shows_descriptions \neval/tests/test_single_file_rendering.py::test_single_render_to_epub \neval/tests/test_print_template.py::test_print_template_epub_chapter \neval/tests/test_single_file.py::test_single_markdown_features \neval/tests/test_single_file_rendering.py::test_single_render_to_html \neval/tests/test_output_formats.py::test_output_short_flag \neval/tests/test_edge_cases.py::test_unicode_content \neval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \neval/tests/test_lang_option.py::test_lang_option_english \n[gw13] [ 1%] PASSED eval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_stats.py::test_stats_with_formatting \neval/tests/test_single_file_rendering.py::test_single_with_set_options \neval/tests/test_single_file_rendering.py::test_single_to_stdout \neval/tests/test_single_file_rendering.py::test_single_with_output_flag \n[gw31] [ 1%] PASSED eval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_single_file_rendering.py::test_single_with_to_flag \neval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \neval/tests/test_single_file_rendering.py::test_single_with_links \neval/tests/test_single_file_rendering.py::test_single_with_blockquotes \n[gw103] [ 2%] PASSED eval/tests/test_set_option.py::test_set_output_path \neval/tests/test_single_file_rendering.py::test_single_stats \n[gw17] [ 3%] PASSED eval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \neval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw56] [ 3%] PASSED eval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \neval/tests/test_single_file_rendering.py::test_single_without_yaml \n[gw11] [ 4%] PASSED eval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_stats.py::test_stats_multiple_chapters \n[gw58] [ 5%] PASSED eval/tests/test_lang_option.py::test_lang_invalid_code \n[gw35] [ 5%] PASSED eval/tests/test_create_book.py::test_create_book_template_structure \n[gw7] [ 6%] PASSED eval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \n[gw33] [ 7%] PASSED eval/tests/test_create_book.py::test_create_book_multiple_files \n[gw46] [ 7%] PASSED eval/tests/test_edge_cases.py::test_output_to_existing_file \n[gw30] [ 8%] PASSED eval/tests/test_create_book.py::test_create_book_to_stdout \n[gw82] [ 9%] PASSED eval/tests/test_output_formats.py::test_html_dir_format \n[gw78] [ 9%] PASSED eval/tests/test_output_formats.py::test_output_file_html \n[gw28] [ 10%] PASSED eval/tests/test_book_processing.py::test_book_empty_chapter_list \n[gw77] [ 10%] PASSED eval/tests/test_output_formats.py::test_output_short_flag \n[gw3] [ 11%] PASSED eval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_special_flags.py::test_force_emoji_flag \n[gw109] [ 12%] PASSED eval/tests/test_single_file.py::test_single_with_output_file \n[gw0] [ 12%] PASSED eval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw6] [ 13%] PASSED eval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_special_flags.py::test_autograph_short_flag \n[gw24] [ 14%] PASSED eval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_verbose_quiet.py::test_quiet_short_flag \neval/tests/test_special_flags.py::test_combined_flags \n[gw111] [ 14%] PASSED eval/tests/test_single_file.py::test_single_with_set_override \n[gw18] [ 15%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw125] [ 16%] PASSED eval/tests/test_single_file_rendering.py::test_single_stats \n[gw124] [ 16%] PASSED eval/tests/test_single_file_rendering.py::test_single_without_yaml \n[gw13] [ 17%] PASSED eval/tests/test_stats.py::test_stats_with_formatting \n[gw54] [ 18%] FAILED eval/tests/test_lang_option.py::test_lang_option_french \n[gw40] [ 18%] FAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks \n[gw43] [ 19%] FAILED eval/tests/test_edge_cases.py::test_malformed_yaml \n[gw85] [ 20%] FAILED eval/tests/test_print_template.py::test_print_template_tex \n[gw118] [ 20%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_output_flag \n[gw61] [ 21%] FAILED eval/tests/test_list_options.py::test_list_options_short_flag \n[gw117] [ 21%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_to_flag \n[gw11] [ 22%] PASSED eval/tests/test_stats.py::test_stats_multiple_chapters \n[gw17] [ 23%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw70] [ 23%] FAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes \n[gw87] [ 24%] FAILED eval/tests/test_print_template.py::test_print_template_html_dir \n[gw50] [ 25%] FAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters \n[gw98] [ 25%] FAILED eval/tests/test_rendering_options.py::test_pdf_output_specified \n[gw105] [ 26%] FAILED eval/tests/test_set_option.py::test_set_boolean_option \n[gw15] [ 27%] FAILED eval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw91] [ 27%] FAILED eval/tests/test_print_template.py::test_print_template_epub_chapter \n[gw99] [ 28%] FAILED eval/tests/test_rendering_options.py::test_tex_standalone_output \n[gw14] [ 29%] FAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error \n[gw24] [ 29%] PASSED eval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw44] [ 30%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_title \n[gw21] [ 30%] FAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_verbose_quiet.py::test_verbose_flag \neval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw62] [ 31%] FAILED eval/tests/test_list_options.py::test_list_options_shows_types \n[gw34] [ 32%] FAILED eval/tests/test_create_book.py::test_create_book_file_already_exists \n[gw63] [ 32%] FAILED eval/tests/test_list_options.py::test_list_options_shows_defaults \n[gw83] [ 33%] FAILED eval/tests/test_print_template.py::test_print_template_html_css \n[gw64] [ 34%] FAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions \n[gw41] [ 34%] FAILED eval/tests/test_edge_cases.py::test_nested_lists \n[gw42] [ 35%] FAILED eval/tests/test_edge_cases.py::test_mixed_list_types \n[gw32] [ 36%] FAILED eval/tests/test_create_book.py::test_create_book_with_filename \n[gw86] [ 36%] FAILED eval/tests/test_print_template.py::test_print_template_html_standalone \n[gw55] [ 37%] FAILED eval/tests/test_lang_option.py::test_lang_short_flag \n[gw60] [ 38%] FAILED eval/tests/test_list_options.py::test_list_options_long_flag \n[gw23] [ 38%] FAILED eval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw16] [ 39%] FAILED eval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw88] [ 40%] FAILED eval/tests/test_print_template.py::test_print_template_invalid \n[gw69] [ 40%] FAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks \n[gw53] [ 41%] FAILED eval/tests/test_lang_option.py::test_lang_option_english \n[gw71] [ 41%] FAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules \n[gw107] [ 42%] FAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block \n[gw68] [ 43%] FAILED eval/tests/test_markdown_features.py::test_markdown_links \n[gw27] [ 43%] FAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file \n[gw73] [ 44%] FAILED eval/tests/test_markdown_features.py::test_markdown_footnotes \n[gw48] [ 45%] FAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag \n[gw4] [ 45%] FAILED eval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw59] [ 46%] FAILED eval/tests/test_lang_option.py::test_lang_with_book_processing \n[gw1] [ 47%] FAILED eval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_special_flags.py::test_no_fancy_flag \n[gw8] [ 47%] FAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw94] [ 48%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect \n[gw39] [ 49%] FAILED eval/tests/test_edge_cases.py::test_special_characters_in_title \n[gw97] [ 49%] FAILED eval/tests/test_rendering_options.py::test_html_dir_output \n[gw80] [ 50%] FAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error \n[gw92] [ 50%] FAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc \n[gw19] [ 51%] FAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw10] [ 52%] FAILED eval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_stats.py::test_stats_short_flag \n[gw90] [ 52%] FAILED eval/tests/test_print_template.py::test_print_template_multiple_types \n[gw79] [ 53%] FAILED eval/tests/test_output_formats.py::test_output_file_tex \n[gw119] [ 54%] FAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout \n[gw76] [ 54%] FAILED eval/tests/test_output_formats.py::test_to_with_short_flag \n[gw104] [ 55%] FAILED eval/tests/test_set_option.py::test_set_invalid_option \n[gw84] [ 56%] FAILED eval/tests/test_print_template.py::test_print_template_epub_css \n[gw65] [ 56%] FAILED eval/tests/test_markdown_features.py::test_markdown_headings \n[gw7] [ 57%] FAILED eval/tests/test_special_flags.py::test_combined_flags \n[gw113] [ 58%] FAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations \n[gw72] [ 58%] FAILED eval/tests/test_markdown_features.py::test_markdown_tables \n[gw14] [ 59%] PASSED eval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw0] [ 60%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw9] [ 60%] FAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_stats.py::test_stats_long_flag \n[gw38] [ 61%] FAILED eval/tests/test_edge_cases.py::test_unicode_content \n[gw108] [ 61%] FAILED eval/tests/test_single_file.py::test_single_short_flag \n[gw110] [ 62%] FAILED eval/tests/test_single_file.py::test_single_without_yaml_block \n[gw20] [ 63%] FAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw20] [ 63%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw116] [ 64%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub \n[gw3] [ 65%] FAILED eval/tests/test_special_flags.py::test_force_emoji_flag \n[gw15] [ 65%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw45] [ 66%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_author \n[gw49] [ 67%] FAILED eval/tests/test_epub_generation.py::test_epub_with_metadata \n[gw6] [ 67%] FAILED eval/tests/test_special_flags.py::test_autograph_short_flag \n[gw5] [ 68%] FAILED eval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_special_flags.py::test_autograph_flag \n[gw112] [ 69%] FAILED eval/tests/test_single_file.py::test_single_tex_output \n[gw29] [ 69%] FAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters \n[gw75] [ 70%] FAILED eval/tests/test_output_formats.py::test_to_tex_format \n[gw101] [ 70%] FAILED eval/tests/test_set_option.py::test_set_multiple_options \n[gw22] [ 71%] FAILED eval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw81] [ 72%] FAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error \n[gw25] [ 72%] FAILED eval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw52] [ 73%] FAILED eval/tests/test_epub_generation.py::test_epub_version_3 \n[gw36] [ 74%] FAILED eval/tests/test_edge_cases.py::test_empty_markdown_file \n[gw102] [ 74%] FAILED eval/tests/test_set_option.py::test_set_rendering_option \n[gw10] [ 75%] PASSED eval/tests/test_stats.py::test_stats_short_flag \n[gw21] [ 76%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw100] [ 76%] FAILED eval/tests/test_set_option.py::test_set_single_option \n[gw12] [ 77%] FAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_stats.py::test_stats_empty_book \n[gw22] [ 78%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw115] [ 78%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html \n[gw93] [ 79%] FAILED eval/tests/test_rendering_options.py::test_rendering_numbering \n[gw57] [ 80%] FAILED eval/tests/test_lang_option.py::test_lang_affects_messages \n[gw67] [ 80%] FAILED eval/tests/test_markdown_features.py::test_markdown_lists \n[gw9] [ 81%] PASSED eval/tests/test_stats.py::test_stats_long_flag \n[gw4] [ 81%] FAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw106] [ 82%] FAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value \n[gw26] [ 83%] FAILED eval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw1] [ 83%] FAILED eval/tests/test_special_flags.py::test_no_fancy_flag \n[gw12] [ 84%] PASSED eval/tests/test_stats.py::test_stats_empty_book \n[gw89] [ 85%] FAILED eval/tests/test_print_template.py::test_print_template_to_file \n[gw120] [ 85%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options \n[gw5] [ 86%] FAILED eval/tests/test_special_flags.py::test_autograph_flag \n[gw122] [ 87%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_links \n[gw37] [ 87%] FAILED eval/tests/test_edge_cases.py::test_very_long_content \n[gw126] [ 88%] FAILED eval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw25] [ 89%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw66] [ 89%] FAILED eval/tests/test_markdown_features.py::test_markdown_emphasis \n[gw96] [ 90%] FAILED eval/tests/test_rendering_options.py::test_rendering_with_cover \n[gw121] [ 90%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \n[gw2] [ 91%] FAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw2] [ 92%] FAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw51] [ 92%] FAILED eval/tests/test_epub_generation.py::test_epub_version_2 \n[gw95] [ 93%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none \n[gw26] [ 94%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw16] [ 94%] PASSED eval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw123] [ 95%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes \n[gw19] [ 96%] PASSED eval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw47] [ 96%] FAILED eval/tests/test_epub_generation.py::test_epub_output_basic \n[gw74] [ 97%] FAILED eval/tests/test_output_formats.py::test_to_html_format \n[gw8] [ 98%] FAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw23] [ 98%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw127] [ 99%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \n[gw114] [100%] FAILED eval/tests/test_single_file.py::test_single_markdown_features \n\n=================================== FAILURES ===================================\n___________________________ test_lang_option_french ____________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError\n__________________________ test_multiple_yaml_blocks ___________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6ml5df98/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError\n_____________________________ test_malformed_yaml ______________________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError\n___________________________ test_print_template_tex ____________________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError\n_________________________ test_list_options_short_flag _________________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError\n__________________________ test_markdown_blockquotes ___________________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7ff9548r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError\n_________________________ test_print_template_html_dir _________________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError\n_________________________ test_epub_multiple_chapters __________________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpfhvqs_ws/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError\n__________________________ test_pdf_output_specified ___________________________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError\n___________________________ test_set_boolean_option ____________________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpna3a_gdb/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError\n_____________________________ test_help_short_flag _____________________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError\n_______________________ test_print_template_epub_chapter _______________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError\n__________________________ test_tex_standalone_output __________________________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp5qelkyq0/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError\n________________________ test_no_arguments_shows_error _________________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError\n___________________________ test_book_with_no_title ____________________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgc4nq9qe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError\n______________________ test_missing_book_file_shows_error ______________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError\n________________________ test_list_options_shows_types _________________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError\n_____________________ test_create_book_file_already_exists _____________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError\n_______________________ test_list_options_shows_defaults _______________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError\n_________________________ test_print_template_html_css _________________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError\n_____________________ test_list_options_shows_descriptions _____________________\n[gw64] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError\n______________________________ test_nested_lists _______________________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbco6dhgq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError\n____________________________ test_mixed_list_types _____________________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3bvmywyn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError\n________________________ test_create_book_with_filename ________________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp1e5rz0z_/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError\n_____________________ test_print_template_html_standalone ______________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError\n_____________________________ test_lang_short_flag _____________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError\n_________________________ test_list_options_long_flag __________________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError\n___________________________ test_book_with_metadata ____________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxcegamjj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError\n_____________________________ test_help_long_flag ______________________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError\n_________________________ test_print_template_invalid __________________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError\n__________________________ test_markdown_code_blocks ___________________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpoybqbmzp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError\n___________________________ test_lang_option_english ___________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError\n________________________ test_markdown_horizontal_rules ________________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjlsx2m92/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError\n_____________________ test_single_markdown_with_yaml_block _____________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp8nhljvk8/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError\n_____________________________ test_markdown_links ______________________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6itr8twb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError\n________________________ test_book_missing_chapter_file ________________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError\n___________________________ test_markdown_footnotes ____________________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp4ij0zbh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError\n____________________________ test_epub_with_to_flag ____________________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmp3j4uf_v7/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError\n____________________________ test_render_to_stdout _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError\n________________________ test_lang_with_book_processing ________________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpym_t0paj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError\n____________________________ test_render_epub_basic ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpb7nomgxd/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError\n_________________________ test_render_with_cover_image _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpv4kh1p3k/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError\n_______________________ test_rendering_highlight_syntect _______________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi32klo70/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi32klo70/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError\n_______________________ test_special_characters_in_title _______________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyuujmiix/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError\n_____________________________ test_html_dir_output _____________________________\n[gw97] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp6ji8ssh_/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError\n_______________________ test_invalid_format_shows_error ________________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError\n__________________________ test_rendering_inline_toc ___________________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpk03bc9p5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError\n_________________________ test_help_shows_all_options __________________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError\n_____________________________ test_render_html_dir _____________________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpvzelw919/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError\n______________________ test_print_template_multiple_types ______________________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError\n_____________________________ test_output_file_tex _____________________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
' or b'\\\\begin' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
')\n\neval/tests/test_output_formats.py:71: AssertionError\n____________________________ test_single_to_stdout _____________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError\n___________________________ test_to_with_short_flag ____________________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd855qvrl/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError\n___________________________ test_set_invalid_option ____________________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpti9kp903/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError\n_________________________ test_print_template_epub_css _________________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError\n____________________________ test_markdown_headings ____________________________\n[gw65] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp18rsyoel/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError\n_____________________________ test_combined_flags ______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpogborny_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError\n___________________ test_single_with_inline_yaml_variations ____________________\n[gw113] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpa6bxq4q1/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError\n_____________________________ test_markdown_tables _____________________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph5te211q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError\n_____________________ test_single_render_multiple_formats ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwmj86_kj/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError\n_________________________ test_render_with_inline_toc __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

TOC Author

Book with TOC

\\n

Chapter 1
Chapter One

First content.

\\n
\\n

Chapter 2
Chapter Two

Second content.

\\n
'.count\n\neval/tests/test_actual_rendering.py:389: AssertionError\n_____________________________ test_unicode_content _____________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis \ud83d\ude00 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6l56a7_z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError\n____________________________ test_single_short_flag ____________________________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmprk4_9bfu/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError\n________________________ test_single_without_yaml_block ________________________\n[gw110] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpw9xomavd/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError\n_______________________ test_invalid_option_shows_error ________________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError\n__________________________ test_single_render_to_epub __________________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp50ghs07m/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError\n____________________________ test_force_emoji_flag _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test \ud83d\ude00\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpor6acka0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError\n___________________________ test_book_with_no_author ___________________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgdms70w1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError\n___________________________ test_epub_with_metadata ____________________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp4em0bw6x/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError\n__________________________ test_autograph_short_flag ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmposouqsyo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmposouqsyo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError\n____________________________ test_render_tex_output ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpdi3fpmmj/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw112] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpiiar587x/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpiiar587x/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError\n_______________________ test_book_with_multiple_chapters _______________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3z3kpx6e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError\n______________________________ test_to_tex_format ______________________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError\n__________________________ test_set_multiple_options ___________________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp785dblwx/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError\n_________________________ test_basic_book_html_output __________________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqhtcwcg4/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError\n______________________ test_output_without_to_shows_error ______________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError\n_____________________________ test_book_tex_output _____________________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError\n_____________________________ test_epub_version_3 ______________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpvj0g3z6y/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError\n___________________________ test_empty_markdown_file ___________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_cz5z68h/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError\n__________________________ test_set_rendering_option ___________________________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw4kjt574/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError\n____________________________ test_set_single_option ____________________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5586gsc4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5586gsc4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError\n______________________ test_render_error_missing_chapter _______________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError\n__________________________ test_single_render_to_html __________________________\n[gw115] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpa_7gx2iu/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError\n___________________________ test_rendering_numbering ___________________________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0y90kt6k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError\n__________________________ test_lang_affects_messages __________________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError\n_____________________________ test_markdown_lists ______________________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_677z0ii/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError\n_________________________ test_force_emoji_short_flag __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp61lv6ou5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError\n________________________ test_set_with_spaces_in_value _________________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp39b11yhj/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError\n________________________ test_book_with_relative_paths _________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdjwbulco/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError\n______________________________ test_no_fancy_flag ______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpt_vcsbub/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError\n_________________________ test_print_template_to_file __________________________\n[gw89] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError\n_________________________ test_single_with_set_options _________________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpzxf8uzyc/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError\n_____________________________ test_autograph_flag ______________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpal0c39i2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpal0c39i2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError\n____________________________ test_single_with_links ____________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpvvkz9ixj/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpvvkz9ixj/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n____________________________ test_very_long_content ____________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpke776056/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw126] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

\\n

--- author: LaTeX Author title: LaTeX Doc ---

\\n

Chapter 1
LaTeX Content

Some content with **bold**.

\\n
'\n\neval/tests/test_single_file_rendering.py:369: AssertionError\n____________________________ test_markdown_emphasis ____________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwsbp1z5p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError\n__________________________ test_rendering_with_cover ___________________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgoalr2ss/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgoalr2ss/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError\n______________________ test_single_with_multiple_chapters ______________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp8yejppmg/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp8yejppmg/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_________________________ test_render_multiple_formats _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwp1co4ya/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError\n___________________________ test_no_fancy_short_flag ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpy3ozl97a/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError\n_____________________________ test_epub_version_2 ______________________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmps1fvx3w6/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError\n________________________ test_rendering_highlight_none _________________________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphnu_k0gf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError\n____________________________ test_quiet_with_error _____________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError\n_________________________ test_single_with_blockquotes _________________________\n[gw123] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpkmsr64bn/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpkmsr64bn/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n____________________________ test_epub_output_basic ____________________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpvy483096/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError\n_____________________________ test_to_html_format ______________________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbuiya693/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError\n__________________________ test_verbose_with_no_fancy __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmphihsbtxi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError\n_______________________________ test_quiet_flag ________________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpvpa08014/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError\n_____________________ test_single_with_syntax_highlighting _____________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpul8sjwxp/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpul8sjwxp/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n________________________ test_single_markdown_features _________________________\n[gw114] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpquvat_dr/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_lang_option.py::test_lang_option_french - AssertionErr...\nFAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks - AssertionEr...\nFAILED eval/tests/test_edge_cases.py::test_malformed_yaml - AssertionError: a...\nFAILED eval/tests/test_print_template.py::test_print_template_tex - Assertion...\nFAILED eval/tests/test_list_options.py::test_list_options_short_flag - Assert...\nFAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes - Asse...\nFAILED eval/tests/test_print_template.py::test_print_template_html_dir - Asse...\nFAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters - Asse...\nFAILED eval/tests/test_rendering_options.py::test_pdf_output_specified - Asse...\nFAILED eval/tests/test_set_option.py::test_set_boolean_option - AssertionErro...\nFAILED eval/tests/test_basic_invocation.py::test_help_short_flag - AssertionE...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_chapter - ...\nFAILED eval/tests/test_rendering_options.py::test_tex_standalone_output - Ass...\nFAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error - A...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_title - AssertionErro...\nFAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error\nFAILED eval/tests/test_list_options.py::test_list_options_shows_types - Asser...\nFAILED eval/tests/test_create_book.py::test_create_book_file_already_exists\nFAILED eval/tests/test_list_options.py::test_list_options_shows_defaults - As...\nFAILED eval/tests/test_print_template.py::test_print_template_html_css - Asse...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions\nFAILED eval/tests/test_edge_cases.py::test_nested_lists - AssertionError: ass...\nFAILED eval/tests/test_edge_cases.py::test_mixed_list_types - AssertionError:...\nFAILED eval/tests/test_create_book.py::test_create_book_with_filename - Asser...\nFAILED eval/tests/test_print_template.py::test_print_template_html_standalone\nFAILED eval/tests/test_lang_option.py::test_lang_short_flag - AssertionError:...\nFAILED eval/tests/test_list_options.py::test_list_options_long_flag - Asserti...\nFAILED eval/tests/test_book_processing.py::test_book_with_metadata - Assertio...\nFAILED eval/tests/test_basic_invocation.py::test_help_long_flag - AssertionEr...\nFAILED eval/tests/test_print_template.py::test_print_template_invalid - Asser...\nFAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks - Asse...\nFAILED eval/tests/test_lang_option.py::test_lang_option_english - AssertionEr...\nFAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules\nFAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block\nFAILED eval/tests/test_markdown_features.py::test_markdown_links - AssertionE...\nFAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file - A...\nFAILED eval/tests/test_markdown_features.py::test_markdown_footnotes - Assert...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag - Assertion...\nFAILED eval/tests/test_actual_rendering.py::test_render_to_stdout - Assertion...\nFAILED eval/tests/test_lang_option.py::test_lang_with_book_processing - Asser...\nFAILED eval/tests/test_actual_rendering.py::test_render_epub_basic - Assertio...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image - As...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect\nFAILED eval/tests/test_edge_cases.py::test_special_characters_in_title - Asse...\nFAILED eval/tests/test_rendering_options.py::test_html_dir_output - Assertion...\nFAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error - A...\nFAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc - Asse...\nFAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options - Ass...\nFAILED eval/tests/test_actual_rendering.py::test_render_html_dir - AssertionE...\nFAILED eval/tests/test_print_template.py::test_print_template_multiple_types\nFAILED eval/tests/test_output_formats.py::test_output_file_tex - assert (b'\\\\...\nFAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout - Asse...\nFAILED eval/tests/test_output_formats.py::test_to_with_short_flag - Assertion...\nFAILED eval/tests/test_set_option.py::test_set_invalid_option - AssertionErro...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_css - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_headings - Asserti...\nFAILED eval/tests/test_special_flags.py::test_combined_flags - AssertionError...\nFAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations\nFAILED eval/tests/test_markdown_features.py::test_markdown_tables - Assertion...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats\nFAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc - ass...\nFAILED eval/tests/test_edge_cases.py::test_unicode_content - AssertionError: ...\nFAILED eval/tests/test_single_file.py::test_single_short_flag - AssertionErro...\nFAILED eval/tests/test_single_file.py::test_single_without_yaml_block - Asser...\nFAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub\nFAILED eval/tests/test_special_flags.py::test_force_emoji_flag - AssertionErr...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_author - AssertionErr...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_metadata - Assertio...\nFAILED eval/tests/test_special_flags.py::test_autograph_short_flag - Assertio...\nFAILED eval/tests/test_actual_rendering.py::test_render_tex_output - Assertio...\nFAILED eval/tests/test_single_file.py::test_single_tex_output - AssertionErro...\nFAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters\nFAILED eval/tests/test_output_formats.py::test_to_tex_format - AssertionError...\nFAILED eval/tests/test_set_option.py::test_set_multiple_options - AssertionEr...\nFAILED eval/tests/test_book_processing.py::test_basic_book_html_output - Asse...\nFAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error\nFAILED eval/tests/test_book_processing.py::test_book_tex_output - AssertionEr...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_3 - AssertionErr...\nFAILED eval/tests/test_edge_cases.py::test_empty_markdown_file - AssertionErr...\nFAILED eval/tests/test_set_option.py::test_set_rendering_option - AssertionEr...\nFAILED eval/tests/test_set_option.py::test_set_single_option - AssertionError...\nFAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html\nFAILED eval/tests/test_rendering_options.py::test_rendering_numbering - Asser...\nFAILED eval/tests/test_lang_option.py::test_lang_affects_messages - Assertion...\nFAILED eval/tests/test_markdown_features.py::test_markdown_lists - AssertionE...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag - Assert...\nFAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value - Asserti...\nFAILED eval/tests/test_book_processing.py::test_book_with_relative_paths - As...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_flag - AssertionError:...\nFAILED eval/tests/test_print_template.py::test_print_template_to_file - Asser...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options\nFAILED eval/tests/test_special_flags.py::test_autograph_flag - AssertionError...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_links - Fil...\nFAILED eval/tests/test_edge_cases.py::test_very_long_content - AssertionError...\nFAILED eval/tests/test_single_file_rendering.py::test_single_tex_output - ass...\nFAILED eval/tests/test_markdown_features.py::test_markdown_emphasis - Asserti...\nFAILED eval/tests/test_rendering_options.py::test_rendering_with_cover - Asse...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters\nFAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats - As...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag - Assertion...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_2 - AssertionErr...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none - ...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error - AssertionErr...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes\nFAILED eval/tests/test_epub_generation.py::test_epub_output_basic - Assertion...\nFAILED eval/tests/test_output_formats.py::test_to_html_format - AssertionErro...\nFAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy - Asserti...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_flag - AssertionError: as...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting\nFAILED eval/tests/test_single_file.py::test_single_markdown_features - Assert...\n======================== 112 failed, 43 passed in 4.26s ========================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.18234227199997122, "output": "def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionErrordef test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionErrordef test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0687f423e0>\n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f068c971e70>()\nE + where <built-in method lower of bytes object at 0x7f068c971e70> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionErrordef test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7eff54a763e0>\n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgc4nq9qe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ffaebd32530>\n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff9a04a23e0>\n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbuiya693/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionErrordef test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionErrordef test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb26f91e530>\n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp4em0bw6x/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3bd1b2e3b0>\n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>' or b'\\\\begin' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>')\n\neval/tests/test_output_formats.py:71: AssertionErrordef test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd1056dbfd0>\n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpym_t0paj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f76155ee590>\n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6ml5df98/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionErrordef test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpv4kh1p3k/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f085a636320>\n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp785dblwx/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionErrordef test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpvzelw919/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f682b222560>\n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpk03bc9p5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f31d37ee3e0>\n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5586gsc4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5586gsc4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionErrordef test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpdi3fpmmj/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionErrordef test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff69e42a530>\n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp39b11yhj/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fab58bba440>\n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjlsx2m92/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f879d5863e0>\n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpvj0g3z6y/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fab5fd36410>\n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fab647e9e70>()\nE + where <built-in method lower of bytes object at 0x7fab647e9e70> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp4ij0zbh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f300255e530>\n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpfhvqs_ws/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4cd5e9bc70>\n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_cz5z68h/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionErrordef test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionErrordef test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionErrordef test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpb7nomgxd/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9c8408a590>\n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3bvmywyn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionErrordef test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f40ee01a320>\n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7ff9548r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f137c1c6290>\n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f137c1c2270>()\nE + where <built-in method lower of bytes object at 0x7f137c1c2270> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = <built-in method lower of bytes object at 0x7f137e0f4030>()\nE + where <built-in method lower of bytes object at 0x7f137e0f4030> = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6edf6f2590>\n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw4kjt574/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionErrordef test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f670a0621a0>\n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n' = <built-in method lower of bytes object at 0x7f670a459830>()\nE + where <built-in method lower of bytes object at 0x7f670a459830> = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa00ff42440>\n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdjwbulco/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f08a8546590>\n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwsbp1z5p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3ef007e3e0>\n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbco6dhgq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd4ada2e440>\n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff2fbf7a440>\n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp1e5rz0z_/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f28e87e6530>\n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpoybqbmzp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f88669267d0>\n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmprk4_9bfu/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionErrordef test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = <built-in method count of str object at 0x557ce6a60210>('Chapter One')\nE + where <built-in method count of str object at 0x557ce6a60210> = '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with TOC</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">TOC Author</h2><h1 class=\"title\">Book with TOC</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">First content.</p>\\n</div><div id=\"chapter-1\" class=\"chapter\">\\n<h1 id=\\'link-2\\'><span class=\"chapter-header\">Chapter 2</span><br />Chapter Two</h1><p id=\"para-2\">Second content.</p>\\n</div></div></div></body></html>'.count\n\neval/tests/test_actual_rendering.py:389: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ffb8fb26590>\n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxcegamjj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f663c85e2c0>\n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f663d27de70>()\nE + where <built-in method lower of bytes object at 0x7f663d27de70> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f663d27de70>()\nE + where <built-in method lower of bytes object at 0x7f663d27de70> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fbc5b61e440>\n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph5te211q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb7b207ffd0>\n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = <function is_zipfile at 0x7fb7b28125f0>(PosixPath('/tmp/tmp3j4uf_v7/test.epub'))\nE + where <function is_zipfile at 0x7fb7b28125f0> = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fefb3302440>\n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqhtcwcg4/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff2324c2560>\n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpvy483096/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f10a3c2a3e0>\n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp8nhljvk8/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7af03ee3e0>\n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f7af06cc7b0>()\nE + where <built-in method lower of bytes object at 0x7f7af06cc7b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f7af06cc7b0>()\nE + where <built-in method lower of bytes object at 0x7f7af06cc7b0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionErrordef test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8f64c723e0>\n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: <Special> 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyuujmiix/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionErrordef test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f863371a440>\n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd855qvrl/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa5f533a590>\n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp18rsyoel/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionErrordef test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwp1co4ya/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2ab2076560>\n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgdms70w1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdaa0f46440>\n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpke776056/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionErrordef test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdff43d2320>\n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphnu_k0gf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5cf99abfd0>\n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_677z0ii/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f37937222f0>\n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f37939315f0>()\nE + where <built-in method lower of bytes object at 0x7f37939315f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f37939315f0>()\nE + where <built-in method lower of bytes object at 0x7f37939315f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpti9kp903/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fde98d2e320>\n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fde98f6c7b0>()\nE + where <built-in method lower of bytes object at 0x7fde98f6c7b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fde98f6c7b0>()\nE + where <built-in method lower of bytes object at 0x7fde98f6c7b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionErrordef test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionErrordef test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionErrordef test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionErrordef test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f908b71a590>\n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp6ji8ssh_/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3cf44aa170>\n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpna3a_gdb/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa9b34d7fd0>\n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp5qelkyq0/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionErrordef test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff51381a440>\n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fbc11596440>\n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = <built-in method encode of str object at 0x7fbc11593ab0>()\nE + where <built-in method encode of str object at 0x7fbc11593ab0> = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3z3kpx6e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f904408a410>\n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpa6bxq4q1/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f06d73ea530>\n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpw9xomavd/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionErrordef test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f558391e530>\n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgoalr2ss/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgoalr2ss/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionErrordef test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f43fe3c23e0>\n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0y90kt6k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fbb8d22a440>\n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpiiar587x/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpiiar587x/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdf4768ffd0>\n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi32klo70/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi32klo70/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f82788763e0>\n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmps1fvx3w6/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionErrordef test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionErrordef test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpa_7gx2iu/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7dc7ccfc10>\n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6itr8twb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa96a00f8e0>\n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6l56a7_z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionErrordef test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7b049427d0>\n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpquvat_dr/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionErrordef test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionErrordef test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpzxf8uzyc/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionErrordef test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionErrordef test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp50ghs07m/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionErrordef test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp8yejppmg/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp8yejppmg/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpvvkz9ixj/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpvvkz9ixj/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpkmsr64bn/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpkmsr64bn/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<p id=\"para-1\">--- author: LaTeX Author title: LaTeX Doc ---</p>\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />LaTeX Content</h1><p id=\"para-2\">Some content with **bold**.</p>\\n</div></div></div></body></html>'\n\neval/tests/test_single_file_rendering.py:369: AssertionErrordef test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpul8sjwxp/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpul8sjwxp/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortemp_files = <conftest.TempFiles object at 0x7f67c1330b20>\n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpor6acka0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionErrordef test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwmj86_kj/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f167ce7c8e0>\n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmposouqsyo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmposouqsyo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f529e4f0b50>\n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpogborny_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ffb8fb73610>\n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpvpa08014/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd70df5fc40>\n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp61lv6ou5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f467c0992d0>\n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpt_vcsbub/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe899a4ce20>\n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmphihsbtxi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe212bb3c70>\n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpal0c39i2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpal0c39i2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa00ff8f880>\n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fa00ffa5ff0>()\nE + where <built-in method lower of bytes object at 0x7fa00ffa5ff0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3409b4feb0>\n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpy3ozl97a/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError", "returncode": 0, "exception_info": "", "branch": "coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter3_judge-20260325_101414"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.051159396000002744, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_gen-20260325_104606", "wall_time": 0.059528735000014876, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was 4951939 coverage-test result\nHEAD is now at e5bf735 coverage-test result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.05069211800002904, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.047415665000016816, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.046013923000032264, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04597135500000604, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.872781886999974, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [155 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_epub_generation.py::test_epub_with_to_flag \neval/tests/test_edge_cases.py::test_book_with_no_author \neval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_create_book.py::test_create_book_file_already_exists \neval/tests/test_set_option.py::test_set_rendering_option \neval/tests/test_single_file.py::test_single_without_yaml_block \neval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_single_file.py::test_single_tex_output \neval/tests/test_markdown_features.py::test_markdown_links \neval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_list_options.py::test_list_options_shows_types \neval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_markdown_features.py::test_markdown_footnotes \neval/tests/test_book_processing.py::test_book_with_multiple_chapters \neval/tests/test_print_template.py::test_print_template_epub_css \neval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_rendering_options.py::test_pdf_output_specified \neval/tests/test_print_template.py::test_print_template_html_standalone \neval/tests/test_create_book.py::test_create_book_with_filename \neval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_create_book.py::test_create_book_template_structure \neval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_output_formats.py::test_html_dir_format \neval/tests/test_epub_generation.py::test_epub_version_3 \neval/tests/test_markdown_features.py::test_markdown_code_blocks \neval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_lang_option.py::test_lang_option_english \neval/tests/test_print_template.py::test_print_template_html_dir \neval/tests/test_lang_option.py::test_lang_short_flag \neval/tests/test_edge_cases.py::test_mixed_list_types \neval/tests/test_edge_cases.py::test_unicode_content \neval/tests/test_output_formats.py::test_output_without_to_shows_error \neval/tests/test_markdown_features.py::test_markdown_tables \neval/tests/test_epub_generation.py::test_epub_with_metadata \neval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_book_processing.py::test_book_missing_chapter_file \neval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_edge_cases.py::test_output_to_existing_file \neval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_lang_option.py::test_lang_affects_messages \neval/tests/test_markdown_features.py::test_markdown_lists \neval/tests/test_edge_cases.py::test_nested_lists \neval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_rendering_options.py::test_rendering_highlight_syntect \neval/tests/test_rendering_options.py::test_rendering_with_cover \neval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_set_option.py::test_set_boolean_option \neval/tests/test_set_option.py::test_set_single_option \neval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_book_processing.py::test_book_empty_chapter_list \neval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_edge_cases.py::test_special_characters_in_title \neval/tests/test_markdown_features.py::test_markdown_emphasis \neval/tests/test_markdown_features.py::test_markdown_headings \neval/tests/test_rendering_options.py::test_tex_standalone_output \neval/tests/test_edge_cases.py::test_multiple_yaml_blocks \neval/tests/test_set_option.py::test_set_multiple_options \neval/tests/test_markdown_features.py::test_markdown_blockquotes \neval/tests/test_print_template.py::test_print_template_epub_chapter \neval/tests/test_print_template.py::test_print_template_html_css \neval/tests/test_single_file_rendering.py::test_single_stats \neval/tests/test_single_file_rendering.py::test_single_with_output_flag \neval/tests/test_output_formats.py::test_output_file_tex \neval/tests/test_lang_option.py::test_lang_with_book_processing \neval/tests/test_edge_cases.py::test_empty_markdown_file \neval/tests/test_print_template.py::test_print_template_invalid \neval/tests/test_print_template.py::test_print_template_multiple_types \neval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \neval/tests/test_edge_cases.py::test_very_long_content \neval/tests/test_output_formats.py::test_to_with_short_flag \neval/tests/test_edge_cases.py::test_book_with_no_title \neval/tests/test_list_options.py::test_list_options_shows_defaults \neval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_epub_generation.py::test_epub_version_2 \neval/tests/test_markdown_features.py::test_markdown_horizontal_rules \neval/tests/test_single_file_rendering.py::test_single_with_set_options \neval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_output_formats.py::test_to_tex_format \neval/tests/test_single_file_rendering.py::test_single_to_stdout \neval/tests/test_list_options.py::test_list_options_shows_descriptions \neval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_print_template.py::test_print_template_to_file \neval/tests/test_epub_generation.py::test_epub_output_basic \neval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \neval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_output_formats.py::test_to_html_format \neval/tests/test_single_file_rendering.py::test_single_without_yaml \neval/tests/test_set_option.py::test_set_output_path \neval/tests/test_rendering_options.py::test_rendering_numbering \neval/tests/test_lang_option.py::test_lang_option_french \neval/tests/test_output_formats.py::test_output_file_html \neval/tests/test_rendering_options.py::test_rendering_highlight_none \neval/tests/test_single_file_rendering.py::test_single_with_to_flag \neval/tests/test_rendering_options.py::test_rendering_inline_toc \neval/tests/test_epub_generation.py::test_epub_multiple_chapters \neval/tests/test_list_options.py::test_list_options_long_flag \neval/tests/test_rendering_options.py::test_html_dir_output \neval/tests/test_single_file.py::test_single_with_output_file \neval/tests/test_create_book.py::test_create_book_multiple_files \neval/tests/test_create_book.py::test_create_book_to_stdout \neval/tests/test_output_formats.py::test_invalid_format_shows_error \neval/tests/test_set_option.py::test_set_with_spaces_in_value \neval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_print_template.py::test_print_template_tex \neval/tests/test_single_file_rendering.py::test_single_with_blockquotes \neval/tests/test_output_formats.py::test_output_short_flag \neval/tests/test_edge_cases.py::test_malformed_yaml \neval/tests/test_list_options.py::test_list_options_short_flag \neval/tests/test_single_file_rendering.py::test_single_tex_output \neval/tests/test_single_file_rendering.py::test_single_render_to_epub \neval/tests/test_single_file_rendering.py::test_single_render_to_html \neval/tests/test_single_file.py::test_single_markdown_with_yaml_block \neval/tests/test_single_file_rendering.py::test_single_with_links \neval/tests/test_single_file.py::test_single_with_inline_yaml_variations \neval/tests/test_single_file.py::test_single_markdown_features \neval/tests/test_single_file.py::test_single_with_set_override \neval/tests/test_set_option.py::test_set_invalid_option \neval/tests/test_single_file.py::test_single_short_flag \n[gw18] [ 0%] PASSED eval/tests/test_basic_invocation.py::test_version_long_flag \n[gw17] [ 1%] PASSED eval/tests/test_basic_invocation.py::test_version_short_flag \n[gw11] [ 1%] PASSED eval/tests/test_actual_rendering.py::test_render_with_metadata \n[gw56] [ 2%] PASSED eval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw58] [ 3%] PASSED eval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_stats.py::test_stats_multiple_chapters \neval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw7] [ 3%] PASSED eval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \n[gw0] [ 4%] PASSED eval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw6] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_special_flags.py::test_combined_flags \neval/tests/test_special_flags.py::test_autograph_short_flag \n[gw3] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_with_to_flag_html \n[gw13] [ 6%] PASSED eval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_special_flags.py::test_force_emoji_flag \neval/tests/test_stats.py::test_stats_with_formatting \n[gw82] [ 7%] PASSED eval/tests/test_output_formats.py::test_html_dir_format \n[gw35] [ 7%] PASSED eval/tests/test_create_book.py::test_create_book_template_structure \n[gw77] [ 8%] PASSED eval/tests/test_output_formats.py::test_output_short_flag \n[gw111] [ 9%] PASSED eval/tests/test_single_file.py::test_single_with_set_override \n[gw109] [ 9%] PASSED eval/tests/test_single_file.py::test_single_with_output_file \n[gw78] [ 10%] PASSED eval/tests/test_output_formats.py::test_output_file_html \n[gw31] [ 10%] PASSED eval/tests/test_create_book.py::test_create_book_short_flag \n[gw28] [ 11%] PASSED eval/tests/test_book_processing.py::test_book_empty_chapter_list \n[gw46] [ 12%] PASSED eval/tests/test_edge_cases.py::test_output_to_existing_file \n[gw33] [ 12%] PASSED eval/tests/test_create_book.py::test_create_book_multiple_files \n[gw118] [ 13%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_output_flag \n[gw103] [ 14%] PASSED eval/tests/test_set_option.py::test_set_output_path \n[gw125] [ 14%] PASSED eval/tests/test_single_file_rendering.py::test_single_stats \n[gw24] [ 15%] PASSED eval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw117] [ 16%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_to_flag \n[gw124] [ 16%] PASSED eval/tests/test_single_file_rendering.py::test_single_without_yaml \n[gw30] [ 17%] PASSED eval/tests/test_create_book.py::test_create_book_to_stdout \n[gw17] [ 18%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw13] [ 18%] PASSED eval/tests/test_stats.py::test_stats_with_formatting \n[gw18] [ 19%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw11] [ 20%] PASSED eval/tests/test_stats.py::test_stats_multiple_chapters \n[gw60] [ 20%] FAILED eval/tests/test_list_options.py::test_list_options_long_flag \n[gw83] [ 21%] FAILED eval/tests/test_print_template.py::test_print_template_html_css \n[gw54] [ 21%] FAILED eval/tests/test_lang_option.py::test_lang_option_french \n[gw84] [ 22%] FAILED eval/tests/test_print_template.py::test_print_template_epub_css \n[gw5] [ 23%] FAILED eval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_special_flags.py::test_autograph_flag \n[gw24] [ 23%] PASSED eval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw53] [ 24%] FAILED eval/tests/test_lang_option.py::test_lang_option_english \n[gw55] [ 25%] FAILED eval/tests/test_lang_option.py::test_lang_short_flag \n[gw91] [ 25%] FAILED eval/tests/test_print_template.py::test_print_template_epub_chapter \n[gw12] [ 26%] FAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter \n[gw36] [ 27%] FAILED eval/tests/test_edge_cases.py::test_empty_markdown_file \n[gw85] [ 27%] FAILED eval/tests/test_print_template.py::test_print_template_tex \n[gw63] [ 28%] FAILED eval/tests/test_list_options.py::test_list_options_shows_defaults \neval/tests/test_stats.py::test_stats_empty_book \n[gw88] [ 29%] FAILED eval/tests/test_print_template.py::test_print_template_invalid \n[gw64] [ 29%] FAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions \n[gw14] [ 30%] FAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw15] [ 30%] FAILED eval/tests/test_basic_invocation.py::test_help_short_flag \n[gw47] [ 31%] FAILED eval/tests/test_epub_generation.py::test_epub_output_basic \n[gw49] [ 32%] FAILED eval/tests/test_epub_generation.py::test_epub_with_metadata \n[gw27] [ 32%] FAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file \n[gw107] [ 33%] FAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block \n[gw32] [ 34%] FAILED eval/tests/test_create_book.py::test_create_book_with_filename \n[gw21] [ 34%] FAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw19] [ 35%] FAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options \n[gw25] [ 36%] FAILED eval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw87] [ 36%] FAILED eval/tests/test_print_template.py::test_print_template_html_dir \n[gw93] [ 37%] FAILED eval/tests/test_rendering_options.py::test_rendering_numbering \neval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw86] [ 38%] FAILED eval/tests/test_print_template.py::test_print_template_html_standalone \n[gw38] [ 38%] FAILED eval/tests/test_edge_cases.py::test_unicode_content \neval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw9] [ 39%] FAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_stats.py::test_stats_long_flag \n[gw102] [ 40%] FAILED eval/tests/test_set_option.py::test_set_rendering_option \n[gw52] [ 40%] FAILED eval/tests/test_epub_generation.py::test_epub_version_3 \n[gw114] [ 41%] FAILED eval/tests/test_single_file.py::test_single_markdown_features \n[gw45] [ 41%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_author \n[gw69] [ 42%] FAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks \n[gw72] [ 43%] FAILED eval/tests/test_markdown_features.py::test_markdown_tables \n[gw16] [ 43%] FAILED eval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw42] [ 44%] FAILED eval/tests/test_edge_cases.py::test_mixed_list_types \n[gw22] [ 45%] FAILED eval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw70] [ 45%] FAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes \n[gw67] [ 46%] FAILED eval/tests/test_markdown_features.py::test_markdown_lists \n[gw61] [ 47%] FAILED eval/tests/test_list_options.py::test_list_options_short_flag \n[gw41] [ 47%] FAILED eval/tests/test_edge_cases.py::test_nested_lists \n[gw39] [ 48%] FAILED eval/tests/test_edge_cases.py::test_special_characters_in_title \n[gw96] [ 49%] FAILED eval/tests/test_rendering_options.py::test_rendering_with_cover \n[gw98] [ 49%] FAILED eval/tests/test_rendering_options.py::test_pdf_output_specified \n[gw6] [ 50%] FAILED eval/tests/test_special_flags.py::test_autograph_short_flag \n[gw26] [ 50%] FAILED eval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw116] [ 51%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub \n[gw120] [ 52%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options \n[gw89] [ 52%] FAILED eval/tests/test_print_template.py::test_print_template_to_file \n[gw4] [ 53%] FAILED eval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw92] [ 54%] FAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc \n[gw14] [ 54%] PASSED eval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw75] [ 55%] FAILED eval/tests/test_output_formats.py::test_to_tex_format \n[gw23] [ 56%] FAILED eval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw81] [ 56%] FAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error \n[gw0] [ 57%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw97] [ 58%] FAILED eval/tests/test_rendering_options.py::test_html_dir_output \n[gw25] [ 58%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw37] [ 59%] FAILED eval/tests/test_edge_cases.py::test_very_long_content \n[gw94] [ 60%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect \n[gw7] [ 60%] FAILED eval/tests/test_special_flags.py::test_combined_flags \n[gw48] [ 61%] FAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag \n[gw119] [ 61%] FAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout \n[gw110] [ 62%] FAILED eval/tests/test_single_file.py::test_single_without_yaml_block \n[gw79] [ 63%] FAILED eval/tests/test_output_formats.py::test_output_file_tex \n[gw122] [ 63%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_links \n[gw43] [ 64%] FAILED eval/tests/test_edge_cases.py::test_malformed_yaml \n[gw1] [ 65%] FAILED eval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_special_flags.py::test_no_fancy_flag \n[gw80] [ 65%] FAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error \n[gw62] [ 66%] FAILED eval/tests/test_list_options.py::test_list_options_shows_types \n[gw5] [ 67%] FAILED eval/tests/test_special_flags.py::test_autograph_flag \n[gw74] [ 67%] FAILED eval/tests/test_output_formats.py::test_to_html_format \n[gw106] [ 68%] FAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value \n[gw95] [ 69%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none \n[gw100] [ 69%] FAILED eval/tests/test_set_option.py::test_set_single_option \n[gw108] [ 70%] FAILED eval/tests/test_single_file.py::test_single_short_flag \n[gw59] [ 70%] FAILED eval/tests/test_lang_option.py::test_lang_with_book_processing \n[gw20] [ 71%] FAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw21] [ 72%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw29] [ 72%] FAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters \n[gw105] [ 73%] FAILED eval/tests/test_set_option.py::test_set_boolean_option \n[gw68] [ 74%] FAILED eval/tests/test_markdown_features.py::test_markdown_links \n[gw76] [ 74%] FAILED eval/tests/test_output_formats.py::test_to_with_short_flag \n[gw19] [ 75%] PASSED eval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw90] [ 76%] FAILED eval/tests/test_print_template.py::test_print_template_multiple_types \n[gw113] [ 76%] FAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations \n[gw40] [ 77%] FAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks \n[gw2] [ 78%] FAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw9] [ 78%] PASSED eval/tests/test_stats.py::test_stats_long_flag \n[gw101] [ 79%] FAILED eval/tests/test_set_option.py::test_set_multiple_options \n[gw8] [ 80%] FAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw8] [ 80%] FAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw126] [ 81%] FAILED eval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw1] [ 81%] FAILED eval/tests/test_special_flags.py::test_no_fancy_flag \n[gw104] [ 82%] FAILED eval/tests/test_set_option.py::test_set_invalid_option \n[gw73] [ 83%] FAILED eval/tests/test_markdown_features.py::test_markdown_footnotes \n[gw26] [ 83%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw57] [ 84%] FAILED eval/tests/test_lang_option.py::test_lang_affects_messages \n[gw121] [ 85%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \n[gw4] [ 85%] FAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw16] [ 86%] PASSED eval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw99] [ 87%] FAILED eval/tests/test_rendering_options.py::test_tex_standalone_output \n[gw65] [ 87%] FAILED eval/tests/test_markdown_features.py::test_markdown_headings \n[gw44] [ 88%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_title \n[gw51] [ 89%] FAILED eval/tests/test_epub_generation.py::test_epub_version_2 \n[gw34] [ 89%] FAILED eval/tests/test_create_book.py::test_create_book_file_already_exists \n[gw20] [ 90%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw115] [ 90%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html \n[gw15] [ 91%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw22] [ 92%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw71] [ 92%] FAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules \n[gw12] [ 93%] PASSED eval/tests/test_stats.py::test_stats_empty_book \n[gw123] [ 94%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes \n[gw127] [ 94%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \n[gw66] [ 95%] FAILED eval/tests/test_markdown_features.py::test_markdown_emphasis \n[gw3] [ 96%] FAILED eval/tests/test_special_flags.py::test_force_emoji_flag \n[gw112] [ 96%] FAILED eval/tests/test_single_file.py::test_single_tex_output \n[gw2] [ 97%] FAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw10] [ 98%] FAILED eval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_stats.py::test_stats_short_flag \n[gw10] [ 98%] PASSED eval/tests/test_stats.py::test_stats_short_flag \n[gw23] [ 99%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw50] [100%] FAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters \n\n=================================== FAILURES ===================================\n_________________________ test_list_options_long_flag __________________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError\n_________________________ test_print_template_html_css _________________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError\n___________________________ test_lang_option_french ____________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError\n_________________________ test_print_template_epub_css _________________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError\n____________________________ test_render_tex_output ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2btr80f1/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError\n___________________________ test_lang_option_english ___________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError\n_____________________________ test_lang_short_flag _____________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError\n_______________________ test_print_template_epub_chapter _______________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError\n______________________ test_render_error_missing_chapter _______________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError\n___________________________ test_empty_markdown_file ___________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8a3ruesq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError\n___________________________ test_print_template_tex ____________________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError\n_______________________ test_list_options_shows_defaults _______________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError\n_________________________ test_print_template_invalid __________________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError\n_____________________ test_list_options_shows_descriptions _____________________\n[gw64] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError\n________________________ test_no_arguments_shows_error _________________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError\n_____________________________ test_help_short_flag _____________________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError\n____________________________ test_epub_output_basic ____________________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpp8vvr37s/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError\n___________________________ test_epub_with_metadata ____________________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpa82q9b73/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError\n________________________ test_book_missing_chapter_file ________________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError\n_____________________ test_single_markdown_with_yaml_block _____________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp86ye0lwh/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError\n________________________ test_create_book_with_filename ________________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmppqhy7xoa/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError\n______________________ test_missing_book_file_shows_error ______________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError\n_________________________ test_help_shows_all_options __________________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError\n_____________________________ test_book_tex_output _____________________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError\n_________________________ test_print_template_html_dir _________________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError\n___________________________ test_rendering_numbering ___________________________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4z34et3u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError\n_____________________ test_print_template_html_standalone ______________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError\n_____________________________ test_unicode_content _____________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis \ud83d\ude00 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprxnahbn4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError\n_________________________ test_render_with_inline_toc __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

TOC Author

Book with TOC

\\n

Chapter 1
Chapter One

First content.

\\n
\\n

Chapter 2
Chapter Two

Second content.

\\n
'.count\n\neval/tests/test_actual_rendering.py:389: AssertionError\n__________________________ test_set_rendering_option ___________________________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwkq5dpcr/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError\n_____________________________ test_epub_version_3 ______________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp_29j8wzf/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError\n________________________ test_single_markdown_features _________________________\n[gw114] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmppmy3ki41/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError\n___________________________ test_book_with_no_author ___________________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp01e92qlv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError\n__________________________ test_markdown_code_blocks ___________________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa0sh69x0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError\n_____________________________ test_markdown_tables _____________________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcy47ihrw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError\n_____________________________ test_help_long_flag ______________________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError\n____________________________ test_mixed_list_types _____________________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp99lismfi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError\n_________________________ test_basic_book_html_output __________________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpta0no6c7/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError\n__________________________ test_markdown_blockquotes ___________________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvsqbzg_k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError\n_____________________________ test_markdown_lists ______________________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpv8lflt9u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError\n_________________________ test_list_options_short_flag _________________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError\n______________________________ test_nested_lists _______________________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphrlnwhr6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError\n_______________________ test_special_characters_in_title _______________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxd3vnedj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError\n__________________________ test_rendering_with_cover ___________________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpf656jey1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpf656jey1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError\n__________________________ test_pdf_output_specified ___________________________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError\n__________________________ test_autograph_short_flag ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpi9nhvhwt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpi9nhvhwt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError\n________________________ test_book_with_relative_paths _________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbu8q41f2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError\n__________________________ test_single_render_to_epub __________________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp_oug806o/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError\n_________________________ test_single_with_set_options _________________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2cq_chp9/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError\n_________________________ test_print_template_to_file __________________________\n[gw89] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError\n____________________________ test_render_to_stdout _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError\n__________________________ test_rendering_inline_toc ___________________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5a33ss50/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError\n______________________________ test_to_tex_format ______________________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError\n___________________________ test_book_with_metadata ____________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9rjyubja/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError\n______________________ test_output_without_to_shows_error ______________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError\n_____________________ test_single_render_multiple_formats ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmple5bxl6n/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError\n_____________________________ test_html_dir_output _____________________________\n[gw97] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpa6aswo7u/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError\n____________________________ test_very_long_content ____________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ld8jodt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError\n_______________________ test_rendering_highlight_syntect _______________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd16obr_o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd16obr_o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError\n_____________________________ test_combined_flags ______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpkymwz40g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError\n____________________________ test_epub_with_to_flag ____________________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmp31g1t65p/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError\n____________________________ test_single_to_stdout _____________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError\n________________________ test_single_without_yaml_block ________________________\n[gw110] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp4eo74z6i/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError\n_____________________________ test_output_file_tex _____________________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
' or b'\\\\begin' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
')\n\neval/tests/test_output_formats.py:71: AssertionError\n____________________________ test_single_with_links ____________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpxowfp5bn/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpxowfp5bn/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_____________________________ test_malformed_yaml ______________________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError\n____________________________ test_render_epub_basic ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpe8_o36lg/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError\n_______________________ test_invalid_format_shows_error ________________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError\n________________________ test_list_options_shows_types _________________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError\n_____________________________ test_autograph_flag ______________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpld76tt3i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpld76tt3i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError\n_____________________________ test_to_html_format ______________________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpc8csgz57/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError\n________________________ test_set_with_spaces_in_value _________________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp81prucev/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError\n________________________ test_rendering_highlight_none _________________________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp96an0f1q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError\n____________________________ test_set_single_option ____________________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppgs3dcb0/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppgs3dcb0/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError\n____________________________ test_single_short_flag ____________________________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpfn3cwln0/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError\n________________________ test_lang_with_book_processing ________________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpi7g6um1_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError\n_______________________ test_invalid_option_shows_error ________________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError\n_______________________ test_book_with_multiple_chapters _______________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ltz83gi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError\n___________________________ test_set_boolean_option ____________________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5s_d0iho/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError\n_____________________________ test_markdown_links ______________________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdmj7agce/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError\n___________________________ test_to_with_short_flag ____________________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj_699m_b/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError\n______________________ test_print_template_multiple_types ______________________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError\n___________________ test_single_with_inline_yaml_variations ____________________\n[gw113] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp3wzimghk/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError\n__________________________ test_multiple_yaml_blocks ___________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp858tdbxt/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError\n_________________________ test_render_multiple_formats _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpaf2nj95i/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError\n__________________________ test_set_multiple_options ___________________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvqiiu6nj/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError\n_________________________ test_render_with_cover_image _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp5f30aust/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError\n__________________________ test_verbose_with_no_fancy __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmp769ilykk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw126] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

\\n

--- author: LaTeX Author title: LaTeX Doc ---

\\n

Chapter 1
LaTeX Content

Some content with **bold**.

\\n
'\n\neval/tests/test_single_file_rendering.py:369: AssertionError\n______________________________ test_no_fancy_flag ______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpxxv6r5ml/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError\n___________________________ test_set_invalid_option ____________________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpblb7jcb8/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError\n___________________________ test_markdown_footnotes ____________________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbagslpdc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError\n____________________________ test_quiet_with_error _____________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError\n__________________________ test_lang_affects_messages __________________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError\n______________________ test_single_with_multiple_chapters ______________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpq1n25ln3/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpq1n25ln3/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_________________________ test_force_emoji_short_flag __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpxrthf60r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError\n__________________________ test_tex_standalone_output __________________________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyxdiym0r/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError\n____________________________ test_markdown_headings ____________________________\n[gw65] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp36iaae16/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError\n___________________________ test_book_with_no_title ____________________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprnrsp94n/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError\n_____________________________ test_epub_version_2 ______________________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0yx0dvwf/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError\n_____________________ test_create_book_file_already_exists _____________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError\n__________________________ test_single_render_to_html __________________________\n[gw115] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpun_ivsv8/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError\n________________________ test_markdown_horizontal_rules ________________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa9pb7at4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError\n_________________________ test_single_with_blockquotes _________________________\n[gw123] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpgrykpumg/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpgrykpumg/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_____________________ test_single_with_syntax_highlighting _____________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp2upz_c9f/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp2upz_c9f/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n____________________________ test_markdown_emphasis ____________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3bvpk5h7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError\n____________________________ test_force_emoji_flag _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test \ud83d\ude00\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpcwymcrno/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw112] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwlm11ysy/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwlm11ysy/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError\n___________________________ test_no_fancy_short_flag ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp6ybg_j_2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError\n_____________________________ test_render_html_dir _____________________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpe66exd3r/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError\n_______________________________ test_quiet_flag ________________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpsb2nv6e7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError\n_________________________ test_epub_multiple_chapters __________________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmyndawgh/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_list_options.py::test_list_options_long_flag - Asserti...\nFAILED eval/tests/test_print_template.py::test_print_template_html_css - Asse...\nFAILED eval/tests/test_lang_option.py::test_lang_option_french - AssertionErr...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_css - Asse...\nFAILED eval/tests/test_actual_rendering.py::test_render_tex_output - Assertio...\nFAILED eval/tests/test_lang_option.py::test_lang_option_english - AssertionEr...\nFAILED eval/tests/test_lang_option.py::test_lang_short_flag - AssertionError:...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_chapter - ...\nFAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter\nFAILED eval/tests/test_edge_cases.py::test_empty_markdown_file - AssertionErr...\nFAILED eval/tests/test_print_template.py::test_print_template_tex - Assertion...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_defaults - As...\nFAILED eval/tests/test_print_template.py::test_print_template_invalid - Asser...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions\nFAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error - A...\nFAILED eval/tests/test_basic_invocation.py::test_help_short_flag - AssertionE...\nFAILED eval/tests/test_epub_generation.py::test_epub_output_basic - Assertion...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_metadata - Assertio...\nFAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file - A...\nFAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block\nFAILED eval/tests/test_create_book.py::test_create_book_with_filename - Asser...\nFAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error\nFAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options - Ass...\nFAILED eval/tests/test_book_processing.py::test_book_tex_output - AssertionEr...\nFAILED eval/tests/test_print_template.py::test_print_template_html_dir - Asse...\nFAILED eval/tests/test_rendering_options.py::test_rendering_numbering - Asser...\nFAILED eval/tests/test_print_template.py::test_print_template_html_standalone\nFAILED eval/tests/test_edge_cases.py::test_unicode_content - AssertionError: ...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc - ass...\nFAILED eval/tests/test_set_option.py::test_set_rendering_option - AssertionEr...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_3 - AssertionErr...\nFAILED eval/tests/test_single_file.py::test_single_markdown_features - Assert...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_author - AssertionErr...\nFAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_tables - Assertion...\nFAILED eval/tests/test_basic_invocation.py::test_help_long_flag - AssertionEr...\nFAILED eval/tests/test_edge_cases.py::test_mixed_list_types - AssertionError:...\nFAILED eval/tests/test_book_processing.py::test_basic_book_html_output - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_lists - AssertionE...\nFAILED eval/tests/test_list_options.py::test_list_options_short_flag - Assert...\nFAILED eval/tests/test_edge_cases.py::test_nested_lists - AssertionError: ass...\nFAILED eval/tests/test_edge_cases.py::test_special_characters_in_title - Asse...\nFAILED eval/tests/test_rendering_options.py::test_rendering_with_cover - Asse...\nFAILED eval/tests/test_rendering_options.py::test_pdf_output_specified - Asse...\nFAILED eval/tests/test_special_flags.py::test_autograph_short_flag - Assertio...\nFAILED eval/tests/test_book_processing.py::test_book_with_relative_paths - As...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options\nFAILED eval/tests/test_print_template.py::test_print_template_to_file - Asser...\nFAILED eval/tests/test_actual_rendering.py::test_render_to_stdout - Assertion...\nFAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc - Asse...\nFAILED eval/tests/test_output_formats.py::test_to_tex_format - AssertionError...\nFAILED eval/tests/test_book_processing.py::test_book_with_metadata - Assertio...\nFAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats\nFAILED eval/tests/test_rendering_options.py::test_html_dir_output - Assertion...\nFAILED eval/tests/test_edge_cases.py::test_very_long_content - AssertionError...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect\nFAILED eval/tests/test_special_flags.py::test_combined_flags - AssertionError...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag - Assertion...\nFAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout - Asse...\nFAILED eval/tests/test_single_file.py::test_single_without_yaml_block - Asser...\nFAILED eval/tests/test_output_formats.py::test_output_file_tex - assert (b'\\\\...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_links - Fil...\nFAILED eval/tests/test_edge_cases.py::test_malformed_yaml - AssertionError: a...\nFAILED eval/tests/test_actual_rendering.py::test_render_epub_basic - Assertio...\nFAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error - A...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_types - Asser...\nFAILED eval/tests/test_special_flags.py::test_autograph_flag - AssertionError...\nFAILED eval/tests/test_output_formats.py::test_to_html_format - AssertionErro...\nFAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value - Asserti...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none - ...\nFAILED eval/tests/test_set_option.py::test_set_single_option - AssertionError...\nFAILED eval/tests/test_single_file.py::test_single_short_flag - AssertionErro...\nFAILED eval/tests/test_lang_option.py::test_lang_with_book_processing - Asser...\nFAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error\nFAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters\nFAILED eval/tests/test_set_option.py::test_set_boolean_option - AssertionErro...\nFAILED eval/tests/test_markdown_features.py::test_markdown_links - AssertionE...\nFAILED eval/tests/test_output_formats.py::test_to_with_short_flag - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_multiple_types\nFAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations\nFAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks - AssertionEr...\nFAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats - As...\nFAILED eval/tests/test_set_option.py::test_set_multiple_options - AssertionEr...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image - As...\nFAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy - Asserti...\nFAILED eval/tests/test_single_file_rendering.py::test_single_tex_output - ass...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_flag - AssertionError:...\nFAILED eval/tests/test_set_option.py::test_set_invalid_option - AssertionErro...\nFAILED eval/tests/test_markdown_features.py::test_markdown_footnotes - Assert...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error - AssertionErr...\nFAILED eval/tests/test_lang_option.py::test_lang_affects_messages - Assertion...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters\nFAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag - Assert...\nFAILED eval/tests/test_rendering_options.py::test_tex_standalone_output - Ass...\nFAILED eval/tests/test_markdown_features.py::test_markdown_headings - Asserti...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_title - AssertionErro...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_2 - AssertionErr...\nFAILED eval/tests/test_create_book.py::test_create_book_file_already_exists\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html\nFAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting\nFAILED eval/tests/test_markdown_features.py::test_markdown_emphasis - Asserti...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_flag - AssertionErr...\nFAILED eval/tests/test_single_file.py::test_single_tex_output - AssertionErro...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag - Assertion...\nFAILED eval/tests/test_actual_rendering.py::test_render_html_dir - AssertionE...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_flag - AssertionError: as...\nFAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters - Asse...\n======================== 112 failed, 43 passed in 4.25s ========================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.1524758119999774, "output": "temp_files = <conftest.TempFiles object at 0x7fb2a0b3e440>\n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdmj7agce/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionErrordef test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpe8_o36lg/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionErrordef test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpaf2nj95i/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionErrordef test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionErrordef test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpe66exd3r/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6d5f166320>\n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f6d5f60a1b0>()\nE + where <built-in method lower of bytes object at 0x7f6d5f60a1b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbagslpdc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f99ee04e3e0>\n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = <built-in method encode of str object at 0x7f99ee06a9f0>()\nE + where <built-in method encode of str object at 0x7f99ee06a9f0> = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ltz83gi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionErrordef test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f214a9923e0>\n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9rjyubja/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe6477123e0>\n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fe64770fc30>()\nE + where <built-in method lower of bytes object at 0x7fe64770fc30> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fe64770fc30>()\nE + where <built-in method lower of bytes object at 0x7fe64770fc30> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionErrordef test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6a85e5a590>\n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmppqhy7xoa/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionErrordef test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionErrordef test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionErrordef test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f221603a560>\n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp_29j8wzf/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fcefae72590>\n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa0sh69x0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionErrordef test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionErrordef test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionErrordef test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4925a36350>\n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp99lismfi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb4c2baa590>\n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprxnahbn4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff86f496590>\n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7ff86f4ab8f0>()\nE + where <built-in method lower of bytes object at 0x7ff86f4ab8f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7ff86f4ab8f0>()\nE + where <built-in method lower of bytes object at 0x7ff86f4ab8f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f805ccb6320>\n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcy47ihrw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f47283ca440>\n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpa82q9b73/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionErrordef test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f369663a560>\n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f3696660bf0>()\nE + where <built-in method lower of bytes object at 0x7f3696660bf0> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = <built-in method lower of bytes object at 0x7f369856c030>()\nE + where <built-in method lower of bytes object at 0x7f369856c030> = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f27b099a530>\n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp01e92qlv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionErrordef test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = <built-in method count of str object at 0x55c7b57771a0>('Chapter One')\nE + where <built-in method count of str object at 0x55c7b57771a0> = '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with TOC</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">TOC Author</h2><h1 class=\"title\">Book with TOC</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">First content.</p>\\n</div><div id=\"chapter-1\" class=\"chapter\">\\n<h1 id=\\'link-2\\'><span class=\"chapter-header\">Chapter 2</span><br />Chapter Two</h1><p id=\"para-2\">Second content.</p>\\n</div></div></div></body></html>'.count\n\neval/tests/test_actual_rendering.py:389: AssertionErrordef test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f956910e590>\n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbu8q41f2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionErrordef test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fec00fc63b0>\n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpv8lflt9u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4c3f3fa530>\n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp4eo74z6i/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f61487838e0>\n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphrlnwhr6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionErrordef test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2btr80f1/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ffaa6263fd0>\n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd16obr_o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd16obr_o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fca470be560>\n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5s_d0iho/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fcb4ba1e560>\n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppgs3dcb0/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppgs3dcb0/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5db39ce440>\n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = <function is_zipfile at 0x7f5db854e5f0>(PosixPath('/tmp/tmp31g1t65p/test.epub'))\nE + where <function is_zipfile at 0x7f5db854e5f0> = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionErrordef test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fafc87da530>\n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpta0no6c7/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionErrordef test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb06f09e2c0>\n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: <Special> 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxd3vnedj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd5aefca3e0>\n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3bvpk5h7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc0170c6530>\n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp36iaae16/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f68751860e0>\n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwkq5dpcr/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fcc92b6e440>\n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyxdiym0r/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3def2a2560>\n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp858tdbxt/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdef6a3e170>\n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvqiiu6nj/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3c1ada6590>\n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvsqbzg_k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionErrordef test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionErrordef test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe69928a560>\n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>' or b'\\\\begin' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>')\n\neval/tests/test_output_formats.py:71: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa670ed6110>\n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpi7g6um1_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionErrordef test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionErrordef test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp2upz_c9f/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp2upz_c9f/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortemp_files = <conftest.TempFiles object at 0x7fa0ec93a320>\n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ld8jodt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f89d38ea3e0>\n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj_699m_b/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f712a2e6440>\n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprnrsp94n/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionErrordef test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa3ec8d2530>\n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0yx0dvwf/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9c0f20e560>\n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa9pb7at4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionErrordef test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2cq_chp9/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9ac0d33fd0>\n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionErrordef test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8126bc2590>\n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionErrortemp_files = <conftest.TempFiles object at 0x7feb9fa1e440>\n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpp8vvr37s/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0ef02b22c0>\n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n' = <built-in method lower of bytes object at 0x7f0ef04e16b0>()\nE + where <built-in method lower of bytes object at 0x7f0ef04e16b0> = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionErrordef test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpq1n25ln3/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpq1n25ln3/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f59146a6530>\n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpc8csgz57/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f82a01cd210>\n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpf656jey1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpf656jey1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionErrordef test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb29efee3e0>\n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwlm11ysy/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwlm11ysy/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionErrordef test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa0aa776590>\n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp96an0f1q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f200cb02590>\n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5a33ss50/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa268b23c40>\n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmyndawgh/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionErrordef test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe7d7b1a440>\n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpa6aswo7u/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f57552aa560>\n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f57552d0bf0>()\nE + where <built-in method lower of bytes object at 0x7f57552d0bf0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f57552d0bf0>()\nE + where <built-in method lower of bytes object at 0x7f57552d0bf0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionErrordef test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp5f30aust/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6ef4a122c0>\n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp81prucev/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f202e6fa440>\n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fbc16db62c0>\n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8a3ruesq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionErrordef test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe1e067e320>\n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4z34et3u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionErrordef test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionErrordef test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpgrykpumg/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpgrykpumg/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortemp_files = <conftest.TempFiles object at 0x7ff767817fd0>\n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7ff767e59e30>()\nE + where <built-in method lower of bytes object at 0x7ff767e59e30> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionErrordef test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionErrordef test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<p id=\"para-1\">--- author: LaTeX Author title: LaTeX Doc ---</p>\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />LaTeX Content</h1><p id=\"para-2\">Some content with **bold**.</p>\\n</div></div></div></body></html>'\n\neval/tests/test_single_file_rendering.py:369: AssertionErrordef test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp_oug806o/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionErrordef test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpun_ivsv8/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f30bf23ffd0>\n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp86ye0lwh/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionErrordef test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpxowfp5bn/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpxowfp5bn/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortemp_files = <conftest.TempFiles object at 0x7f9bc7b22320>\n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp3wzimghk/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb38acc62c0>\n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmppmy3ki41/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc3460663e0>\n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fc346062cf0>()\nE + where <built-in method lower of bytes object at 0x7fc346062cf0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fc346062cf0>()\nE + where <built-in method lower of bytes object at 0x7fc346062cf0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpblb7jcb8/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9cba01a410>\n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpfn3cwln0/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionErrordef test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmple5bxl6n/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fcf54faee60>\n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpkymwz40g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionErrortemp_files = <conftest.TempFiles object at 0x7eff6df1cdf0>\n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpi9nhvhwt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpi9nhvhwt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe5ae550460>\n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpcwymcrno/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f58e6e7a650>\n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpld76tt3i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpld76tt3i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f95691638e0>\n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f9569179970>()\nE + where <built-in method lower of bytes object at 0x7f9569179970> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3161d74a00>\n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpxrthf60r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f214a9e38b0>\n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpsb2nv6e7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff11d5368c0>\n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpxxv6r5ml/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f387f1694b0>\n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp6ybg_j_2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3e3ad04ee0>\n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmp769ilykk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError", "returncode": 0, "exception_info": "", "branch": "coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_gen-20260325_104606"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.04865055900000925, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_judge-20260325_113215", "wall_time": 0.04951933600000302, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was e5bf735 coverage-test result\nHEAD is now at f698934 coverage-test result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.048935426000014104, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.045350960999996914, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.044914206999976614, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04369490100003759, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.903264080999975, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [155 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_epub_generation.py::test_epub_with_metadata \neval/tests/test_lang_option.py::test_lang_with_book_processing \neval/tests/test_epub_generation.py::test_epub_version_2 \neval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_print_template.py::test_print_template_html_dir \neval/tests/test_create_book.py::test_create_book_template_structure \neval/tests/test_edge_cases.py::test_empty_markdown_file \neval/tests/test_book_processing.py::test_book_with_multiple_chapters \neval/tests/test_set_option.py::test_set_single_option \neval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_list_options.py::test_list_options_shows_descriptions \neval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_epub_generation.py::test_epub_with_to_flag \neval/tests/test_output_formats.py::test_output_short_flag \neval/tests/test_create_book.py::test_create_book_with_filename \neval/tests/test_edge_cases.py::test_mixed_list_types \neval/tests/test_output_formats.py::test_to_with_short_flag \neval/tests/test_markdown_features.py::test_markdown_links \neval/tests/test_markdown_features.py::test_markdown_code_blocks \neval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_edge_cases.py::test_multiple_yaml_blocks \neval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_list_options.py::test_list_options_short_flag \neval/tests/test_list_options.py::test_list_options_shows_types \neval/tests/test_edge_cases.py::test_special_characters_in_title \neval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_print_template.py::test_print_template_tex \neval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_edge_cases.py::test_output_to_existing_file \neval/tests/test_lang_option.py::test_lang_option_english \neval/tests/test_set_option.py::test_set_output_path \neval/tests/test_set_option.py::test_set_rendering_option \neval/tests/test_set_option.py::test_set_boolean_option \neval/tests/test_output_formats.py::test_output_file_html \neval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_markdown_features.py::test_markdown_tables \neval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_epub_generation.py::test_epub_multiple_chapters \neval/tests/test_print_template.py::test_print_template_epub_css \neval/tests/test_markdown_features.py::test_markdown_headings \neval/tests/test_print_template.py::test_print_template_html_standalone \neval/tests/test_book_processing.py::test_book_missing_chapter_file \neval/tests/test_output_formats.py::test_output_without_to_shows_error \neval/tests/test_lang_option.py::test_lang_affects_messages \neval/tests/test_rendering_options.py::test_pdf_output_specified \neval/tests/test_rendering_options.py::test_rendering_with_cover \neval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_create_book.py::test_create_book_file_already_exists \neval/tests/test_set_option.py::test_set_with_spaces_in_value \neval/tests/test_single_file.py::test_single_markdown_with_yaml_block \neval/tests/test_single_file.py::test_single_short_flag \neval/tests/test_markdown_features.py::test_markdown_lists \neval/tests/test_edge_cases.py::test_book_with_no_title \neval/tests/test_output_formats.py::test_to_html_format \neval/tests/test_print_template.py::test_print_template_to_file \neval/tests/test_output_formats.py::test_to_tex_format \neval/tests/test_epub_generation.py::test_epub_output_basic \neval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_print_template.py::test_print_template_invalid \neval/tests/test_edge_cases.py::test_nested_lists \neval/tests/test_output_formats.py::test_html_dir_format \neval/tests/test_rendering_options.py::test_tex_standalone_output \neval/tests/test_book_processing.py::test_book_empty_chapter_list \neval/tests/test_markdown_features.py::test_markdown_emphasis \neval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_edge_cases.py::test_unicode_content \neval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_markdown_features.py::test_markdown_horizontal_rules \neval/tests/test_edge_cases.py::test_book_with_no_author \neval/tests/test_edge_cases.py::test_very_long_content \neval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_rendering_options.py::test_rendering_numbering \neval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_set_option.py::test_set_multiple_options \neval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_output_formats.py::test_output_file_tex \neval/tests/test_rendering_options.py::test_rendering_highlight_syntect \neval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_rendering_options.py::test_rendering_inline_toc \neval/tests/test_list_options.py::test_list_options_long_flag \neval/tests/test_print_template.py::test_print_template_epub_chapter \neval/tests/test_create_book.py::test_create_book_to_stdout \neval/tests/test_lang_option.py::test_lang_option_french \neval/tests/test_rendering_options.py::test_rendering_highlight_none \neval/tests/test_print_template.py::test_print_template_html_css \neval/tests/test_epub_generation.py::test_epub_version_3 \neval/tests/test_edge_cases.py::test_malformed_yaml \neval/tests/test_create_book.py::test_create_book_multiple_files \neval/tests/test_markdown_features.py::test_markdown_footnotes \neval/tests/test_output_formats.py::test_invalid_format_shows_error \neval/tests/test_print_template.py::test_print_template_multiple_types \neval/tests/test_lang_option.py::test_lang_short_flag \neval/tests/test_list_options.py::test_list_options_shows_defaults \neval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_set_option.py::test_set_invalid_option \neval/tests/test_markdown_features.py::test_markdown_blockquotes \neval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_rendering_options.py::test_html_dir_output \neval/tests/test_single_file_rendering.py::test_single_with_output_flag \neval/tests/test_single_file.py::test_single_with_output_file \neval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \neval/tests/test_single_file_rendering.py::test_single_render_to_html \neval/tests/test_single_file_rendering.py::test_single_with_to_flag \neval/tests/test_single_file_rendering.py::test_single_render_to_epub \neval/tests/test_single_file.py::test_single_markdown_features \neval/tests/test_single_file_rendering.py::test_single_to_stdout \neval/tests/test_single_file.py::test_single_without_yaml_block \neval/tests/test_single_file.py::test_single_tex_output \neval/tests/test_single_file_rendering.py::test_single_tex_output \neval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \neval/tests/test_single_file_rendering.py::test_single_without_yaml \neval/tests/test_single_file_rendering.py::test_single_with_blockquotes \neval/tests/test_single_file_rendering.py::test_single_with_set_options \n[gw28] [ 0%] PASSED eval/tests/test_book_processing.py::test_book_empty_chapter_list \neval/tests/test_single_file.py::test_single_with_set_override \neval/tests/test_single_file_rendering.py::test_single_stats \neval/tests/test_single_file.py::test_single_with_inline_yaml_variations \neval/tests/test_single_file_rendering.py::test_single_with_links \n[gw82] [ 1%] PASSED eval/tests/test_output_formats.py::test_html_dir_format \n[gw17] [ 1%] PASSED eval/tests/test_basic_invocation.py::test_version_short_flag \n[gw18] [ 2%] PASSED eval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw6] [ 3%] PASSED eval/tests/test_actual_rendering.py::test_render_with_options_set \n[gw0] [ 3%] PASSED eval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw56] [ 4%] PASSED eval/tests/test_lang_option.py::test_lang_with_version \n[gw7] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_special_flags.py::test_combined_flags \neval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw11] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_stats.py::test_stats_multiple_chapters \n[gw3] [ 6%] PASSED eval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_special_flags.py::test_force_emoji_flag \neval/tests/test_special_flags.py::test_autograph_short_flag \n[gw35] [ 7%] PASSED eval/tests/test_create_book.py::test_create_book_template_structure \n[gw13] [ 7%] PASSED eval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_stats.py::test_stats_with_formatting \n[gw24] [ 8%] PASSED eval/tests/test_book_processing.py::test_book_html_to_file \n[gw31] [ 9%] PASSED eval/tests/test_create_book.py::test_create_book_short_flag \n[gw58] [ 9%] PASSED eval/tests/test_lang_option.py::test_lang_invalid_code \n[gw30] [ 10%] PASSED eval/tests/test_create_book.py::test_create_book_to_stdout \n[gw78] [ 10%] PASSED eval/tests/test_output_formats.py::test_output_file_html \neval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw33] [ 11%] PASSED eval/tests/test_create_book.py::test_create_book_multiple_files \n[gw77] [ 12%] PASSED eval/tests/test_output_formats.py::test_output_short_flag \n[gw103] [ 12%] PASSED eval/tests/test_set_option.py::test_set_output_path \n[gw109] [ 13%] PASSED eval/tests/test_single_file.py::test_single_with_output_file \n[gw118] [ 14%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_output_flag \n[gw87] [ 14%] FAILED eval/tests/test_print_template.py::test_print_template_html_dir \n[gw111] [ 15%] PASSED eval/tests/test_single_file.py::test_single_with_set_override \n[gw46] [ 16%] PASSED eval/tests/test_edge_cases.py::test_output_to_existing_file \n[gw124] [ 16%] PASSED eval/tests/test_single_file_rendering.py::test_single_without_yaml \n[gw117] [ 17%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_to_flag \n[gw18] [ 18%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw125] [ 18%] PASSED eval/tests/test_single_file_rendering.py::test_single_stats \n[gw62] [ 19%] FAILED eval/tests/test_list_options.py::test_list_options_shows_types \n[gw91] [ 20%] FAILED eval/tests/test_print_template.py::test_print_template_epub_chapter \n[gw17] [ 20%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw32] [ 21%] FAILED eval/tests/test_create_book.py::test_create_book_with_filename \n[gw60] [ 21%] FAILED eval/tests/test_list_options.py::test_list_options_long_flag \n[gw19] [ 22%] FAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw11] [ 23%] PASSED eval/tests/test_stats.py::test_stats_multiple_chapters \n[gw13] [ 23%] PASSED eval/tests/test_stats.py::test_stats_with_formatting \n[gw83] [ 24%] FAILED eval/tests/test_print_template.py::test_print_template_html_css \n[gw53] [ 25%] FAILED eval/tests/test_lang_option.py::test_lang_option_english \n[gw89] [ 25%] FAILED eval/tests/test_print_template.py::test_print_template_to_file \n[gw15] [ 26%] FAILED eval/tests/test_basic_invocation.py::test_help_short_flag \n[gw24] [ 27%] PASSED eval/tests/test_verbose_quiet.py::test_quiet_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw96] [ 27%] FAILED eval/tests/test_rendering_options.py::test_rendering_with_cover \n[gw59] [ 28%] FAILED eval/tests/test_lang_option.py::test_lang_with_book_processing \n[gw2] [ 29%] FAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats \n[gw104] [ 29%] FAILED eval/tests/test_set_option.py::test_set_invalid_option \n[gw64] [ 30%] FAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions \neval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw42] [ 30%] FAILED eval/tests/test_edge_cases.py::test_mixed_list_types \n[gw40] [ 31%] FAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks \n[gw69] [ 32%] FAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks \n[gw61] [ 32%] FAILED eval/tests/test_list_options.py::test_list_options_short_flag \n[gw81] [ 33%] FAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error \n[gw16] [ 34%] FAILED eval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw54] [ 34%] FAILED eval/tests/test_lang_option.py::test_lang_option_french \n[gw75] [ 35%] FAILED eval/tests/test_output_formats.py::test_to_tex_format \n[gw66] [ 36%] FAILED eval/tests/test_markdown_features.py::test_markdown_emphasis \n[gw84] [ 36%] FAILED eval/tests/test_print_template.py::test_print_template_epub_css \n[gw72] [ 37%] FAILED eval/tests/test_markdown_features.py::test_markdown_tables \n[gw88] [ 38%] FAILED eval/tests/test_print_template.py::test_print_template_invalid \n[gw4] [ 38%] FAILED eval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw73] [ 39%] FAILED eval/tests/test_markdown_features.py::test_markdown_footnotes \n[gw100] [ 40%] FAILED eval/tests/test_set_option.py::test_set_single_option \n[gw85] [ 40%] FAILED eval/tests/test_print_template.py::test_print_template_tex \n[gw43] [ 41%] FAILED eval/tests/test_edge_cases.py::test_malformed_yaml \n[gw38] [ 41%] FAILED eval/tests/test_edge_cases.py::test_unicode_content \n[gw5] [ 42%] FAILED eval/tests/test_actual_rendering.py::test_render_tex_output \n[gw27] [ 43%] FAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file \n[gw21] [ 43%] FAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw63] [ 44%] FAILED eval/tests/test_list_options.py::test_list_options_shows_defaults \n[gw101] [ 45%] FAILED eval/tests/test_set_option.py::test_set_multiple_options \n[gw95] [ 45%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none \n[gw48] [ 46%] FAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag \n[gw67] [ 47%] FAILED eval/tests/test_markdown_features.py::test_markdown_lists \n[gw55] [ 47%] FAILED eval/tests/test_lang_option.py::test_lang_short_flag \n[gw14] [ 48%] FAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw65] [ 49%] FAILED eval/tests/test_markdown_features.py::test_markdown_headings \n[gw52] [ 49%] FAILED eval/tests/test_epub_generation.py::test_epub_version_3 \n[gw74] [ 50%] FAILED eval/tests/test_output_formats.py::test_to_html_format \n[gw116] [ 50%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub \n[gw70] [ 51%] FAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes \n[gw71] [ 52%] FAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules \n[gw80] [ 52%] FAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error \n[gw86] [ 53%] FAILED eval/tests/test_print_template.py::test_print_template_html_standalone \n[gw68] [ 54%] FAILED eval/tests/test_markdown_features.py::test_markdown_links \n[gw22] [ 54%] FAILED eval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw57] [ 55%] FAILED eval/tests/test_lang_option.py::test_lang_affects_messages \n[gw9] [ 56%] FAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_stats.py::test_stats_long_flag \n[gw8] [ 56%] FAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw0] [ 57%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw19] [ 58%] PASSED eval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw50] [ 58%] FAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters \n[gw37] [ 59%] FAILED eval/tests/test_edge_cases.py::test_very_long_content \n[gw12] [ 60%] FAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter \n[gw79] [ 60%] FAILED eval/tests/test_output_formats.py::test_output_file_tex \neval/tests/test_special_flags.py::test_autograph_flag \n[gw99] [ 61%] FAILED eval/tests/test_rendering_options.py::test_tex_standalone_output \n[gw90] [ 61%] FAILED eval/tests/test_print_template.py::test_print_template_multiple_types \n[gw29] [ 62%] FAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters \n[gw106] [ 63%] FAILED eval/tests/test_set_option.py::test_set_boolean_option \n[gw47] [ 63%] FAILED eval/tests/test_epub_generation.py::test_epub_output_basic \n[gw108] [ 64%] FAILED eval/tests/test_single_file.py::test_single_short_flag \n[gw112] [ 65%] FAILED eval/tests/test_single_file.py::test_single_tex_output \n[gw15] [ 65%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw26] [ 66%] FAILED eval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw49] [ 67%] FAILED eval/tests/test_epub_generation.py::test_epub_with_metadata \n[gw5] [ 67%] FAILED eval/tests/test_special_flags.py::test_autograph_flag \neval/tests/test_stats.py::test_stats_empty_book \n[gw21] [ 68%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw39] [ 69%] FAILED eval/tests/test_edge_cases.py::test_special_characters_in_title \n[gw23] [ 69%] FAILED eval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw119] [ 70%] FAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout \n[gw22] [ 70%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw115] [ 71%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html \n[gw93] [ 72%] FAILED eval/tests/test_rendering_options.py::test_rendering_numbering \n[gw41] [ 72%] FAILED eval/tests/test_edge_cases.py::test_nested_lists \n[gw105] [ 73%] FAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value \n[gw94] [ 74%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect \n[gw36] [ 74%] FAILED eval/tests/test_edge_cases.py::test_empty_markdown_file \n[gw113] [ 75%] FAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations \n[gw14] [ 76%] PASSED eval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw1] [ 76%] FAILED eval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_special_flags.py::test_no_fancy_flag \n[gw1] [ 77%] FAILED eval/tests/test_special_flags.py::test_no_fancy_flag \n[gw4] [ 78%] FAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw97] [ 78%] FAILED eval/tests/test_rendering_options.py::test_html_dir_output \n[gw3] [ 79%] FAILED eval/tests/test_special_flags.py::test_force_emoji_flag \n[gw126] [ 80%] FAILED eval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw7] [ 80%] FAILED eval/tests/test_special_flags.py::test_combined_flags \n[gw92] [ 81%] FAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc \n[gw34] [ 81%] FAILED eval/tests/test_create_book.py::test_create_book_file_already_exists \n[gw45] [ 82%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_author \n[gw76] [ 83%] FAILED eval/tests/test_output_formats.py::test_to_with_short_flag \n[gw8] [ 83%] FAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw98] [ 84%] FAILED eval/tests/test_rendering_options.py::test_pdf_output_specified \n[gw26] [ 85%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw16] [ 85%] PASSED eval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw20] [ 86%] FAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw20] [ 87%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw6] [ 87%] FAILED eval/tests/test_special_flags.py::test_autograph_short_flag \n[gw2] [ 88%] FAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw122] [ 89%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_links \n[gw120] [ 89%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options \n[gw110] [ 90%] FAILED eval/tests/test_single_file.py::test_single_without_yaml_block \n[gw51] [ 90%] FAILED eval/tests/test_epub_generation.py::test_epub_version_2 \n[gw9] [ 91%] PASSED eval/tests/test_stats.py::test_stats_long_flag \n[gw107] [ 92%] FAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block \n[gw12] [ 92%] PASSED eval/tests/test_stats.py::test_stats_empty_book \n[gw114] [ 93%] FAILED eval/tests/test_single_file.py::test_single_markdown_features \n[gw44] [ 94%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_title \n[gw10] [ 94%] FAILED eval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_stats.py::test_stats_short_flag \n[gw10] [ 95%] PASSED eval/tests/test_stats.py::test_stats_short_flag \n[gw127] [ 96%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \n[gw121] [ 96%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \n[gw102] [ 97%] FAILED eval/tests/test_set_option.py::test_set_rendering_option \n[gw23] [ 98%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw123] [ 98%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes \n[gw25] [ 99%] FAILED eval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw25] [100%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n\n=================================== FAILURES ===================================\n_________________________ test_print_template_html_dir _________________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError\n________________________ test_list_options_shows_types _________________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError\n_______________________ test_print_template_epub_chapter _______________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError\n________________________ test_create_book_with_filename ________________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp6_qj266m/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError\n_________________________ test_list_options_long_flag __________________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError\n_________________________ test_help_shows_all_options __________________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError\n_________________________ test_print_template_html_css _________________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError\n___________________________ test_lang_option_english ___________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError\n_________________________ test_print_template_to_file __________________________\n[gw89] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError\n_____________________________ test_help_short_flag _____________________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError\n__________________________ test_rendering_with_cover ___________________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyhgkvfr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyhgkvfr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError\n________________________ test_lang_with_book_processing ________________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpduypbpdp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError\n_________________________ test_render_multiple_formats _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3b8ur8y4/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError\n___________________________ test_set_invalid_option ____________________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphpy46nmi/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError\n_____________________ test_list_options_shows_descriptions _____________________\n[gw64] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError\n____________________________ test_mixed_list_types _____________________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo6cvuu9p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError\n__________________________ test_multiple_yaml_blocks ___________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpnz5_rxxq/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError\n__________________________ test_markdown_code_blocks ___________________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn2jwm1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError\n_________________________ test_list_options_short_flag _________________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError\n______________________ test_output_without_to_shows_error ______________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError\n_____________________________ test_help_long_flag ______________________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError\n___________________________ test_lang_option_french ____________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError\n______________________________ test_to_tex_format ______________________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError\n____________________________ test_markdown_emphasis ____________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6dhau4lk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError\n_________________________ test_print_template_epub_css _________________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError\n_____________________________ test_markdown_tables _____________________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplrt6j9ll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError\n_________________________ test_print_template_invalid __________________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError\n____________________________ test_render_to_stdout _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError\n___________________________ test_markdown_footnotes ____________________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzbf1njiw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError\n____________________________ test_set_single_option ____________________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg2zho4mc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg2zho4mc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError\n___________________________ test_print_template_tex ____________________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError\n_____________________________ test_malformed_yaml ______________________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError\n_____________________________ test_unicode_content _____________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis \ud83d\ude00 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy6eet3nb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError\n____________________________ test_render_tex_output ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpefefhtqd/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError\n________________________ test_book_missing_chapter_file ________________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError\n______________________ test_missing_book_file_shows_error ______________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError\n_______________________ test_list_options_shows_defaults _______________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError\n__________________________ test_set_multiple_options ___________________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwny4nfyv/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError\n________________________ test_rendering_highlight_none _________________________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzf1dnlsq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError\n____________________________ test_epub_with_to_flag ____________________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmphdxcy7hc/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError\n_____________________________ test_markdown_lists ______________________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo2xm6mdz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError\n_____________________________ test_lang_short_flag _____________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError\n________________________ test_no_arguments_shows_error _________________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError\n____________________________ test_markdown_headings ____________________________\n[gw65] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppe6xddps/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError\n_____________________________ test_epub_version_3 ______________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpx85sjr1v/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError\n_____________________________ test_to_html_format ______________________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmo2w19v_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError\n__________________________ test_single_render_to_epub __________________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp4g7wnisy/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError\n__________________________ test_markdown_blockquotes ___________________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps16q683a/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError\n________________________ test_markdown_horizontal_rules ________________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3b35l_rp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError\n_______________________ test_invalid_format_shows_error ________________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError\n_____________________ test_print_template_html_standalone ______________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError\n_____________________________ test_markdown_links ______________________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps95rl_d4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError\n_________________________ test_basic_book_html_output __________________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4vyfgojx/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError\n__________________________ test_lang_affects_messages __________________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError\n_________________________ test_render_with_inline_toc __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

TOC Author

Book with TOC

\\n

Chapter 1
Chapter One

First content.

\\n
\\n

Chapter 2
Chapter Two

Second content.

\\n
'.count\n\neval/tests/test_actual_rendering.py:389: AssertionError\n_________________________ test_render_with_cover_image _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp4ju27khd/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError\n_____________________ test_single_render_multiple_formats ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuqsqfx_l/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError\n_________________________ test_epub_multiple_chapters __________________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuk_tag1p/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError\n____________________________ test_very_long_content ____________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3c94oy2l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError\n______________________ test_render_error_missing_chapter _______________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError\n_____________________________ test_output_file_tex _____________________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
' or b'\\\\begin' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
')\n\neval/tests/test_output_formats.py:71: AssertionError\n__________________________ test_tex_standalone_output __________________________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp_n9ftixy/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError\n______________________ test_print_template_multiple_types ______________________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError\n_______________________ test_book_with_multiple_chapters _______________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvis9rpcw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError\n___________________________ test_set_boolean_option ____________________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgtxdv6od/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError\n____________________________ test_epub_output_basic ____________________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp02hkgpcy/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError\n____________________________ test_single_short_flag ____________________________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyfpeo0sp/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw112] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyqji9_1u/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyqji9_1u/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError\n________________________ test_book_with_relative_paths _________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgp6k_bs0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError\n___________________________ test_epub_with_metadata ____________________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpboqywgmr/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError\n_____________________________ test_autograph_flag ______________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpoymcio6f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpoymcio6f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError\n_______________________ test_special_characters_in_title _______________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1nbhhm5q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError\n___________________________ test_book_with_metadata ____________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvupv81w8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError\n____________________________ test_single_to_stdout _____________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError\n__________________________ test_single_render_to_html __________________________\n[gw115] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpq0zmkfu8/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError\n___________________________ test_rendering_numbering ___________________________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp228i4auh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError\n______________________________ test_nested_lists _______________________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_q7x99da/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError\n________________________ test_set_with_spaces_in_value _________________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8vg8e0wf/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError\n_______________________ test_rendering_highlight_syntect _______________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps3stti6g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps3stti6g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError\n___________________________ test_empty_markdown_file ___________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0oa1um98/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError\n___________________ test_single_with_inline_yaml_variations ____________________\n[gw113] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpcoswb0qt/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError\n____________________________ test_render_epub_basic ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0akcb1v7/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError\n______________________________ test_no_fancy_flag ______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpzhr25ytg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError\n_________________________ test_force_emoji_short_flag __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpmfs_5t8n/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError\n_____________________________ test_html_dir_output _____________________________\n[gw97] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpazkflagu/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError\n____________________________ test_force_emoji_flag _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test \ud83d\ude00\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpye2wb3id/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw126] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

\\n

--- author: LaTeX Author title: LaTeX Doc ---

\\n

Chapter 1
LaTeX Content

Some content with **bold**.

\\n
'\n\neval/tests/test_single_file_rendering.py:369: AssertionError\n_____________________________ test_combined_flags ______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmp9wu05img/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError\n__________________________ test_rendering_inline_toc ___________________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcbhd4eie/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError\n_____________________ test_create_book_file_already_exists _____________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError\n___________________________ test_book_with_no_author ___________________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqjmv8x1e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError\n___________________________ test_to_with_short_flag ____________________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphpn1qg76/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError\n__________________________ test_verbose_with_no_fancy __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpwvsc0k7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError\n__________________________ test_pdf_output_specified ___________________________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError\n____________________________ test_quiet_with_error _____________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError\n_______________________ test_invalid_option_shows_error ________________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError\n__________________________ test_autograph_short_flag ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpps123uua/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpps123uua/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError\n___________________________ test_no_fancy_short_flag ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpx82njfnn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError\n____________________________ test_single_with_links ____________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp39j_jb1x/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp39j_jb1x/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_________________________ test_single_with_set_options _________________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpb4fgls3_/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError\n________________________ test_single_without_yaml_block ________________________\n[gw110] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp0irjs1ep/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError\n_____________________________ test_epub_version_2 ______________________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp43hvl65z/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError\n_____________________ test_single_markdown_with_yaml_block _____________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpu2nja12r/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError\n________________________ test_single_markdown_features _________________________\n[gw114] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp2dzx85mp/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError\n___________________________ test_book_with_no_title ____________________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkwbl5ear/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError\n_____________________________ test_render_html_dir _____________________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpfigqt3mo/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError\n_____________________ test_single_with_syntax_highlighting _____________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpqbsf_ow7/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpqbsf_ow7/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n______________________ test_single_with_multiple_chapters ______________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpnw20sp_a/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpnw20sp_a/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n__________________________ test_set_rendering_option ___________________________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcwc7utnk/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError\n_______________________________ test_quiet_flag ________________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpq4gcjylf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError\n_________________________ test_single_with_blockquotes _________________________\n[gw123] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp1cgy422j/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp1cgy422j/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_____________________________ test_book_tex_output _____________________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_print_template.py::test_print_template_html_dir - Asse...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_types - Asser...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_chapter - ...\nFAILED eval/tests/test_create_book.py::test_create_book_with_filename - Asser...\nFAILED eval/tests/test_list_options.py::test_list_options_long_flag - Asserti...\nFAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options - Ass...\nFAILED eval/tests/test_print_template.py::test_print_template_html_css - Asse...\nFAILED eval/tests/test_lang_option.py::test_lang_option_english - AssertionEr...\nFAILED eval/tests/test_print_template.py::test_print_template_to_file - Asser...\nFAILED eval/tests/test_basic_invocation.py::test_help_short_flag - AssertionE...\nFAILED eval/tests/test_rendering_options.py::test_rendering_with_cover - Asse...\nFAILED eval/tests/test_lang_option.py::test_lang_with_book_processing - Asser...\nFAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats - As...\nFAILED eval/tests/test_set_option.py::test_set_invalid_option - AssertionErro...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions\nFAILED eval/tests/test_edge_cases.py::test_mixed_list_types - AssertionError:...\nFAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks - AssertionEr...\nFAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks - Asse...\nFAILED eval/tests/test_list_options.py::test_list_options_short_flag - Assert...\nFAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error\nFAILED eval/tests/test_basic_invocation.py::test_help_long_flag - AssertionEr...\nFAILED eval/tests/test_lang_option.py::test_lang_option_french - AssertionErr...\nFAILED eval/tests/test_output_formats.py::test_to_tex_format - AssertionError...\nFAILED eval/tests/test_markdown_features.py::test_markdown_emphasis - Asserti...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_css - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_tables - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_invalid - Asser...\nFAILED eval/tests/test_actual_rendering.py::test_render_to_stdout - Assertion...\nFAILED eval/tests/test_markdown_features.py::test_markdown_footnotes - Assert...\nFAILED eval/tests/test_set_option.py::test_set_single_option - AssertionError...\nFAILED eval/tests/test_print_template.py::test_print_template_tex - Assertion...\nFAILED eval/tests/test_edge_cases.py::test_malformed_yaml - AssertionError: a...\nFAILED eval/tests/test_edge_cases.py::test_unicode_content - AssertionError: ...\nFAILED eval/tests/test_actual_rendering.py::test_render_tex_output - Assertio...\nFAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file - A...\nFAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error\nFAILED eval/tests/test_list_options.py::test_list_options_shows_defaults - As...\nFAILED eval/tests/test_set_option.py::test_set_multiple_options - AssertionEr...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none - ...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag - Assertion...\nFAILED eval/tests/test_markdown_features.py::test_markdown_lists - AssertionE...\nFAILED eval/tests/test_lang_option.py::test_lang_short_flag - AssertionError:...\nFAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error - A...\nFAILED eval/tests/test_markdown_features.py::test_markdown_headings - Asserti...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_3 - AssertionErr...\nFAILED eval/tests/test_output_formats.py::test_to_html_format - AssertionErro...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub\nFAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules\nFAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error - A...\nFAILED eval/tests/test_print_template.py::test_print_template_html_standalone\nFAILED eval/tests/test_markdown_features.py::test_markdown_links - AssertionE...\nFAILED eval/tests/test_book_processing.py::test_basic_book_html_output - Asse...\nFAILED eval/tests/test_lang_option.py::test_lang_affects_messages - Assertion...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc - ass...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image - As...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats\nFAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters - Asse...\nFAILED eval/tests/test_edge_cases.py::test_very_long_content - AssertionError...\nFAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter\nFAILED eval/tests/test_output_formats.py::test_output_file_tex - assert (b'\\\\...\nFAILED eval/tests/test_rendering_options.py::test_tex_standalone_output - Ass...\nFAILED eval/tests/test_print_template.py::test_print_template_multiple_types\nFAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters\nFAILED eval/tests/test_set_option.py::test_set_boolean_option - AssertionErro...\nFAILED eval/tests/test_epub_generation.py::test_epub_output_basic - Assertion...\nFAILED eval/tests/test_single_file.py::test_single_short_flag - AssertionErro...\nFAILED eval/tests/test_single_file.py::test_single_tex_output - AssertionErro...\nFAILED eval/tests/test_book_processing.py::test_book_with_relative_paths - As...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_metadata - Assertio...\nFAILED eval/tests/test_special_flags.py::test_autograph_flag - AssertionError...\nFAILED eval/tests/test_edge_cases.py::test_special_characters_in_title - Asse...\nFAILED eval/tests/test_book_processing.py::test_book_with_metadata - Assertio...\nFAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout - Asse...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html\nFAILED eval/tests/test_rendering_options.py::test_rendering_numbering - Asser...\nFAILED eval/tests/test_edge_cases.py::test_nested_lists - AssertionError: ass...\nFAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value - Asserti...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect\nFAILED eval/tests/test_edge_cases.py::test_empty_markdown_file - AssertionErr...\nFAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations\nFAILED eval/tests/test_actual_rendering.py::test_render_epub_basic - Assertio...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_flag - AssertionError:...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag - Assert...\nFAILED eval/tests/test_rendering_options.py::test_html_dir_output - Assertion...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_flag - AssertionErr...\nFAILED eval/tests/test_single_file_rendering.py::test_single_tex_output - ass...\nFAILED eval/tests/test_special_flags.py::test_combined_flags - AssertionError...\nFAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc - Asse...\nFAILED eval/tests/test_create_book.py::test_create_book_file_already_exists\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_author - AssertionErr...\nFAILED eval/tests/test_output_formats.py::test_to_with_short_flag - Assertion...\nFAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy - Asserti...\nFAILED eval/tests/test_rendering_options.py::test_pdf_output_specified - Asse...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error - AssertionErr...\nFAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error\nFAILED eval/tests/test_special_flags.py::test_autograph_short_flag - Assertio...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag - Assertion...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_links - Fil...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options\nFAILED eval/tests/test_single_file.py::test_single_without_yaml_block - Asser...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_2 - AssertionErr...\nFAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block\nFAILED eval/tests/test_single_file.py::test_single_markdown_features - Assert...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_title - AssertionErro...\nFAILED eval/tests/test_actual_rendering.py::test_render_html_dir - AssertionE...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters\nFAILED eval/tests/test_set_option.py::test_set_rendering_option - AssertionEr...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_flag - AssertionError: as...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes\nFAILED eval/tests/test_book_processing.py::test_book_tex_output - AssertionEr...\n======================== 112 failed, 43 passed in 4.28s ========================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.18185432999996465, "output": "def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpefefhtqd/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa99a5923e0>\n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = <built-in method encode of str object at 0x7fa99a5ae5b0>()\nE + where <built-in method encode of str object at 0x7fa99a5ae5b0> = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvis9rpcw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionErrordef test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpfigqt3mo/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionErrordef test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionErrordef test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3b8ur8y4/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa8390ca410>\n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = <function is_zipfile at 0x7fa839c465f0>(PosixPath('/tmp/tmphdxcy7hc/test.epub'))\nE + where <function is_zipfile at 0x7fa839c465f0> = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd5a6fc6590>\n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp6_qj266m/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd3019d63e0>\n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo6cvuu9p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9b658c6530>\n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphpn1qg76/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0821c6e530>\n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps95rl_d4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f88c41ea3e0>\n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn2jwm1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc535c7e3e0>\n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0625b8e560>\n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpnz5_rxxq/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionErrordef test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionErrordef test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe50f233fd0>\n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: <Special> 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1nbhhm5q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionErrordef test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionErrordef test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0akcb1v7/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionErrordef test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7efc2846a0b0>\n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp43hvl65z/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionErrordef test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fca9ff76590>\n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcwc7utnk/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f56c6fc23e0>\n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgtxdv6od/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionErrordef test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fcaa2d52590>\n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplrt6j9ll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdd2a6cbc70>\n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuk_tag1p/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionErrordef test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f07de22a590>\n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppe6xddps/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionErrordef test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f02c6217c70>\n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f02c60c53b0>()\nE + where <built-in method lower of bytes object at 0x7f02c60c53b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = <built-in method lower of bytes object at 0x7f02c7d60030>()\nE + where <built-in method lower of bytes object at 0x7f02c7d60030> = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f64879f2440>\n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f64879efb70>()\nE + where <built-in method lower of bytes object at 0x7f64879efb70> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f64879efb70>()\nE + where <built-in method lower of bytes object at 0x7f64879efb70> = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionErrordef test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdbaeaca440>\n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fdbaeaf4bb0>()\nE + where <built-in method lower of bytes object at 0x7fdbaeaf4bb0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fdbaeaf4bb0>()\nE + where <built-in method lower of bytes object at 0x7fdbaeaf4bb0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8fb759e440>\n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyhgkvfr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyhgkvfr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionErrordef test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f27f204a7d0>\n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpduypbpdp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd4cf5e27d0>\n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n' = <built-in method lower of bytes object at 0x7fd4cf9fd6b0>()\nE + where <built-in method lower of bytes object at 0x7fd4cf9fd6b0> = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2c2f6a2560>\n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8vg8e0wf/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd560b6a440>\n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpu2nja12r/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc1b4662170>\n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyfpeo0sp/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fac77ecfc10>\n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo2xm6mdz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4c7d27a440>\n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0oa1um98/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5a891aa440>\n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkwbl5ear/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0341dba3e0>\n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg2zho4mc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg2zho4mc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fee4eb52440>\n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmo2w19v_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f537b716530>\n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f16dca4e530>\n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f75b9fb23e0>\n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp02hkgpcy/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionErrordef test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionErrordef test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionErrordef test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = <built-in method count of str object at 0x55caa01e71a0>('Chapter One')\nE + where <built-in method count of str object at 0x55caa01e71a0> = '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with TOC</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">TOC Author</h2><h1 class=\"title\">Book with TOC</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">First content.</p>\\n</div><div id=\"chapter-1\" class=\"chapter\">\\n<h1 id=\\'link-2\\'><span class=\"chapter-header\">Chapter 2</span><br />Chapter Two</h1><p id=\"para-2\">Second content.</p>\\n</div></div></div></body></html>'.count\n\neval/tests/test_actual_rendering.py:389: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f004ab1e530>\n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_q7x99da/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8bd84823e0>\n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6dhau4lk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionErrordef test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdcc22a23e0>\n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy6eet3nb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fde7bbfa3b0>\n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvupv81w8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd16dfd23e0>\n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3b35l_rp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc0501fa440>\n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqjmv8x1e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f59bff3a530>\n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3c94oy2l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f955636a3e0>\n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgp6k_bs0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionErrordef test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionErrordef test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f14c7e26440>\n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp228i4auh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7216cfa530>\n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwny4nfyv/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionErrordef test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7d4888a440>\n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>' or b'\\\\begin' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>')\n\neval/tests/test_output_formats.py:71: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2f9ce62590>\n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps3stti6g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps3stti6g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionErrordef test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp4ju27khd/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd4d237e530>\n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcbhd4eie/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionErrordef test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionErrordef test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionErrordef test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8982a563e0>\n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzf1dnlsq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f773304e440>\n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpboqywgmr/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionErrordef test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4866c2a500>\n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpx85sjr1v/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6944c520e0>\n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f6944c4abf0>()\nE + where <built-in method lower of bytes object at 0x7f6944c4abf0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f108f2923e0>\n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f108f73a1b0>()\nE + where <built-in method lower of bytes object at 0x7f108f73a1b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzbf1njiw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2e4ff62530>\n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f2e4ff5e0b0>()\nE + where <built-in method lower of bytes object at 0x7f2e4ff5e0b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f2e4ff5e0b0>()\nE + where <built-in method lower of bytes object at 0x7f2e4ff5e0b0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionErrordef test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionErrordef test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionErrordef test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionErrordef test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f450bc26590>\n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp_n9ftixy/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe7c9f663e0>\n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4vyfgojx/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f742a73e440>\n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f742aa242f0>()\nE + where <built-in method lower of bytes object at 0x7f742aa242f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f742aa242f0>()\nE + where <built-in method lower of bytes object at 0x7f742aa242f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphpy46nmi/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionErrortemp_files = <conftest.TempFiles object at 0x7faebc912320>\n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps16q683a/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f68d7fdfc10>\n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpazkflagu/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionErrordef test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpq0zmkfu8/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionErrordef test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp4g7wnisy/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f22aedfbfd0>\n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp2dzx85mp/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionErrordef test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fc52477a2c0>\n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp0irjs1ep/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4938cb63e0>\n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyqji9_1u/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyqji9_1u/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionErrordef test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<p id=\"para-1\">--- author: LaTeX Author title: LaTeX Doc ---</p>\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />LaTeX Content</h1><p id=\"para-2\">Some content with **bold**.</p>\\n</div></div></div></body></html>'\n\neval/tests/test_single_file_rendering.py:369: AssertionErrordef test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpqbsf_ow7/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpqbsf_ow7/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp1cgy422j/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp1cgy422j/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpb4fgls3_/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionErrordef test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpnw20sp_a/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpnw20sp_a/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortemp_files = <conftest.TempFiles object at 0x7f47424c6590>\n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpcoswb0qt/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionErrordef test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp39j_jb1x/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp39j_jb1x/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuqsqfx_l/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f32e160b6a0>\n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmp9wu05img/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f86c1ce0190>\n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpye2wb3id/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fce80f55ea0>\n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpps123uua/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpps123uua/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4e100afdc0>\n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpx82njfnn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ffba0cca800>\n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpmfs_5t8n/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd352484a30>\n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpwvsc0k7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb05b42a320>\n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpoymcio6f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpoymcio6f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f955636b9a0>\n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f95563d1b70>()\nE + where <built-in method lower of bytes object at 0x7f95563d1b70> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fde7bc478e0>\n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpq4gcjylf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdda6cc2890>\n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpzhr25ytg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError", "returncode": 0, "exception_info": "", "branch": "coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter4_judge-20260325_113215"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.04843797099999847, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_gen-20260325_115907", "wall_time": 0.06317018499998994, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was f698934 coverage-test result\nHEAD is now at 2846b46 coverage-test result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.0476781140000071, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04673765800004048, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.04724417200003472, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.044010060999994494, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.899401889999979, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [155 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_create_book.py::test_create_book_template_structure \neval/tests/test_edge_cases.py::test_book_with_no_author \neval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_create_book.py::test_create_book_file_already_exists \neval/tests/test_markdown_features.py::test_markdown_footnotes \neval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_epub_generation.py::test_epub_output_basic \neval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_create_book.py::test_create_book_multiple_files \neval/tests/test_epub_generation.py::test_epub_with_metadata \neval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_edge_cases.py::test_book_with_no_title \neval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_epub_generation.py::test_epub_multiple_chapters \neval/tests/test_output_formats.py::test_to_tex_format \neval/tests/test_book_processing.py::test_book_empty_chapter_list \neval/tests/test_markdown_features.py::test_markdown_blockquotes \neval/tests/test_markdown_features.py::test_markdown_horizontal_rules \neval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_epub_generation.py::test_epub_version_2 \neval/tests/test_edge_cases.py::test_multiple_yaml_blocks \neval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_markdown_features.py::test_markdown_code_blocks \neval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_edge_cases.py::test_nested_lists \neval/tests/test_edge_cases.py::test_empty_markdown_file \neval/tests/test_edge_cases.py::test_very_long_content \neval/tests/test_epub_generation.py::test_epub_with_to_flag \neval/tests/test_list_options.py::test_list_options_short_flag \neval/tests/test_edge_cases.py::test_unicode_content \neval/tests/test_lang_option.py::test_lang_short_flag \neval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_edge_cases.py::test_malformed_yaml \neval/tests/test_markdown_features.py::test_markdown_tables \neval/tests/test_list_options.py::test_list_options_long_flag \neval/tests/test_edge_cases.py::test_output_to_existing_file \neval/tests/test_lang_option.py::test_lang_option_french \neval/tests/test_edge_cases.py::test_special_characters_in_title \neval/tests/test_output_formats.py::test_to_with_short_flag \neval/tests/test_output_formats.py::test_output_file_html \neval/tests/test_create_book.py::test_create_book_to_stdout \neval/tests/test_markdown_features.py::test_markdown_lists \neval/tests/test_markdown_features.py::test_markdown_headings \neval/tests/test_output_formats.py::test_output_short_flag \neval/tests/test_markdown_features.py::test_markdown_emphasis \neval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_list_options.py::test_list_options_shows_types \neval/tests/test_book_processing.py::test_book_with_multiple_chapters \neval/tests/test_create_book.py::test_create_book_with_filename \neval/tests/test_book_processing.py::test_book_missing_chapter_file \neval/tests/test_lang_option.py::test_lang_option_english \neval/tests/test_epub_generation.py::test_epub_version_3 \neval/tests/test_markdown_features.py::test_markdown_links \neval/tests/test_list_options.py::test_list_options_shows_descriptions \neval/tests/test_lang_option.py::test_lang_with_book_processing \neval/tests/test_output_formats.py::test_invalid_format_shows_error \neval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_output_formats.py::test_to_html_format \neval/tests/test_list_options.py::test_list_options_shows_defaults \neval/tests/test_edge_cases.py::test_mixed_list_types \neval/tests/test_output_formats.py::test_output_file_tex \neval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_lang_option.py::test_lang_affects_messages \neval/tests/test_output_formats.py::test_output_without_to_shows_error \neval/tests/test_output_formats.py::test_html_dir_format \neval/tests/test_print_template.py::test_print_template_html_css \neval/tests/test_print_template.py::test_print_template_epub_css \neval/tests/test_print_template.py::test_print_template_invalid \neval/tests/test_print_template.py::test_print_template_epub_chapter \neval/tests/test_rendering_options.py::test_rendering_numbering \neval/tests/test_print_template.py::test_print_template_html_dir \neval/tests/test_rendering_options.py::test_rendering_inline_toc \n[gw6] [ 0%] PASSED eval/tests/test_actual_rendering.py::test_render_with_options_set \n[gw58] [ 1%] PASSED eval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_rendering_options.py::test_rendering_highlight_syntect \neval/tests/test_rendering_options.py::test_rendering_with_cover \neval/tests/test_rendering_options.py::test_html_dir_output \neval/tests/test_rendering_options.py::test_tex_standalone_output \neval/tests/test_set_option.py::test_set_single_option \neval/tests/test_single_file.py::test_single_markdown_with_yaml_block \neval/tests/test_print_template.py::test_print_template_to_file \neval/tests/test_rendering_options.py::test_rendering_highlight_none \neval/tests/test_special_flags.py::test_autograph_short_flag \n[gw11] [ 1%] PASSED eval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_single_file.py::test_single_short_flag \neval/tests/test_set_option.py::test_set_output_path \neval/tests/test_single_file.py::test_single_with_output_file \neval/tests/test_set_option.py::test_set_boolean_option \n[gw35] [ 2%] PASSED eval/tests/test_create_book.py::test_create_book_template_structure \n[gw31] [ 3%] PASSED eval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_print_template.py::test_print_template_html_standalone \n[gw18] [ 3%] PASSED eval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \neval/tests/test_single_file.py::test_single_markdown_features \n[gw7] [ 4%] PASSED eval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_special_flags.py::test_combined_flags \n[gw56] [ 5%] PASSED eval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_print_template.py::test_print_template_tex \neval/tests/test_stats.py::test_stats_multiple_chapters \neval/tests/test_set_option.py::test_set_rendering_option \n[gw24] [ 5%] PASSED eval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_verbose_quiet.py::test_quiet_short_flag \neval/tests/test_single_file.py::test_single_with_inline_yaml_variations \n[gw0] [ 6%] PASSED eval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \neval/tests/test_set_option.py::test_set_multiple_options \n[gw28] [ 7%] PASSED eval/tests/test_book_processing.py::test_book_empty_chapter_list \neval/tests/test_rendering_options.py::test_pdf_output_specified \neval/tests/test_single_file_rendering.py::test_single_render_to_html \n[gw78] [ 7%] PASSED eval/tests/test_output_formats.py::test_output_file_html \neval/tests/test_single_file.py::test_single_with_set_override \neval/tests/test_set_option.py::test_set_with_spaces_in_value \n[gw46] [ 8%] PASSED eval/tests/test_edge_cases.py::test_output_to_existing_file \neval/tests/test_print_template.py::test_print_template_multiple_types \n[gw17] [ 9%] PASSED eval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \neval/tests/test_single_file_rendering.py::test_single_with_to_flag \neval/tests/test_single_file.py::test_single_without_yaml_block \n[gw3] [ 9%] PASSED eval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_special_flags.py::test_force_emoji_flag \neval/tests/test_single_file_rendering.py::test_single_render_to_epub \neval/tests/test_single_file.py::test_single_tex_output \n[gw33] [ 10%] PASSED eval/tests/test_create_book.py::test_create_book_multiple_files \neval/tests/test_set_option.py::test_set_invalid_option \n[gw77] [ 10%] PASSED eval/tests/test_output_formats.py::test_output_short_flag \n[gw30] [ 11%] PASSED eval/tests/test_create_book.py::test_create_book_to_stdout \n[gw13] [ 12%] PASSED eval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_stats.py::test_stats_with_formatting \neval/tests/test_single_file_rendering.py::test_single_to_stdout \neval/tests/test_single_file_rendering.py::test_single_with_output_flag \neval/tests/test_single_file_rendering.py::test_single_with_blockquotes \neval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \neval/tests/test_single_file_rendering.py::test_single_with_set_options \neval/tests/test_single_file_rendering.py::test_single_stats \neval/tests/test_single_file_rendering.py::test_single_without_yaml \neval/tests/test_single_file_rendering.py::test_single_with_links \neval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \neval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw82] [ 12%] PASSED eval/tests/test_output_formats.py::test_html_dir_format \n[gw103] [ 13%] PASSED eval/tests/test_set_option.py::test_set_output_path \n[gw11] [ 14%] PASSED eval/tests/test_stats.py::test_stats_multiple_chapters \n[gw18] [ 14%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw24] [ 15%] PASSED eval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw111] [ 16%] PASSED eval/tests/test_single_file.py::test_single_with_set_override \n[gw109] [ 16%] PASSED eval/tests/test_single_file.py::test_single_with_output_file \n[gw117] [ 17%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_to_flag \n[gw17] [ 18%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw14] [ 18%] FAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw125] [ 19%] PASSED eval/tests/test_single_file_rendering.py::test_single_stats \n[gw13] [ 20%] PASSED eval/tests/test_stats.py::test_stats_with_formatting \n[gw15] [ 20%] FAILED eval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw118] [ 21%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_output_flag \n[gw54] [ 21%] FAILED eval/tests/test_lang_option.py::test_lang_option_french \n[gw19] [ 22%] FAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options \n[gw61] [ 23%] FAILED eval/tests/test_list_options.py::test_list_options_short_flag \neval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw8] [ 23%] FAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw16] [ 24%] FAILED eval/tests/test_basic_invocation.py::test_help_long_flag \n[gw12] [ 25%] FAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter \n[gw49] [ 25%] FAILED eval/tests/test_epub_generation.py::test_epub_with_metadata \n[gw41] [ 26%] FAILED eval/tests/test_edge_cases.py::test_nested_lists \n[gw23] [ 27%] FAILED eval/tests/test_book_processing.py::test_book_with_metadata \n[gw69] [ 27%] FAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks \n[gw124] [ 28%] PASSED eval/tests/test_single_file_rendering.py::test_single_without_yaml \n[gw71] [ 29%] FAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules \neval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw1] [ 29%] FAILED eval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_special_flags.py::test_no_fancy_flag \neval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw67] [ 30%] FAILED eval/tests/test_markdown_features.py::test_markdown_lists \n[gw32] [ 30%] FAILED eval/tests/test_create_book.py::test_create_book_with_filename \n[gw29] [ 31%] FAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters \n[gw36] [ 32%] FAILED eval/tests/test_edge_cases.py::test_empty_markdown_file \n[gw5] [ 32%] FAILED eval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_special_flags.py::test_autograph_flag \n[gw75] [ 33%] FAILED eval/tests/test_output_formats.py::test_to_tex_format \n[gw53] [ 34%] FAILED eval/tests/test_lang_option.py::test_lang_option_english \n[gw64] [ 34%] FAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions \n[gw25] [ 35%] FAILED eval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw22] [ 36%] FAILED eval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw39] [ 36%] FAILED eval/tests/test_edge_cases.py::test_special_characters_in_title \n[gw37] [ 37%] FAILED eval/tests/test_edge_cases.py::test_very_long_content \n[gw34] [ 38%] FAILED eval/tests/test_create_book.py::test_create_book_file_already_exists \n[gw40] [ 38%] FAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks \n[gw63] [ 39%] FAILED eval/tests/test_list_options.py::test_list_options_shows_defaults \n[gw38] [ 40%] FAILED eval/tests/test_edge_cases.py::test_unicode_content \n[gw47] [ 40%] FAILED eval/tests/test_epub_generation.py::test_epub_output_basic \n[gw9] [ 41%] FAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_stats.py::test_stats_empty_book \n[gw20] [ 41%] FAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw42] [ 42%] FAILED eval/tests/test_edge_cases.py::test_mixed_list_types \n[gw21] [ 43%] FAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw65] [ 43%] FAILED eval/tests/test_markdown_features.py::test_markdown_headings \n[gw45] [ 44%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_author \n[gw72] [ 45%] FAILED eval/tests/test_markdown_features.py::test_markdown_tables \n[gw4] [ 45%] FAILED eval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw70] [ 46%] FAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes \n[gw68] [ 47%] FAILED eval/tests/test_markdown_features.py::test_markdown_links \n[gw26] [ 47%] FAILED eval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw10] [ 48%] FAILED eval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_stats.py::test_stats_short_flag \n[gw76] [ 49%] FAILED eval/tests/test_output_formats.py::test_to_with_short_flag \n[gw44] [ 49%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_title \n[gw50] [ 50%] FAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters \n[gw57] [ 50%] FAILED eval/tests/test_lang_option.py::test_lang_affects_messages \n[gw89] [ 51%] FAILED eval/tests/test_print_template.py::test_print_template_to_file \n[gw62] [ 52%] FAILED eval/tests/test_list_options.py::test_list_options_shows_types \n[gw15] [ 52%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw104] [ 53%] FAILED eval/tests/test_set_option.py::test_set_invalid_option \n[gw74] [ 54%] FAILED eval/tests/test_output_formats.py::test_to_html_format \n[gw19] [ 54%] PASSED eval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw112] [ 55%] FAILED eval/tests/test_single_file.py::test_single_tex_output \n[gw51] [ 56%] FAILED eval/tests/test_epub_generation.py::test_epub_version_2 \n[gw60] [ 56%] FAILED eval/tests/test_list_options.py::test_list_options_long_flag \n[gw100] [ 57%] FAILED eval/tests/test_set_option.py::test_set_single_option \n[gw113] [ 58%] FAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations \n[gw52] [ 58%] FAILED eval/tests/test_epub_generation.py::test_epub_version_3 \n[gw14] [ 59%] PASSED eval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw95] [ 60%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none \n[gw98] [ 60%] FAILED eval/tests/test_rendering_options.py::test_pdf_output_specified \n[gw2] [ 61%] FAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw27] [ 61%] FAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file \n[gw102] [ 62%] FAILED eval/tests/test_set_option.py::test_set_rendering_option \n[gw116] [ 63%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub \n[gw3] [ 63%] FAILED eval/tests/test_special_flags.py::test_force_emoji_flag \n[gw8] [ 64%] FAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw126] [ 65%] FAILED eval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw120] [ 65%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options \n[gw59] [ 66%] FAILED eval/tests/test_lang_option.py::test_lang_with_book_processing \n[gw101] [ 67%] FAILED eval/tests/test_set_option.py::test_set_multiple_options \n[gw97] [ 67%] FAILED eval/tests/test_rendering_options.py::test_html_dir_output \n[gw90] [ 68%] FAILED eval/tests/test_print_template.py::test_print_template_multiple_types \n[gw80] [ 69%] FAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error \n[gw79] [ 69%] FAILED eval/tests/test_output_formats.py::test_output_file_tex \n[gw91] [ 70%] FAILED eval/tests/test_print_template.py::test_print_template_epub_chapter \n[gw66] [ 70%] FAILED eval/tests/test_markdown_features.py::test_markdown_emphasis \n[gw110] [ 71%] FAILED eval/tests/test_single_file.py::test_single_without_yaml_block \n[gw108] [ 72%] FAILED eval/tests/test_single_file.py::test_single_short_flag \n[gw1] [ 72%] FAILED eval/tests/test_special_flags.py::test_no_fancy_flag \n[gw55] [ 73%] FAILED eval/tests/test_lang_option.py::test_lang_short_flag \n[gw0] [ 74%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw22] [ 74%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw73] [ 75%] FAILED eval/tests/test_markdown_features.py::test_markdown_footnotes \n[gw12] [ 76%] PASSED eval/tests/test_stats.py::test_stats_empty_book \n[gw119] [ 76%] FAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout \n[gw5] [ 77%] FAILED eval/tests/test_special_flags.py::test_autograph_flag \n[gw81] [ 78%] FAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error \n[gw93] [ 78%] FAILED eval/tests/test_rendering_options.py::test_rendering_numbering \n[gw43] [ 79%] FAILED eval/tests/test_edge_cases.py::test_malformed_yaml \n[gw6] [ 80%] FAILED eval/tests/test_special_flags.py::test_autograph_short_flag \n[gw10] [ 80%] PASSED eval/tests/test_stats.py::test_stats_short_flag \neval/tests/test_stats.py::test_stats_long_flag \n[gw9] [ 81%] PASSED eval/tests/test_stats.py::test_stats_long_flag \n[gw26] [ 81%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw48] [ 82%] FAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag \n[gw21] [ 83%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw83] [ 83%] FAILED eval/tests/test_print_template.py::test_print_template_html_css \n[gw106] [ 84%] FAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value \n[gw87] [ 85%] FAILED eval/tests/test_print_template.py::test_print_template_html_dir \n[gw123] [ 85%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes \n[gw94] [ 86%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect \n[gw16] [ 87%] PASSED eval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw114] [ 87%] FAILED eval/tests/test_single_file.py::test_single_markdown_features \n[gw115] [ 88%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html \n[gw107] [ 89%] FAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block \n[gw20] [ 89%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw105] [ 90%] FAILED eval/tests/test_set_option.py::test_set_boolean_option \n[gw99] [ 90%] FAILED eval/tests/test_rendering_options.py::test_tex_standalone_output \n[gw2] [ 91%] FAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw86] [ 92%] FAILED eval/tests/test_print_template.py::test_print_template_html_standalone \n[gw4] [ 92%] FAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw23] [ 93%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw88] [ 94%] FAILED eval/tests/test_print_template.py::test_print_template_invalid \n[gw92] [ 94%] FAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc \n[gw84] [ 95%] FAILED eval/tests/test_print_template.py::test_print_template_epub_css \n[gw25] [ 96%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw85] [ 96%] FAILED eval/tests/test_print_template.py::test_print_template_tex \n[gw96] [ 97%] FAILED eval/tests/test_rendering_options.py::test_rendering_with_cover \n[gw7] [ 98%] FAILED eval/tests/test_special_flags.py::test_combined_flags \n[gw121] [ 98%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \n[gw127] [ 99%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \n[gw122] [100%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_links \n\n=================================== FAILURES ===================================\n________________________ test_no_arguments_shows_error _________________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError\n_____________________________ test_help_short_flag _____________________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError\n___________________________ test_lang_option_french ____________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError\n_________________________ test_help_shows_all_options __________________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError\n_________________________ test_list_options_short_flag _________________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError\n_________________________ test_render_with_cover_image _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmphif5d5fn/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError\n_____________________________ test_help_long_flag ______________________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError\n______________________ test_render_error_missing_chapter _______________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError\n___________________________ test_epub_with_metadata ____________________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpnbuev62h/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError\n______________________________ test_nested_lists _______________________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyv_3ykgi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError\n___________________________ test_book_with_metadata ____________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprpa6_nja/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError\n__________________________ test_markdown_code_blocks ___________________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpl00smvkb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError\n________________________ test_markdown_horizontal_rules ________________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpoi6c10dj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError\n____________________________ test_render_epub_basic ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpsl6xp1fm/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError\n_____________________________ test_markdown_lists ______________________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpog_kffzj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError\n________________________ test_create_book_with_filename ________________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpfrqjcar6/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError\n_______________________ test_book_with_multiple_chapters _______________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcrrdaq9w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError\n___________________________ test_empty_markdown_file ___________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp42z9_lon/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError\n____________________________ test_render_tex_output ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpqv4a8411/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError\n______________________________ test_to_tex_format ______________________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError\n___________________________ test_lang_option_english ___________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError\n_____________________ test_list_options_shows_descriptions _____________________\n[gw64] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError\n_____________________________ test_book_tex_output _____________________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError\n_________________________ test_basic_book_html_output __________________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdj6npx9d/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError\n_______________________ test_special_characters_in_title _______________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0ct0cb6i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError\n____________________________ test_very_long_content ____________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7bkiifmw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError\n_____________________ test_create_book_file_already_exists _____________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError\n__________________________ test_multiple_yaml_blocks ___________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmppvg7jx3d/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError\n_______________________ test_list_options_shows_defaults _______________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError\n_____________________________ test_unicode_content _____________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis \ud83d\ude00 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwububh76/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError\n____________________________ test_epub_output_basic ____________________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpxx926ki0/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError\n_________________________ test_render_with_inline_toc __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

TOC Author

Book with TOC

\\n

Chapter 1
Chapter One

First content.

\\n
\\n

Chapter 2
Chapter Two

Second content.

\\n
'.count\n\neval/tests/test_actual_rendering.py:389: AssertionError\n_______________________ test_invalid_option_shows_error ________________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError\n____________________________ test_mixed_list_types _____________________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjjwabips/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError\n______________________ test_missing_book_file_shows_error ______________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError\n____________________________ test_markdown_headings ____________________________\n[gw65] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpn5w81qcv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError\n___________________________ test_book_with_no_author ___________________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa146l9e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError\n_____________________________ test_markdown_tables _____________________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyhuojd0r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError\n____________________________ test_render_to_stdout _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError\n__________________________ test_markdown_blockquotes ___________________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy2x5o808/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError\n_____________________________ test_markdown_links ______________________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbpzqzpma/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError\n________________________ test_book_with_relative_paths _________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpccpj8h0_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError\n_____________________________ test_render_html_dir _____________________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp10bnmuv9/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError\n___________________________ test_to_with_short_flag ____________________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9p6rl0d8/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError\n___________________________ test_book_with_no_title ____________________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcoidlnno/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError\n_________________________ test_epub_multiple_chapters __________________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmprvy7ehre/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError\n__________________________ test_lang_affects_messages __________________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError\n_________________________ test_print_template_to_file __________________________\n[gw89] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError\n________________________ test_list_options_shows_types _________________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError\n___________________________ test_set_invalid_option ____________________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7ps30juk/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError\n_____________________________ test_to_html_format ______________________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpazw95adp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw112] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqsf94rw_/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqsf94rw_/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError\n_____________________________ test_epub_version_2 ______________________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpxp9h4elc/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError\n_________________________ test_list_options_long_flag __________________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError\n____________________________ test_set_single_option ____________________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1j3xq94e/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1j3xq94e/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError\n___________________ test_single_with_inline_yaml_variations ____________________\n[gw113] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpau68zb3o/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError\n_____________________________ test_epub_version_3 ______________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpn1csf5um/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError\n________________________ test_rendering_highlight_none _________________________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmc8tsz6m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError\n__________________________ test_pdf_output_specified ___________________________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError\n_________________________ test_render_multiple_formats _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpnedg1ppe/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError\n________________________ test_book_missing_chapter_file ________________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError\n__________________________ test_set_rendering_option ___________________________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyhwr5tqk/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError\n__________________________ test_single_render_to_epub __________________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2vb6oiyh/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError\n____________________________ test_force_emoji_flag _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test \ud83d\ude00\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpin70uc_f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError\n__________________________ test_verbose_with_no_fancy __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpt5lfv1p5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw126] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

\\n

--- author: LaTeX Author title: LaTeX Doc ---

\\n

Chapter 1
LaTeX Content

Some content with **bold**.

\\n
'\n\neval/tests/test_single_file_rendering.py:369: AssertionError\n_________________________ test_single_with_set_options _________________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2onfqgup/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError\n________________________ test_lang_with_book_processing ________________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpqgy68sic/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError\n__________________________ test_set_multiple_options ___________________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvca7_yxc/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError\n_____________________________ test_html_dir_output _____________________________\n[gw97] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpjho86rm_/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError\n______________________ test_print_template_multiple_types ______________________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError\n_______________________ test_invalid_format_shows_error ________________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError\n_____________________________ test_output_file_tex _____________________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
' or b'\\\\begin' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
')\n\neval/tests/test_output_formats.py:71: AssertionError\n_______________________ test_print_template_epub_chapter _______________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError\n____________________________ test_markdown_emphasis ____________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp70vrnwuy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError\n________________________ test_single_without_yaml_block ________________________\n[gw110] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpob7q4zjs/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError\n____________________________ test_single_short_flag ____________________________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp0kc7vuh0/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError\n______________________________ test_no_fancy_flag ______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpt61076uw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError\n_____________________________ test_lang_short_flag _____________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError\n_____________________ test_single_render_multiple_formats ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwmef5smz/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError\n___________________________ test_markdown_footnotes ____________________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj8aagnu4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError\n____________________________ test_single_to_stdout _____________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError\n_____________________________ test_autograph_flag ______________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpwrlx9g2w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpwrlx9g2w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError\n______________________ test_output_without_to_shows_error ______________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError\n___________________________ test_rendering_numbering ___________________________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe3jqik1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError\n_____________________________ test_malformed_yaml ______________________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError\n__________________________ test_autograph_short_flag ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp4leahrcp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp4leahrcp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError\n____________________________ test_quiet_with_error _____________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError\n____________________________ test_epub_with_to_flag ____________________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmpmb0f4diq/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError\n_________________________ test_print_template_html_css _________________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError\n________________________ test_set_with_spaces_in_value _________________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4w0_f3jz/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError\n_________________________ test_print_template_html_dir _________________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError\n_________________________ test_single_with_blockquotes _________________________\n[gw123] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmphsgldy6o/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmphsgldy6o/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_______________________ test_rendering_highlight_syntect _______________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkzfjbplw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkzfjbplw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError\n________________________ test_single_markdown_features _________________________\n[gw114] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpsnwqv3ee/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError\n__________________________ test_single_render_to_html __________________________\n[gw115] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmprvvhl0q2/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError\n_____________________ test_single_markdown_with_yaml_block _____________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpkexs0jxj/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError\n___________________________ test_set_boolean_option ____________________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsul3ocq2/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError\n__________________________ test_tex_standalone_output __________________________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpp4ygv13v/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError\n___________________________ test_no_fancy_short_flag ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp362s1wnf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError\n_____________________ test_print_template_html_standalone ______________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError\n_________________________ test_force_emoji_short_flag __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp9u3nxp5f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError\n_______________________________ test_quiet_flag ________________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpeby41_t3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError\n_________________________ test_print_template_invalid __________________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError\n__________________________ test_rendering_inline_toc ___________________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnhwrgyn9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError\n_________________________ test_print_template_epub_css _________________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError\n___________________________ test_print_template_tex ____________________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError\n__________________________ test_rendering_with_cover ___________________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdxlouk1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdxlouk1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError\n_____________________________ test_combined_flags ______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpljz83se6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError\n______________________ test_single_with_multiple_chapters ______________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpepfcwbty/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpepfcwbty/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_____________________ test_single_with_syntax_highlighting _____________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp9c8p7x82/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp9c8p7x82/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n____________________________ test_single_with_links ____________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp4a9xmsl9/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp4a9xmsl9/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error - A...\nFAILED eval/tests/test_basic_invocation.py::test_help_short_flag - AssertionE...\nFAILED eval/tests/test_lang_option.py::test_lang_option_french - AssertionErr...\nFAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options - Ass...\nFAILED eval/tests/test_list_options.py::test_list_options_short_flag - Assert...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image - As...\nFAILED eval/tests/test_basic_invocation.py::test_help_long_flag - AssertionEr...\nFAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter\nFAILED eval/tests/test_epub_generation.py::test_epub_with_metadata - Assertio...\nFAILED eval/tests/test_edge_cases.py::test_nested_lists - AssertionError: ass...\nFAILED eval/tests/test_book_processing.py::test_book_with_metadata - Assertio...\nFAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules\nFAILED eval/tests/test_actual_rendering.py::test_render_epub_basic - Assertio...\nFAILED eval/tests/test_markdown_features.py::test_markdown_lists - AssertionE...\nFAILED eval/tests/test_create_book.py::test_create_book_with_filename - Asser...\nFAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters\nFAILED eval/tests/test_edge_cases.py::test_empty_markdown_file - AssertionErr...\nFAILED eval/tests/test_actual_rendering.py::test_render_tex_output - Assertio...\nFAILED eval/tests/test_output_formats.py::test_to_tex_format - AssertionError...\nFAILED eval/tests/test_lang_option.py::test_lang_option_english - AssertionEr...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions\nFAILED eval/tests/test_book_processing.py::test_book_tex_output - AssertionEr...\nFAILED eval/tests/test_book_processing.py::test_basic_book_html_output - Asse...\nFAILED eval/tests/test_edge_cases.py::test_special_characters_in_title - Asse...\nFAILED eval/tests/test_edge_cases.py::test_very_long_content - AssertionError...\nFAILED eval/tests/test_create_book.py::test_create_book_file_already_exists\nFAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks - AssertionEr...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_defaults - As...\nFAILED eval/tests/test_edge_cases.py::test_unicode_content - AssertionError: ...\nFAILED eval/tests/test_epub_generation.py::test_epub_output_basic - Assertion...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc - ass...\nFAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error\nFAILED eval/tests/test_edge_cases.py::test_mixed_list_types - AssertionError:...\nFAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error\nFAILED eval/tests/test_markdown_features.py::test_markdown_headings - Asserti...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_author - AssertionErr...\nFAILED eval/tests/test_markdown_features.py::test_markdown_tables - Assertion...\nFAILED eval/tests/test_actual_rendering.py::test_render_to_stdout - Assertion...\nFAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes - Asse...\nFAILED eval/tests/test_markdown_features.py::test_markdown_links - AssertionE...\nFAILED eval/tests/test_book_processing.py::test_book_with_relative_paths - As...\nFAILED eval/tests/test_actual_rendering.py::test_render_html_dir - AssertionE...\nFAILED eval/tests/test_output_formats.py::test_to_with_short_flag - Assertion...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_title - AssertionErro...\nFAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters - Asse...\nFAILED eval/tests/test_lang_option.py::test_lang_affects_messages - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_to_file - Asser...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_types - Asser...\nFAILED eval/tests/test_set_option.py::test_set_invalid_option - AssertionErro...\nFAILED eval/tests/test_output_formats.py::test_to_html_format - AssertionErro...\nFAILED eval/tests/test_single_file.py::test_single_tex_output - AssertionErro...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_2 - AssertionErr...\nFAILED eval/tests/test_list_options.py::test_list_options_long_flag - Asserti...\nFAILED eval/tests/test_set_option.py::test_set_single_option - AssertionError...\nFAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations\nFAILED eval/tests/test_epub_generation.py::test_epub_version_3 - AssertionErr...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none - ...\nFAILED eval/tests/test_rendering_options.py::test_pdf_output_specified - Asse...\nFAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats - As...\nFAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file - A...\nFAILED eval/tests/test_set_option.py::test_set_rendering_option - AssertionEr...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub\nFAILED eval/tests/test_special_flags.py::test_force_emoji_flag - AssertionErr...\nFAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy - Asserti...\nFAILED eval/tests/test_single_file_rendering.py::test_single_tex_output - ass...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options\nFAILED eval/tests/test_lang_option.py::test_lang_with_book_processing - Asser...\nFAILED eval/tests/test_set_option.py::test_set_multiple_options - AssertionEr...\nFAILED eval/tests/test_rendering_options.py::test_html_dir_output - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_multiple_types\nFAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error - A...\nFAILED eval/tests/test_output_formats.py::test_output_file_tex - assert (b'\\\\...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_chapter - ...\nFAILED eval/tests/test_markdown_features.py::test_markdown_emphasis - Asserti...\nFAILED eval/tests/test_single_file.py::test_single_without_yaml_block - Asser...\nFAILED eval/tests/test_single_file.py::test_single_short_flag - AssertionErro...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_flag - AssertionError:...\nFAILED eval/tests/test_lang_option.py::test_lang_short_flag - AssertionError:...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats\nFAILED eval/tests/test_markdown_features.py::test_markdown_footnotes - Assert...\nFAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout - Asse...\nFAILED eval/tests/test_special_flags.py::test_autograph_flag - AssertionError...\nFAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error\nFAILED eval/tests/test_rendering_options.py::test_rendering_numbering - Asser...\nFAILED eval/tests/test_edge_cases.py::test_malformed_yaml - AssertionError: a...\nFAILED eval/tests/test_special_flags.py::test_autograph_short_flag - Assertio...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error - AssertionErr...\nFAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_html_css - Asse...\nFAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value - Asserti...\nFAILED eval/tests/test_print_template.py::test_print_template_html_dir - Asse...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect\nFAILED eval/tests/test_single_file.py::test_single_markdown_features - Assert...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html\nFAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block\nFAILED eval/tests/test_set_option.py::test_set_boolean_option - AssertionErro...\nFAILED eval/tests/test_rendering_options.py::test_tex_standalone_output - Ass...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_html_standalone\nFAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag - Assert...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_flag - AssertionError: as...\nFAILED eval/tests/test_print_template.py::test_print_template_invalid - Asser...\nFAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc - Asse...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_css - Asse...\nFAILED eval/tests/test_print_template.py::test_print_template_tex - Assertion...\nFAILED eval/tests/test_rendering_options.py::test_rendering_with_cover - Asse...\nFAILED eval/tests/test_special_flags.py::test_combined_flags - AssertionError...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_links - Fil...\n======================== 112 failed, 43 passed in 4.28s ========================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.1900693960000126, "output": "def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionErrordef test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpqv4a8411/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ffb7b922380>\n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprpa6_nja/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5dee5a6440>\n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpccpj8h0_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionErrordef test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4f1c5effd0>\n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f799b2d63e0>\n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f799b8cb670>()\nE + where <built-in method lower of bytes object at 0x7f799b8cb670> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj8aagnu4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f16cb5f6170>\n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdj6npx9d/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionErrordef test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f896e80e440>\n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpxx926ki0/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f12010aa440>\n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpnbuev62h/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionErrordef test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionErrordef test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa73ed523e0>\n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcoidlnno/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionErrordef test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp10bnmuv9/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f785323bfd0>\n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmprvy7ehre/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f40d0317c10>\n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3eb7ad6290>\n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy2x5o808/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f36a24aa590>\n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpoi6c10dj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionErrordef test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpsl6xp1fm/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionErrordef test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd9ef0ce440>\n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpxp9h4elc/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f11cc55e3e0>\n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmppvg7jx3d/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionErrordef test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f16ce7ce3e0>\n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpl00smvkb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fcb545b6530>\n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyv_3ykgi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f18f391e560>\n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp42z9_lon/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f006de82590>\n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7bkiifmw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa781576560>\n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = <function is_zipfile at 0x7fa7820f25f0>(PosixPath('/tmp/tmpmb0f4diq/test.epub'))\nE + where <function is_zipfile at 0x7fa7820f25f0> = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionErrordef test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5d996b6590>\n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwububh76/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionErrordef test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionErrordef test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionErrordef test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmphif5d5fn/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3958642380>\n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n' = <built-in method lower of bytes object at 0x7f3958a316b0>()\nE + where <built-in method lower of bytes object at 0x7f3958a316b0> = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f202d49e590>\n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f202d957e30>()\nE + where <built-in method lower of bytes object at 0x7f202d957e30> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f63c68fa2c0>\n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyhuojd0r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionErrordef test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionErrordef test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f51a2ce2440>\n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: <Special> 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0ct0cb6i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f44ed462320>\n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9p6rl0d8/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f154e503fd0>\n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpog_kffzj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f41268ea530>\n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpn5w81qcv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe47ca0e560>\n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp70vrnwuy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f00c64d23b0>\n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa146l9e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionErrordef test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = <built-in method count of str object at 0x55b53de161a0>('Chapter One')\nE + where <built-in method count of str object at 0x55b53de161a0> = '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with TOC</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">TOC Author</h2><h1 class=\"title\">Book with TOC</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">First content.</p>\\n</div><div id=\"chapter-1\" class=\"chapter\">\\n<h1 id=\\'link-2\\'><span class=\"chapter-header\">Chapter 2</span><br />Chapter Two</h1><p id=\"para-2\">Second content.</p>\\n</div></div></div></body></html>'.count\n\neval/tests/test_actual_rendering.py:389: AssertionErrordef test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fbf97182530>\n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = <built-in method encode of str object at 0x7fbf9717e0b0>()\nE + where <built-in method encode of str object at 0x7fbf9717e0b0> = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcrrdaq9w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2d3e8862f0>\n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpfrqjcar6/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4e2f4ee560>\n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f4e2f7011b0>()\nE + where <built-in method lower of bytes object at 0x7f4e2f7011b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = <built-in method lower of bytes object at 0x7f4e35408030>()\nE + where <built-in method lower of bytes object at 0x7f4e35408030> = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionErrordef test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7212d0a320>\n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpn1csf5um/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3abac82440>\n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbpzqzpma/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionErrordef test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fab05a22530>\n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpqgy68sic/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1331f6fc70>\n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f1331b86230>()\nE + where <built-in method lower of bytes object at 0x7f1331b86230> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f1331b86230>()\nE + where <built-in method lower of bytes object at 0x7f1331b86230> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionErrordef test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpnedg1ppe/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1b507f23b0>\n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpazw95adp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionErrordef test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6ba7bc7fd0>\n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjjwabips/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1fdc7aa1a0>\n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>' or b'\\\\begin' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>')\n\neval/tests/test_output_formats.py:71: AssertionErrordef test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f24a20fdfc0>\n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f24a1d34fb0>()\nE + where <built-in method lower of bytes object at 0x7f24a1d34fb0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f24a1d34fb0>()\nE + where <built-in method lower of bytes object at 0x7f24a1d34fb0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionErrordef test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionErrordef test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0d80572440>\n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpjho86rm_/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionErrordef test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionErrordef test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd174c52440>\n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpp4ygv13v/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f59351ca2c0>\n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1j3xq94e/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1j3xq94e/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb31f56e590>\n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnhwrgyn9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f15527263e0>\n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpkexs0jxj/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f070570b8e0>\n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff1275f6560>\n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmc8tsz6m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fbc2dc3a9b0>\n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp4leahrcp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp4leahrcp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7faf82c5a440>\n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp0kc7vuh0/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f28adc62440>\n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsul3ocq2/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f001032e590>\n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkzfjbplw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkzfjbplw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9b9dd82530>\n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdxlouk1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdxlouk1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionErrordef test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f648e59e3b0>\n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpsnwqv3ee/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb21a1576a0>\n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpljz83se6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionErrordef test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe57f29e7d0>\n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyhwr5tqk/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionErrordef test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwmef5smz/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f71d122bfd0>\n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvca7_yxc/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4c7bcf2590>\n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f4c7bcef3b0>()\nE + where <built-in method lower of bytes object at 0x7f4c7bcef3b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f4c7bcef3b0>()\nE + where <built-in method lower of bytes object at 0x7f4c7bcef3b0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionErrordef test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmprvvhl0q2/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3c2ad9e320>\n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4w0_f3jz/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionErrordef test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1345a26440>\n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe3jqik1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f494caba590>\n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpob7q4zjs/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f41ee0c6470>\n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpau68zb3o/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f680d544190>\n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpin70uc_f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionErrordef test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2vb6oiyh/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5b210a3fd0>\n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqsf94rw_/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqsf94rw_/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionErrordef test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe584a0a440>\n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fe584c511b0>()\nE + where <built-in method lower of bytes object at 0x7fe584c511b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fe584c511b0>()\nE + where <built-in method lower of bytes object at 0x7fe584c511b0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7ps30juk/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionErrordef test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2onfqgup/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionErrordef test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionErrordef test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmphsgldy6o/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmphsgldy6o/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp4a9xmsl9/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp4a9xmsl9/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp9c8p7x82/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp9c8p7x82/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpepfcwbty/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpepfcwbty/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<p id=\"para-1\">--- author: LaTeX Author title: LaTeX Doc ---</p>\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />LaTeX Content</h1><p id=\"para-2\">Some content with **bold**.</p>\\n</div></div></div></body></html>'\n\neval/tests/test_single_file_rendering.py:369: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fda97c50040>\n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpt5lfv1p5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ffb7b9025f0>\n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpeby41_t3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6469a26f80>\n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpt61076uw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6c22ace650>\n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpwrlx9g2w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpwrlx9g2w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5688f9ca00>\n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp9u3nxp5f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5dee5ff880>\n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f5dee611a30>()\nE + where <built-in method lower of bytes object at 0x7f5dee611a30> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2c1f0afdc0>\n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp362s1wnf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError", "returncode": 0, "exception_info": "", "branch": "coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_gen-20260325_115907"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.04774304899996196, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_judge-20260325_123512", "wall_time": 0.05850763999995934, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was 2846b46 coverage-test result\nHEAD is now at b7f0d36 coverage-test result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.049071565000019746, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04551616800000602, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.04428774199999452, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04448663499999839, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.923286657999995, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [155 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_basic_invocation.py::test_version_long_flag \neval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \neval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_lang_option.py::test_lang_with_version \neval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_print_template.py::test_print_template_to_file \neval/tests/test_book_processing.py::test_book_missing_chapter_file \neval/tests/test_create_book.py::test_create_book_to_stdout \neval/tests/test_print_template.py::test_print_template_html_standalone \neval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_edge_cases.py::test_book_with_no_title \neval/tests/test_edge_cases.py::test_mixed_list_types \neval/tests/test_basic_invocation.py::test_version_short_flag \neval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_epub_generation.py::test_epub_with_metadata \neval/tests/test_markdown_features.py::test_markdown_lists \neval/tests/test_epub_generation.py::test_epub_multiple_chapters \neval/tests/test_markdown_features.py::test_markdown_emphasis \neval/tests/test_output_formats.py::test_to_with_short_flag \neval/tests/test_markdown_features.py::test_markdown_code_blocks \neval/tests/test_markdown_features.py::test_markdown_horizontal_rules \neval/tests/test_output_formats.py::test_to_html_format \neval/tests/test_markdown_features.py::test_markdown_footnotes \neval/tests/test_list_options.py::test_list_options_long_flag \neval/tests/test_edge_cases.py::test_nested_lists \neval/tests/test_print_template.py::test_print_template_html_dir \neval/tests/test_book_processing.py::test_book_with_multiple_chapters \neval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_edge_cases.py::test_unicode_content \neval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_rendering_options.py::test_tex_standalone_output \neval/tests/test_set_option.py::test_set_boolean_option \neval/tests/test_edge_cases.py::test_output_to_existing_file \neval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \neval/tests/test_epub_generation.py::test_epub_output_basic \neval/tests/test_markdown_features.py::test_markdown_links \neval/tests/test_list_options.py::test_list_options_shows_types \neval/tests/test_lang_option.py::test_lang_with_book_processing \neval/tests/test_print_template.py::test_print_template_invalid \neval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_print_template.py::test_print_template_multiple_types \neval/tests/test_print_template.py::test_print_template_html_css \neval/tests/test_actual_rendering.py::test_render_with_options_set \neval/tests/test_markdown_features.py::test_markdown_blockquotes \neval/tests/test_print_template.py::test_print_template_epub_chapter \neval/tests/test_list_options.py::test_list_options_short_flag \neval/tests/test_lang_option.py::test_lang_short_flag \neval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_create_book.py::test_create_book_template_structure \neval/tests/test_rendering_options.py::test_pdf_output_specified \neval/tests/test_set_option.py::test_set_multiple_options \neval/tests/test_set_option.py::test_set_rendering_option \neval/tests/test_set_option.py::test_set_output_path \neval/tests/test_single_file.py::test_single_short_flag \neval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_output_formats.py::test_output_short_flag \neval/tests/test_single_file.py::test_single_without_yaml_block \neval/tests/test_single_file.py::test_single_with_inline_yaml_variations \neval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_rendering_options.py::test_html_dir_output \neval/tests/test_list_options.py::test_list_options_shows_descriptions \neval/tests/test_create_book.py::test_create_book_multiple_files \neval/tests/test_edge_cases.py::test_malformed_yaml \neval/tests/test_output_formats.py::test_invalid_format_shows_error \neval/tests/test_rendering_options.py::test_rendering_highlight_syntect \neval/tests/test_edge_cases.py::test_book_with_no_author \neval/tests/test_rendering_options.py::test_rendering_highlight_none \neval/tests/test_lang_option.py::test_lang_affects_messages \neval/tests/test_single_file.py::test_single_with_output_file \neval/tests/test_single_file.py::test_single_with_set_override \neval/tests/test_single_file.py::test_single_tex_output \neval/tests/test_create_book.py::test_create_book_file_already_exists \neval/tests/test_epub_generation.py::test_epub_version_2 \neval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_actual_rendering.py::test_render_to_stdout \neval/tests/test_edge_cases.py::test_empty_markdown_file \neval/tests/test_output_formats.py::test_output_file_html \neval/tests/test_list_options.py::test_list_options_shows_defaults \neval/tests/test_edge_cases.py::test_multiple_yaml_blocks \neval/tests/test_book_processing.py::test_book_empty_chapter_list \neval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_actual_rendering.py::test_render_with_metadata \neval/tests/test_create_book.py::test_create_book_with_filename \neval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_print_template.py::test_print_template_tex \neval/tests/test_rendering_options.py::test_rendering_inline_toc \neval/tests/test_rendering_options.py::test_rendering_numbering \neval/tests/test_output_formats.py::test_output_file_tex \neval/tests/test_output_formats.py::test_to_tex_format \neval/tests/test_edge_cases.py::test_special_characters_in_title \neval/tests/test_set_option.py::test_set_single_option \neval/tests/test_set_option.py::test_set_invalid_option \neval/tests/test_epub_generation.py::test_epub_with_to_flag \neval/tests/test_edge_cases.py::test_very_long_content \neval/tests/test_markdown_features.py::test_markdown_tables \neval/tests/test_output_formats.py::test_html_dir_format \neval/tests/test_single_file.py::test_single_markdown_with_yaml_block \neval/tests/test_rendering_options.py::test_rendering_with_cover \neval/tests/test_epub_generation.py::test_epub_version_3 \neval/tests/test_book_processing.py::test_book_html_to_file \neval/tests/test_lang_option.py::test_lang_option_french \neval/tests/test_print_template.py::test_print_template_epub_css \neval/tests/test_markdown_features.py::test_markdown_headings \neval/tests/test_single_file_rendering.py::test_single_to_stdout \neval/tests/test_single_file_rendering.py::test_single_render_to_html \neval/tests/test_single_file.py::test_single_markdown_features \neval/tests/test_single_file_rendering.py::test_single_with_output_flag \neval/tests/test_lang_option.py::test_lang_option_english \neval/tests/test_single_file_rendering.py::test_single_render_to_epub \neval/tests/test_single_file_rendering.py::test_single_with_to_flag \neval/tests/test_set_option.py::test_set_with_spaces_in_value \neval/tests/test_output_formats.py::test_output_without_to_shows_error \neval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \neval/tests/test_single_file_rendering.py::test_single_with_links \neval/tests/test_single_file_rendering.py::test_single_with_blockquotes \neval/tests/test_single_file_rendering.py::test_single_with_set_options \neval/tests/test_single_file_rendering.py::test_single_stats \neval/tests/test_single_file_rendering.py::test_single_without_yaml \neval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \n[gw58] [ 0%] PASSED eval/tests/test_lang_option.py::test_lang_invalid_code \neval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw18] [ 1%] PASSED eval/tests/test_basic_invocation.py::test_version_long_flag \n[gw30] [ 1%] PASSED eval/tests/test_create_book.py::test_create_book_to_stdout \n[gw17] [ 2%] PASSED eval/tests/test_basic_invocation.py::test_version_short_flag \n[gw35] [ 3%] PASSED eval/tests/test_create_book.py::test_create_book_template_structure \neval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \neval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw6] [ 3%] PASSED eval/tests/test_actual_rendering.py::test_render_with_options_set \n[gw56] [ 4%] PASSED eval/tests/test_lang_option.py::test_lang_with_version \n[gw7] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_with_chapters_numbering \n[gw3] [ 5%] PASSED eval/tests/test_actual_rendering.py::test_render_with_to_flag_html \neval/tests/test_special_flags.py::test_force_emoji_flag \n[gw0] [ 6%] PASSED eval/tests/test_actual_rendering.py::test_render_html_basic \neval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \neval/tests/test_special_flags.py::test_autograph_short_flag \n[gw31] [ 7%] PASSED eval/tests/test_create_book.py::test_create_book_short_flag \neval/tests/test_special_flags.py::test_combined_flags \n[gw28] [ 7%] PASSED eval/tests/test_book_processing.py::test_book_empty_chapter_list \n[gw82] [ 8%] PASSED eval/tests/test_output_formats.py::test_html_dir_format \n[gw77] [ 9%] PASSED eval/tests/test_output_formats.py::test_output_short_flag \n[gw78] [ 9%] PASSED eval/tests/test_output_formats.py::test_output_file_html \n[gw11] [ 10%] PASSED eval/tests/test_actual_rendering.py::test_render_with_metadata \n[gw33] [ 10%] PASSED eval/tests/test_create_book.py::test_create_book_multiple_files \n[gw109] [ 11%] PASSED eval/tests/test_single_file.py::test_single_with_output_file \n[gw111] [ 12%] PASSED eval/tests/test_single_file.py::test_single_with_set_override \n[gw24] [ 12%] PASSED eval/tests/test_book_processing.py::test_book_html_to_file \n[gw46] [ 13%] PASSED eval/tests/test_edge_cases.py::test_output_to_existing_file \n[gw13] [ 14%] PASSED eval/tests/test_actual_rendering.py::test_render_with_emphasis_and_formatting \neval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw103] [ 14%] PASSED eval/tests/test_set_option.py::test_set_output_path \neval/tests/test_stats.py::test_stats_multiple_chapters \neval/tests/test_stats.py::test_stats_with_formatting \n[gw118] [ 15%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_output_flag \n[gw87] [ 16%] FAILED eval/tests/test_print_template.py::test_print_template_html_dir \n[gw117] [ 16%] PASSED eval/tests/test_single_file_rendering.py::test_single_with_to_flag \n[gw124] [ 17%] PASSED eval/tests/test_single_file_rendering.py::test_single_without_yaml \n[gw18] [ 18%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_no_fancy_flag \n[gw125] [ 18%] PASSED eval/tests/test_single_file_rendering.py::test_single_stats \n[gw17] [ 19%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_verbose_flag \n[gw59] [ 20%] FAILED eval/tests/test_lang_option.py::test_lang_with_book_processing \n[gw104] [ 20%] FAILED eval/tests/test_set_option.py::test_set_invalid_option \n[gw24] [ 21%] PASSED eval/tests/test_verbose_quiet.py::test_quiet_short_flag \n[gw86] [ 21%] FAILED eval/tests/test_print_template.py::test_print_template_html_standalone \n[gw83] [ 22%] FAILED eval/tests/test_print_template.py::test_print_template_html_css \n[gw53] [ 23%] FAILED eval/tests/test_lang_option.py::test_lang_option_english \n[gw13] [ 23%] PASSED eval/tests/test_stats.py::test_stats_with_formatting \n[gw54] [ 24%] FAILED eval/tests/test_lang_option.py::test_lang_option_french \n[gw11] [ 25%] PASSED eval/tests/test_stats.py::test_stats_multiple_chapters \n[gw1] [ 25%] FAILED eval/tests/test_actual_rendering.py::test_render_epub_basic \neval/tests/test_special_flags.py::test_no_fancy_flag \n[gw55] [ 26%] FAILED eval/tests/test_lang_option.py::test_lang_short_flag \n[gw32] [ 27%] FAILED eval/tests/test_create_book.py::test_create_book_with_filename \n[gw67] [ 27%] FAILED eval/tests/test_markdown_features.py::test_markdown_lists \n[gw69] [ 28%] FAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks \n[gw62] [ 29%] FAILED eval/tests/test_list_options.py::test_list_options_shows_types \n[gw63] [ 29%] FAILED eval/tests/test_list_options.py::test_list_options_shows_defaults \n[gw20] [ 30%] FAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error \neval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw16] [ 30%] FAILED eval/tests/test_basic_invocation.py::test_help_long_flag \neval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw64] [ 31%] FAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions \n[gw52] [ 32%] FAILED eval/tests/test_epub_generation.py::test_epub_version_3 \n[gw76] [ 32%] FAILED eval/tests/test_output_formats.py::test_to_with_short_flag \n[gw51] [ 33%] FAILED eval/tests/test_epub_generation.py::test_epub_version_2 \n[gw68] [ 34%] FAILED eval/tests/test_markdown_features.py::test_markdown_links \n[gw106] [ 34%] FAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value \n[gw61] [ 35%] FAILED eval/tests/test_list_options.py::test_list_options_short_flag \n[gw21] [ 36%] FAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error \n[gw85] [ 36%] FAILED eval/tests/test_print_template.py::test_print_template_tex \n[gw75] [ 37%] FAILED eval/tests/test_output_formats.py::test_to_tex_format \n[gw99] [ 38%] FAILED eval/tests/test_rendering_options.py::test_tex_standalone_output \n[gw42] [ 38%] FAILED eval/tests/test_edge_cases.py::test_mixed_list_types \n[gw45] [ 39%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_author \n[gw91] [ 40%] FAILED eval/tests/test_print_template.py::test_print_template_epub_chapter \n[gw5] [ 40%] FAILED eval/tests/test_actual_rendering.py::test_render_tex_output \neval/tests/test_special_flags.py::test_autograph_flag \n[gw15] [ 41%] FAILED eval/tests/test_basic_invocation.py::test_help_short_flag \neval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw107] [ 41%] FAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block \n[gw48] [ 42%] FAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag \n[gw4] [ 43%] FAILED eval/tests/test_actual_rendering.py::test_render_to_stdout \n[gw92] [ 43%] FAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc \n[gw25] [ 44%] FAILED eval/tests/test_book_processing.py::test_book_tex_output \neval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw8] [ 45%] FAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image \neval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw79] [ 45%] FAILED eval/tests/test_output_formats.py::test_output_file_tex \n[gw80] [ 46%] FAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error \n[gw40] [ 47%] FAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks \n[gw108] [ 47%] FAILED eval/tests/test_single_file.py::test_single_short_flag \n[gw100] [ 48%] FAILED eval/tests/test_set_option.py::test_set_single_option \n[gw116] [ 49%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub \neval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw41] [ 49%] FAILED eval/tests/test_edge_cases.py::test_nested_lists \n[gw94] [ 50%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect \n[gw70] [ 50%] FAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes \n[gw96] [ 51%] FAILED eval/tests/test_rendering_options.py::test_rendering_with_cover \n[gw26] [ 52%] FAILED eval/tests/test_book_processing.py::test_book_with_relative_paths \neval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw105] [ 52%] FAILED eval/tests/test_set_option.py::test_set_boolean_option \n[gw98] [ 53%] FAILED eval/tests/test_rendering_options.py::test_pdf_output_specified \n[gw36] [ 54%] FAILED eval/tests/test_edge_cases.py::test_empty_markdown_file \n[gw19] [ 54%] FAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options \neval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw44] [ 55%] FAILED eval/tests/test_edge_cases.py::test_book_with_no_title \n[gw90] [ 56%] FAILED eval/tests/test_print_template.py::test_print_template_multiple_types \n[gw43] [ 56%] FAILED eval/tests/test_edge_cases.py::test_malformed_yaml \n[gw2] [ 57%] FAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats \neval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw12] [ 58%] FAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter \neval/tests/test_stats.py::test_stats_empty_book \n[gw10] [ 58%] FAILED eval/tests/test_actual_rendering.py::test_render_html_dir \neval/tests/test_stats.py::test_stats_short_flag \n[gw29] [ 59%] FAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters \neval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw49] [ 60%] FAILED eval/tests/test_epub_generation.py::test_epub_with_metadata \n[gw23] [ 60%] FAILED eval/tests/test_book_processing.py::test_book_with_metadata \neval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw50] [ 61%] FAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters \n[gw114] [ 61%] FAILED eval/tests/test_single_file.py::test_single_markdown_features \n[gw120] [ 62%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options \n[gw84] [ 63%] FAILED eval/tests/test_print_template.py::test_print_template_epub_css \n[gw7] [ 63%] FAILED eval/tests/test_special_flags.py::test_combined_flags \n[gw16] [ 64%] PASSED eval/tests/test_stats_functionality.py::test_stats_shows_character_count \n[gw22] [ 65%] FAILED eval/tests/test_book_processing.py::test_basic_book_html_output \neval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw22] [ 65%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_short_flag \n[gw0] [ 66%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats \n[gw6] [ 67%] FAILED eval/tests/test_special_flags.py::test_autograph_short_flag \n[gw66] [ 67%] FAILED eval/tests/test_markdown_features.py::test_markdown_emphasis \n[gw38] [ 68%] FAILED eval/tests/test_edge_cases.py::test_unicode_content \n[gw112] [ 69%] FAILED eval/tests/test_single_file.py::test_single_tex_output \n[gw71] [ 69%] FAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules \n[gw81] [ 70%] FAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error \n[gw12] [ 70%] PASSED eval/tests/test_stats.py::test_stats_empty_book \n[gw27] [ 71%] FAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file \n[gw72] [ 72%] FAILED eval/tests/test_markdown_features.py::test_markdown_tables \n[gw5] [ 72%] FAILED eval/tests/test_special_flags.py::test_autograph_flag \n[gw74] [ 73%] FAILED eval/tests/test_output_formats.py::test_to_html_format \n[gw95] [ 74%] FAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none \n[gw93] [ 74%] FAILED eval/tests/test_rendering_options.py::test_rendering_numbering \n[gw26] [ 75%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error \n[gw110] [ 76%] FAILED eval/tests/test_single_file.py::test_single_without_yaml_block \n[gw20] [ 76%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_formatted_text \n[gw102] [ 77%] FAILED eval/tests/test_set_option.py::test_set_rendering_option \n[gw1] [ 78%] FAILED eval/tests/test_special_flags.py::test_no_fancy_flag \n[gw15] [ 78%] PASSED eval/tests/test_stats_functionality.py::test_stats_with_multiple_chapters \n[gw2] [ 79%] FAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag \n[gw89] [ 80%] FAILED eval/tests/test_print_template.py::test_print_template_to_file \n[gw47] [ 80%] FAILED eval/tests/test_epub_generation.py::test_epub_output_basic \n[gw25] [ 81%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_shows_warnings \n[gw97] [ 81%] FAILED eval/tests/test_rendering_options.py::test_html_dir_output \n[gw9] [ 82%] FAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc \neval/tests/test_stats.py::test_stats_long_flag \n[gw9] [ 83%] PASSED eval/tests/test_stats.py::test_stats_long_flag \n[gw8] [ 83%] FAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy \n[gw19] [ 84%] PASSED eval/tests/test_stats_functionality.py::test_stats_empty_chapters \n[gw37] [ 85%] FAILED eval/tests/test_edge_cases.py::test_very_long_content \n[gw21] [ 85%] PASSED eval/tests/test_verbose_quiet.py::test_verbose_flag \n[gw73] [ 86%] FAILED eval/tests/test_markdown_features.py::test_markdown_footnotes \n[gw14] [ 87%] FAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error \neval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw14] [ 87%] PASSED eval/tests/test_stats_functionality.py::test_stats_displays_word_count \n[gw101] [ 88%] FAILED eval/tests/test_set_option.py::test_set_multiple_options \n[gw3] [ 89%] FAILED eval/tests/test_special_flags.py::test_force_emoji_flag \n[gw126] [ 89%] FAILED eval/tests/test_single_file_rendering.py::test_single_tex_output \n[gw57] [ 90%] FAILED eval/tests/test_lang_option.py::test_lang_affects_messages \n[gw10] [ 90%] PASSED eval/tests/test_stats.py::test_stats_short_flag \n[gw115] [ 91%] FAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html \n[gw60] [ 92%] FAILED eval/tests/test_list_options.py::test_list_options_long_flag \n[gw113] [ 92%] FAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations \n[gw123] [ 93%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes \n[gw122] [ 94%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_links \n[gw121] [ 94%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters \n[gw127] [ 95%] FAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting \n[gw39] [ 96%] FAILED eval/tests/test_edge_cases.py::test_special_characters_in_title \n[gw119] [ 96%] FAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout \n[gw88] [ 97%] FAILED eval/tests/test_print_template.py::test_print_template_invalid \n[gw4] [ 98%] FAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag \n[gw23] [ 98%] FAILED eval/tests/test_verbose_quiet.py::test_quiet_flag \n[gw65] [ 99%] FAILED eval/tests/test_markdown_features.py::test_markdown_headings \n[gw34] [100%] FAILED eval/tests/test_create_book.py::test_create_book_file_already_exists \n\n=================================== FAILURES ===================================\n_________________________ test_print_template_html_dir _________________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError\n________________________ test_lang_with_book_processing ________________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp696e0tj4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError\n___________________________ test_set_invalid_option ____________________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3dvux_lv/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError\n_____________________ test_print_template_html_standalone ______________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError\n_________________________ test_print_template_html_css _________________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError\n___________________________ test_lang_option_english ___________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError\n___________________________ test_lang_option_french ____________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError\n____________________________ test_render_epub_basic ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpem8nvt4u/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError\n_____________________________ test_lang_short_flag _____________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError\n________________________ test_create_book_with_filename ________________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmppv7pd55q/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError\n_____________________________ test_markdown_lists ______________________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_f3q9evk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError\n__________________________ test_markdown_code_blocks ___________________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcnt71jhn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError\n________________________ test_list_options_shows_types _________________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError\n_______________________ test_list_options_shows_defaults _______________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError\n_______________________ test_invalid_option_shows_error ________________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError\n_____________________________ test_help_long_flag ______________________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError\n_____________________ test_list_options_shows_descriptions _____________________\n[gw64] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError\n_____________________________ test_epub_version_3 ______________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgowh4zj0/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError\n___________________________ test_to_with_short_flag ____________________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3qk3uyv4/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError\n_____________________________ test_epub_version_2 ______________________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpocapq4nq/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError\n_____________________________ test_markdown_links ______________________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp10giahzn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError\n________________________ test_set_with_spaces_in_value _________________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwiv5027f/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError\n_________________________ test_list_options_short_flag _________________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError\n______________________ test_missing_book_file_shows_error ______________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError\n___________________________ test_print_template_tex ____________________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError\n______________________________ test_to_tex_format ______________________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError\n__________________________ test_tex_standalone_output __________________________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmprv7ch2wv/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError\n____________________________ test_mixed_list_types _____________________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqdf_8t8x/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError\n___________________________ test_book_with_no_author ___________________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpae1mjmqd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError\n_______________________ test_print_template_epub_chapter _______________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError\n____________________________ test_render_tex_output ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuvnbytpu/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError\n_____________________________ test_help_short_flag _____________________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError\n_____________________ test_single_markdown_with_yaml_block _____________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmphmv5hk0o/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError\n____________________________ test_epub_with_to_flag ____________________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmp835ram9j/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError\n____________________________ test_render_to_stdout _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError\n__________________________ test_rendering_inline_toc ___________________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuviqbtrg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError\n_____________________________ test_book_tex_output _____________________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError\n_________________________ test_render_with_cover_image _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcfd880hv/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError\n_____________________________ test_output_file_tex _____________________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
' or b'\\\\begin' in b'T

A

T

\\n

Chapter 1
Chapter

Text.

\\n
')\n\neval/tests/test_output_formats.py:71: AssertionError\n_______________________ test_invalid_format_shows_error ________________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError\n__________________________ test_multiple_yaml_blocks ___________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6r4d90iz/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError\n____________________________ test_single_short_flag ____________________________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpcjledyht/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError\n____________________________ test_set_single_option ____________________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpil9dq61x/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpil9dq61x/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError\n__________________________ test_single_render_to_epub __________________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmptzy5ij5n/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError\n______________________________ test_nested_lists _______________________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8tc_s3se/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError\n_______________________ test_rendering_highlight_syntect _______________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiare4i5t/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiare4i5t/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError\n__________________________ test_markdown_blockquotes ___________________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp15cwnxb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError\n__________________________ test_rendering_with_cover ___________________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4ok1mwp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4ok1mwp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError\n________________________ test_book_with_relative_paths _________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp345t2y_p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError\n___________________________ test_set_boolean_option ____________________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcdorey76/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError\n__________________________ test_pdf_output_specified ___________________________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError\n___________________________ test_empty_markdown_file ___________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3lv1vyb7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError\n_________________________ test_help_shows_all_options __________________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError\n___________________________ test_book_with_no_title ____________________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpfmn68m4z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError\n______________________ test_print_template_multiple_types ______________________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError\n_____________________________ test_malformed_yaml ______________________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError\n_________________________ test_render_multiple_formats _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpd7_gwefc/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError\n______________________ test_render_error_missing_chapter _______________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError\n_____________________________ test_render_html_dir _____________________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9ifefz3g/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError\n_______________________ test_book_with_multiple_chapters _______________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkd5ah4gr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError\n___________________________ test_epub_with_metadata ____________________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkqs5hg_a/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError\n___________________________ test_book_with_metadata ____________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp57t44lza/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError\n_________________________ test_epub_multiple_chapters __________________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkr52y_nu/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError\n________________________ test_single_markdown_features _________________________\n[gw114] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpgpk40js2/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError\n_________________________ test_single_with_set_options _________________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcvq_l8c3/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError\n_________________________ test_print_template_epub_css _________________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError\n_____________________________ test_combined_flags ______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmppq4kaznq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError\n_________________________ test_basic_book_html_output __________________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj6uklxsl/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError\n_____________________ test_single_render_multiple_formats ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcvhvuf4k/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError\n__________________________ test_autograph_short_flag ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp5a_5phr5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp5a_5phr5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError\n____________________________ test_markdown_emphasis ____________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplg2uizv3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError\n_____________________________ test_unicode_content _____________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis \ud83d\ude00 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpb2frhw3r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw112] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqg1xptpm/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqg1xptpm/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError\n________________________ test_markdown_horizontal_rules ________________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5s4hnn04/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError\n______________________ test_output_without_to_shows_error ______________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError\n________________________ test_book_missing_chapter_file ________________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError\n_____________________________ test_markdown_tables _____________________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwvczatbj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError\n_____________________________ test_autograph_flag ______________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpc4mt2ryn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpc4mt2ryn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError\n_____________________________ test_to_html_format ______________________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp17hbnw28/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError\n________________________ test_rendering_highlight_none _________________________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuga5rb_r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError\n___________________________ test_rendering_numbering ___________________________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyvwn235e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError\n____________________________ test_quiet_with_error _____________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError\n________________________ test_single_without_yaml_block ________________________\n[gw110] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpf3d1qqs1/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError\n__________________________ test_set_rendering_option ___________________________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_eedlt_4/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError\n______________________________ test_no_fancy_flag ______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmphcq8e8o0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError\n___________________________ test_no_fancy_short_flag ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpkfurf8az/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError\n_________________________ test_print_template_to_file __________________________\n[gw89] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError\n____________________________ test_epub_output_basic ____________________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpr6nnl68m/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError\n_____________________________ test_html_dir_output _____________________________\n[gw97] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3ff0vs8h/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError\n_________________________ test_render_with_inline_toc __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

TOC Author

Book with TOC

\\n

Chapter 1
Chapter One

First content.

\\n
\\n

Chapter 2
Chapter Two

Second content.

\\n
'.count\n\neval/tests/test_actual_rendering.py:389: AssertionError\n__________________________ test_verbose_with_no_fancy __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmptmd21j6u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError\n____________________________ test_very_long_content ____________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpstuey76o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError\n___________________________ test_markdown_footnotes ____________________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp63omoiix/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError\n________________________ test_no_arguments_shows_error _________________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError\n__________________________ test_set_multiple_options ___________________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2pizpbaz/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError\n____________________________ test_force_emoji_flag _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test \ud83d\ude00\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpkvcpx2_6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError\n____________________________ test_single_tex_output ____________________________\n[gw126] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

\\n

--- author: LaTeX Author title: LaTeX Doc ---

\\n

Chapter 1
LaTeX Content

Some content with **bold**.

\\n
'\n\neval/tests/test_single_file_rendering.py:369: AssertionError\n__________________________ test_lang_affects_messages __________________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError\n__________________________ test_single_render_to_html __________________________\n[gw115] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyhibx3g_/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError\n_________________________ test_list_options_long_flag __________________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError\n___________________ test_single_with_inline_yaml_variations ____________________\n[gw113] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbdzb33ms/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError\n_________________________ test_single_with_blockquotes _________________________\n[gw123] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmportu6ea6/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmportu6ea6/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n____________________________ test_single_with_links ____________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmppkm68x66/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmppkm68x66/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n______________________ test_single_with_multiple_chapters ______________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpax2ui2xz/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpax2ui2xz/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_____________________ test_single_with_syntax_highlighting _____________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp8t00_ogr/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp8t00_ogr/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n_______________________ test_special_characters_in_title _______________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd9hw5h_e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError\n____________________________ test_single_to_stdout _____________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError\n_________________________ test_print_template_invalid __________________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError\n_________________________ test_force_emoji_short_flag __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp2ilamgc1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError\n_______________________________ test_quiet_flag ________________________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmppia1o_jr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError\n____________________________ test_markdown_headings ____________________________\n[gw65] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplnpeu10l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError\n_____________________ test_create_book_file_already_exists _____________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\n\ntemp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_print_template.py::test_print_template_html_dir - Asse...\nFAILED eval/tests/test_lang_option.py::test_lang_with_book_processing - Asser...\nFAILED eval/tests/test_set_option.py::test_set_invalid_option - AssertionErro...\nFAILED eval/tests/test_print_template.py::test_print_template_html_standalone\nFAILED eval/tests/test_print_template.py::test_print_template_html_css - Asse...\nFAILED eval/tests/test_lang_option.py::test_lang_option_english - AssertionEr...\nFAILED eval/tests/test_lang_option.py::test_lang_option_french - AssertionErr...\nFAILED eval/tests/test_actual_rendering.py::test_render_epub_basic - Assertio...\nFAILED eval/tests/test_lang_option.py::test_lang_short_flag - AssertionError:...\nFAILED eval/tests/test_create_book.py::test_create_book_with_filename - Asser...\nFAILED eval/tests/test_markdown_features.py::test_markdown_lists - AssertionE...\nFAILED eval/tests/test_markdown_features.py::test_markdown_code_blocks - Asse...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_types - Asser...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_defaults - As...\nFAILED eval/tests/test_basic_invocation.py::test_invalid_option_shows_error\nFAILED eval/tests/test_basic_invocation.py::test_help_long_flag - AssertionEr...\nFAILED eval/tests/test_list_options.py::test_list_options_shows_descriptions\nFAILED eval/tests/test_epub_generation.py::test_epub_version_3 - AssertionErr...\nFAILED eval/tests/test_output_formats.py::test_to_with_short_flag - Assertion...\nFAILED eval/tests/test_epub_generation.py::test_epub_version_2 - AssertionErr...\nFAILED eval/tests/test_markdown_features.py::test_markdown_links - AssertionE...\nFAILED eval/tests/test_set_option.py::test_set_with_spaces_in_value - Asserti...\nFAILED eval/tests/test_list_options.py::test_list_options_short_flag - Assert...\nFAILED eval/tests/test_basic_invocation.py::test_missing_book_file_shows_error\nFAILED eval/tests/test_print_template.py::test_print_template_tex - Assertion...\nFAILED eval/tests/test_output_formats.py::test_to_tex_format - AssertionError...\nFAILED eval/tests/test_rendering_options.py::test_tex_standalone_output - Ass...\nFAILED eval/tests/test_edge_cases.py::test_mixed_list_types - AssertionError:...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_author - AssertionErr...\nFAILED eval/tests/test_print_template.py::test_print_template_epub_chapter - ...\nFAILED eval/tests/test_actual_rendering.py::test_render_tex_output - Assertio...\nFAILED eval/tests/test_basic_invocation.py::test_help_short_flag - AssertionE...\nFAILED eval/tests/test_single_file.py::test_single_markdown_with_yaml_block\nFAILED eval/tests/test_epub_generation.py::test_epub_with_to_flag - Assertion...\nFAILED eval/tests/test_actual_rendering.py::test_render_to_stdout - Assertion...\nFAILED eval/tests/test_rendering_options.py::test_rendering_inline_toc - Asse...\nFAILED eval/tests/test_book_processing.py::test_book_tex_output - AssertionEr...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_cover_image - As...\nFAILED eval/tests/test_output_formats.py::test_output_file_tex - assert (b'\\\\...\nFAILED eval/tests/test_output_formats.py::test_invalid_format_shows_error - A...\nFAILED eval/tests/test_edge_cases.py::test_multiple_yaml_blocks - AssertionEr...\nFAILED eval/tests/test_single_file.py::test_single_short_flag - AssertionErro...\nFAILED eval/tests/test_set_option.py::test_set_single_option - AssertionError...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_epub\nFAILED eval/tests/test_edge_cases.py::test_nested_lists - AssertionError: ass...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_syntect\nFAILED eval/tests/test_markdown_features.py::test_markdown_blockquotes - Asse...\nFAILED eval/tests/test_rendering_options.py::test_rendering_with_cover - Asse...\nFAILED eval/tests/test_book_processing.py::test_book_with_relative_paths - As...\nFAILED eval/tests/test_set_option.py::test_set_boolean_option - AssertionErro...\nFAILED eval/tests/test_rendering_options.py::test_pdf_output_specified - Asse...\nFAILED eval/tests/test_edge_cases.py::test_empty_markdown_file - AssertionErr...\nFAILED eval/tests/test_basic_invocation.py::test_help_shows_all_options - Ass...\nFAILED eval/tests/test_edge_cases.py::test_book_with_no_title - AssertionErro...\nFAILED eval/tests/test_print_template.py::test_print_template_multiple_types\nFAILED eval/tests/test_edge_cases.py::test_malformed_yaml - AssertionError: a...\nFAILED eval/tests/test_actual_rendering.py::test_render_multiple_formats - As...\nFAILED eval/tests/test_actual_rendering.py::test_render_error_missing_chapter\nFAILED eval/tests/test_actual_rendering.py::test_render_html_dir - AssertionE...\nFAILED eval/tests/test_book_processing.py::test_book_with_multiple_chapters\nFAILED eval/tests/test_epub_generation.py::test_epub_with_metadata - Assertio...\nFAILED eval/tests/test_book_processing.py::test_book_with_metadata - Assertio...\nFAILED eval/tests/test_epub_generation.py::test_epub_multiple_chapters - Asse...\nFAILED eval/tests/test_single_file.py::test_single_markdown_features - Assert...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_set_options\nFAILED eval/tests/test_print_template.py::test_print_template_epub_css - Asse...\nFAILED eval/tests/test_special_flags.py::test_combined_flags - AssertionError...\nFAILED eval/tests/test_book_processing.py::test_basic_book_html_output - Asse...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_multiple_formats\nFAILED eval/tests/test_special_flags.py::test_autograph_short_flag - Assertio...\nFAILED eval/tests/test_markdown_features.py::test_markdown_emphasis - Asserti...\nFAILED eval/tests/test_edge_cases.py::test_unicode_content - AssertionError: ...\nFAILED eval/tests/test_single_file.py::test_single_tex_output - AssertionErro...\nFAILED eval/tests/test_markdown_features.py::test_markdown_horizontal_rules\nFAILED eval/tests/test_output_formats.py::test_output_without_to_shows_error\nFAILED eval/tests/test_book_processing.py::test_book_missing_chapter_file - A...\nFAILED eval/tests/test_markdown_features.py::test_markdown_tables - Assertion...\nFAILED eval/tests/test_special_flags.py::test_autograph_flag - AssertionError...\nFAILED eval/tests/test_output_formats.py::test_to_html_format - AssertionErro...\nFAILED eval/tests/test_rendering_options.py::test_rendering_highlight_none - ...\nFAILED eval/tests/test_rendering_options.py::test_rendering_numbering - Asser...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_with_error - AssertionErr...\nFAILED eval/tests/test_single_file.py::test_single_without_yaml_block - Asser...\nFAILED eval/tests/test_set_option.py::test_set_rendering_option - AssertionEr...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_flag - AssertionError:...\nFAILED eval/tests/test_special_flags.py::test_no_fancy_short_flag - Assertion...\nFAILED eval/tests/test_print_template.py::test_print_template_to_file - Asser...\nFAILED eval/tests/test_epub_generation.py::test_epub_output_basic - Assertion...\nFAILED eval/tests/test_rendering_options.py::test_html_dir_output - Assertion...\nFAILED eval/tests/test_actual_rendering.py::test_render_with_inline_toc - ass...\nFAILED eval/tests/test_special_flags.py::test_verbose_with_no_fancy - Asserti...\nFAILED eval/tests/test_edge_cases.py::test_very_long_content - AssertionError...\nFAILED eval/tests/test_markdown_features.py::test_markdown_footnotes - Assert...\nFAILED eval/tests/test_basic_invocation.py::test_no_arguments_shows_error - A...\nFAILED eval/tests/test_set_option.py::test_set_multiple_options - AssertionEr...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_flag - AssertionErr...\nFAILED eval/tests/test_single_file_rendering.py::test_single_tex_output - ass...\nFAILED eval/tests/test_lang_option.py::test_lang_affects_messages - Assertion...\nFAILED eval/tests/test_single_file_rendering.py::test_single_render_to_html\nFAILED eval/tests/test_list_options.py::test_list_options_long_flag - Asserti...\nFAILED eval/tests/test_single_file.py::test_single_with_inline_yaml_variations\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_blockquotes\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_links - Fil...\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_multiple_chapters\nFAILED eval/tests/test_single_file_rendering.py::test_single_with_syntax_highlighting\nFAILED eval/tests/test_edge_cases.py::test_special_characters_in_title - Asse...\nFAILED eval/tests/test_single_file_rendering.py::test_single_to_stdout - Asse...\nFAILED eval/tests/test_print_template.py::test_print_template_invalid - Asser...\nFAILED eval/tests/test_special_flags.py::test_force_emoji_short_flag - Assert...\nFAILED eval/tests/test_verbose_quiet.py::test_quiet_flag - AssertionError: as...\nFAILED eval/tests/test_markdown_features.py::test_markdown_headings - Asserti...\nFAILED eval/tests/test_create_book.py::test_create_book_file_already_exists\n======================== 112 failed, 43 passed in 4.31s ========================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.20267980400001306, "output": "def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionErrordef test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuvnbytpu/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fab1553e7d0>\n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkqs5hg_a/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb9e2592440>\n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_f3q9evk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd8a0b663e0>\n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkr52y_nu/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2f6baa3fd0>\n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplg2uizv3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f876f91e320>\n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3qk3uyv4/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2e6f84bc40>\n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcnt71jhn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f945e2d6530>\n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5s4hnn04/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f677f1867d0>\n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp17hbnw28/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5133fd7fd0>\n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f5133ec3570>()\nE + where <built-in method lower of bytes object at 0x7f5133ec3570> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp63omoiix/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionErrordef test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f197692e530>\n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8tc_s3se/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionErrordef test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0b43b22440>\n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = <built-in method encode of str object at 0x7f0b43b35f30>()\nE + where <built-in method encode of str object at 0x7f0b43b35f30> = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkd5ah4gr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f46161be590>\n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8aed75e530>\n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpb2frhw3r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f86584ef8e0>\n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj6uklxsl/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8ed43fe2f0>\n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcdorey76/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4dd38c6440>\n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionErrordef test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9318253fd0>\n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpr6nnl68m/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9178942590>\n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp10giahzn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2dfd68a530>\n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqdf_8t8x/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionErrordef test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9dce056380>\n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp696e0tj4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionErrordef test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionErrordef test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpd7_gwefc/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionErrordef test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcfd880hv/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3f6be2e320>\n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp57t44lza/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionErrordef test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = <built-in method count of str object at 0x55a01fcfe1a0>('Chapter One')\nE + where <built-in method count of str object at 0x55a01fcfe1a0> = '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with TOC</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">TOC Author</h2><h1 class=\"title\">Book with TOC</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">First content.</p>\\n</div><div id=\"chapter-1\" class=\"chapter\">\\n<h1 id=\\'link-2\\'><span class=\"chapter-header\">Chapter 2</span><br />Chapter Two</h1><p id=\"para-2\">Second content.</p>\\n</div></div></div></body></html>'.count\n\neval/tests/test_actual_rendering.py:389: AssertionErrordef test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionErrordef test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpem8nvt4u/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionErrordef test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f0946efa530>\n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp15cwnxb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionErrordef test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionErrordef test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionErrordef test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionErrordef test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9ifefz3g/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6179f4e440>\n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f617a3f03f0>()\nE + where <built-in method lower of bytes object at 0x7f617a3f03f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f617a3f03f0>()\nE + where <built-in method lower of bytes object at 0x7f617a3f03f0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3da9b0f430>\n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2pizpbaz/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd46ec62560>\n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_eedlt_4/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f70926863e0>\n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpcjledyht/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionErrordef test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdb59cb7fd0>\n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpf3d1qqs1/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f2596802440>\n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbdzb33ms/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fae472f3c40>\n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp345t2y_p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f07aa187c70>\n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3ff0vs8h/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionErrordef test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9a52a82170>\n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f9a52a91ff0>()\nE + where <built-in method lower of bytes object at 0x7f9a52a91ff0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fe82cfda560>\n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fe82d4783f0>()\nE + where <built-in method lower of bytes object at 0x7fe82d4783f0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fe82d4783f0>()\nE + where <built-in method lower of bytes object at 0x7fe82d4783f0> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3e074f2530>\n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiare4i5t/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiare4i5t/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f68e0b76590>\n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpae1mjmqd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionErrordef test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd670dea320>\n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuga5rb_r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionErrordef test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f8ee09da7d0>\n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqg1xptpm/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqg1xptpm/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionErrordef test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb783f32440>\n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n' = <built-in method lower of bytes object at 0x7fb7883596b0>()\nE + where <built-in method lower of bytes object at 0x7fb7883596b0> = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa0ff357fd0>\n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpocapq4nq/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionErrordef test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f78f4872530>\n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3lv1vyb7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionErrordef test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f6dc4d563e0>\n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6r4d90iz/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionErrordef test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionErrordef test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f4eec477fd0>\n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmppv7pd55q/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionErrordef test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f9cc74b7fd0>\n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f9cc7af9e30>()\nE + where <built-in method lower of bytes object at 0x7f9cc7af9e30> = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = <built-in method lower of bytes object at 0x7f9cc9008030>()\nE + where <built-in method lower of bytes object at 0x7f9cc9008030> = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f49dbd263e0>\n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuviqbtrg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f43012d2440>\n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyvwn235e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1b230dffd0>\n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>' or b'\\\\begin' in b'<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>T</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">A</h2><h1 class=\"title\">T</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Text.</p>\\n</div></div></div></body></html>')\n\neval/tests/test_output_formats.py:71: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f463dfc6410>\n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fec3ef52530>\n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: <Special> 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd9hw5h_e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f07ac8863e0>\n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpil9dq61x/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpil9dq61x/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f59089f63e0>\n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f59089f3db0>()\nE + where <built-in method lower of bytes object at 0x7f59089f3db0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f59089f3db0>()\nE + where <built-in method lower of bytes object at 0x7f59089f3db0> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3dvux_lv/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fa975b8e1d0>\n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = <function is_zipfile at 0x7fa9767065f0>(PosixPath('/tmp/tmp835ram9j/test.epub'))\nE + where <function is_zipfile at 0x7fa9767065f0> = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fdd9b1427d0>\n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpstuey76o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f1e5eeea7d0>\n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwvczatbj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f42bec5a590>\n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmprv7ch2wv/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f7974832440>\n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmphmv5hk0o/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f14d64a2530>\n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4ok1mwp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4ok1mwp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3741217fd0>\n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgowh4zj0/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionErrordef test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionErrordef test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionErrordef test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f23b306e590>\n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplnpeu10l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionErrordef test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionErrordef test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyhibx3g_/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f825ca7e440>\n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpfmn68m4z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fcc88266590>\n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpgpk40js2/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionErrordef test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionErrordef test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmptzy5ij5n/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5c16c127d0>\n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwiv5027f/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f98c37c23e0>\n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f98c3a8d170>()\nE + where <built-in method lower of bytes object at 0x7f98c3a8d170> = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7f98c3a8d170>()\nE + where <built-in method lower of bytes object at 0x7f98c3a8d170> = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionErrordef test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcvq_l8c3/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionErrordef test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmppkm68x66/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmppkm68x66/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpax2ui2xz/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpax2ui2xz/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmportu6ea6/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmportu6ea6/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp8t00_ogr/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp8t00_ogr/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrordef test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<p id=\"para-1\">--- author: LaTeX Author title: LaTeX Doc ---</p>\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />LaTeX Content</h1><p id=\"para-2\">Some content with **bold**.</p>\\n</div></div></div></body></html>'\n\neval/tests/test_single_file_rendering.py:369: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fb14cbb9270>\n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp5a_5phr5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp5a_5phr5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7ff9a8a104f0>\n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmppq4kaznq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionErrordef test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcvhvuf4k/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f285ae617b0>\n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpkvcpx2_6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fd062371fc0>\n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmphcq8e8o0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f18b3372470>\n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpc4mt2ryn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpc4mt2ryn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f600b910ee0>\n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmptmd21j6u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fae46f13910>\n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = <built-in method lower of bytes object at 0x7fae46f7db70>()\nE + where <built-in method lower of bytes object at 0x7fae46f7db70> = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionErrortemp_files = <conftest.TempFiles object at 0x7fbb4081e1d0>\n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpkfurf8az/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f5eeb5bfc40>\n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp2ilamgc1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionErrortemp_files = <conftest.TempFiles object at 0x7f3f6be2e2f0>\n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmppia1o_jr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError", "returncode": 0, "exception_info": "", "branch": "coverage-test-jeff-coverage_all_50pct__claude-4-5-sonnet-genai_iter5_judge-20260325_123512"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.04630130800001098, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/frozen-scaffold-testgen-20260410_095554", "wall_time": 0.0773864359999834, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was b7f0d36 coverage-test result\nHEAD is now at d97b57c State update (completions=22)\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04527505999999448, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04437642400000641, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.04572212400000808, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.042871423000008235, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 6.686439898999993, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/eval\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 30.0s\ntimeout method: signal\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [506 items]\n\nscheduling tests via LoadScheduling\n\ntests/test_book.py::test_basic_metadata_fields \ntests/test_book.py::test_additional_metadata_fields \ntests/test_book.py::test_option_strvec_invalid_element_type \ntests/test_book.py::test_boolean_option_parsing \ntests/test_book.py::test_option_type_error_bool_as_int \ntests/test_book.py::test_output_base_path_option \ntests/test_book.py::test_option_import_merges_settings \ntests/test_cli.py::test_list_options_flag \ntests/test_book.py::test_part_syntax_at_sign \ntests/test_cli.py::test_force_emoji_flag \ntests/test_book.py::test_book_file_with_yaml_style_multiline_string \ntests/test_book.py::test_path_option_with_subdirectory \ntests/test_cli.py::test_version_flag \ntests/test_cli.py::test_relative_path_handling_in_book \ntests/test_book.py::test_rendering_roman_numerals_option \ntests/test_epub.py::test_custom_css_addition \ntests/test_epub.py::test_multiple_chapters_toc \ntests/test_book.py::test_option_set_method_multiple_yaml_docs_error \ntests/test_book.py::test_unrecognized_option_error \ntests/test_book.py::test_book_with_empty_lines \ntests/test_book.py::test_hidden_chapter_exclamation_syntax \ntests/test_book.py::test_resources_files_option \ntests/test_book.py::test_rendering_options_num_depth \ntests/test_cli.py::test_autograph_mode_requires_stdin \ntests/test_book.py::test_cover_metadata_field \ntests/test_cli.py::test_set_invalid_option_error \ntests/test_cli.py::test_verbose_quiet_conflict \ntests/test_book.py::test_option_path_with_special_chars \ntests/test_epub.py::test_basic_epub_structure \ntests/test_book.py::test_numbered_chapter_plus_syntax \ntests/test_book.py::test_deprecated_option_with_alias \ntests/test_cli.py::test_verbose_flag_shows_debug_output \ntests/test_book.py::test_tex_options_paper_size \ntests/test_epub.py::test_chapter_numbering \ntests/test_book.py::test_option_int_negative_values \ntests/test_cli.py::test_create_book_with_files \ntests/test_cli.py::test_stdin_single_mode \ntests/test_book.py::test_missing_markdown_file_error \ntests/test_book.py::test_option_type_error_array_as_string \ntests/test_epub.py::test_xhtml_content_valid \ntests/test_book.py::test_option_custom_metadata_invalid_type \ntests/test_book.py::test_inline_toc_name_option \ntests/test_cli.py::test_missing_book_file_error \ntests/test_cli.py::test_output_to_stdout \ntests/test_cli.py::test_print_template_html_css \ntests/test_epub.py::test_spine_ordering \ntests/test_cli.py::test_single_mode_epub_output \ntests/test_epub.py::test_epub_version_3_explicit \ntests/test_cli.py::test_multiple_set_flags_error \ntests/test_book.py::test_option_float_wrong_yaml_type \ntests/test_book.py::test_html_css_add_option \ntests/test_epub.py::test_empty_book_error \ntests/test_cli.py::test_book_mode_with_output_path_in_config \ntests/test_book.py::test_option_resources_base_path_links \ntests/test_epub.py::test_cover_image_handling \ntests/test_epub.py::test_list_rendering \ntests/test_epub.py::test_footnote_handling_epub2 \ntests/test_cli.py::test_stats_with_verbose_flag \ntests/test_book.py::test_option_strvec_invalid_output_format \ntests/test_epub.py::test_ncx_depth_metadata \ntests/test_epub.py::test_metadata_generator_crowbook \ntests/test_epub.py::test_manifest_items_have_ids \ntests/test_epub.py::test_heading_ids_in_chapters \ntests/test_book.py::test_option_path_relative_with_base_path \ntests/test_epub.py::test_toc_extras_option \ntests/test_epub.py::test_html_escaping_in_metadata \ntests/test_errors.py::test_conflicting_quiet_verbose_flags \ntests/test_errors.py::test_output_to_stdout_with_dash \ntests/test_errors.py::test_missing_cover_image \ntests/test_errors.py::test_multiple_errors_accumulation \ntests/test_errors.py::test_no_arguments_error \ntests/test_errors.py::test_invalid_boolean_option_value \ntests/test_errors.py::test_missing_required_metadata_title \ntests/test_html_dir.py::test_html_dir_multiple_chapters_with_sections \ntests/test_errors.py::test_pdf_rendering_latex_missing \ntests/test_errors.py::test_multiple_error_types_in_same_book \n[gw9] [ 0%] PASSED tests/test_book.py::test_cover_metadata_field \ntests/test_errors.py::test_duplicate_output_format_specification \ntests/test_html_dir.py::test_html_dir_chapter_file_naming_sequential \ntests/test_errors.py::test_malformed_yaml_configuration \ntests/test_errors.py::test_invalid_yaml_structure_error \ntests/test_errors.py::test_output_directory_not_found \ntests/test_html_dir.py::test_html_dir_images_directory_created \ntests/test_html_dir.py::test_html_dir_chapter_files_have_navigation_menu \n[gw8] [ 0%] PASSED tests/test_book.py::test_part_syntax_at_sign \ntests/test_errors.py::test_multiple_chapter_errors_reported \n[gw32] [ 0%] PASSED tests/test_cli.py::test_version_flag \ntests/test_errors.py::test_invalid_to_format \ntests/test_errors.py::test_set_with_wrong_argument_count \n[gw16] [ 0%] PASSED tests/test_book.py::test_path_option_with_subdirectory \ntests/test_errors.py::test_file_not_found_with_description \ntests/test_errors.py::test_single_mode_with_markdown_file \ntests/test_html_dir.py::test_html_dir_chapter_numbering_in_titles \n[gw30] [ 0%] PASSED tests/test_book.py::test_option_path_with_special_chars \n[gw48] [ 1%] PASSED tests/test_cli.py::test_relative_path_handling_in_book \ntests/test_html_dir.py::test_html_dir_json_ld_structured_data \ntests/test_errors.py::test_zipper_error_epub_creation \ntests/test_errors.py::test_book_option_type_error_formatting \ntests/test_errors.py::test_quiet_mode_suppresses_header \n[gw26] [ 1%] PASSED tests/test_book.py::test_option_path_relative_with_base_path \n[gw28] [ 1%] PASSED tests/test_book.py::test_option_resources_base_path_links \ntests/test_html_dir.py::test_html_dir_cleans_previous_output \ntests/test_html_dir.py::test_html_dir_index_next_link_to_first_chapter \n[gw45] [ 1%] PASSED tests/test_cli.py::test_stats_with_verbose_flag \ntests/test_html_dir.py::test_html_dir_viewport_meta_for_mobile \ntests/test_errors.py::test_render_error_epub_missing_cover \n[gw15] [ 1%] PASSED tests/test_book.py::test_boolean_option_parsing \ntests/test_html_dir.py::test_html_dir_chapter_content_matches_markdown \ntests/test_html_dir.py::test_html_dir_blockquote_rendering \n[gw12] [ 2%] PASSED tests/test_book.py::test_resources_files_option \ntests/test_errors.py::test_render_error_pdf_without_latex \ntests/test_html_dir.py::test_html_dir_highlight_js_files_included \ntests/test_html_dir.py::test_html_dir_emphasis_and_strong \ntests/test_html_dir.py::test_html_dir_inline_toc_on_index_when_enabled \ntests/test_html_dir.py::test_html_dir_first_chapter_has_only_next_link \ntests/test_html_dir.py::test_html_dir_error_when_output_path_is_file \ntests/test_html_dir.py::test_html_dir_middle_chapter_has_both_prev_and_next \ntests/test_html_dir.py::test_html_dir_toc_links_resolve_to_chapter_anchors \n[gw29] [ 2%] PASSED tests/test_book.py::test_option_set_method_multiple_yaml_docs_error \ntests/test_html_dir.py::test_html_dir_favicon_link_in_chapter_pages \n[gw5] [ 2%] PASSED tests/test_book.py::test_rendering_options_num_depth \n[gw4] [ 2%] PASSED tests/test_book.py::test_hidden_chapter_exclamation_syntax \ntests/test_html_dir.py::test_html_dir_lang_attribute_propagated \ntests/test_html_dir.py::test_html_dir_menu_svg_is_valid \ntests/test_html_dir.py::test_html_dir_cover_image_on_index_page \ntests/test_html_dir.py::test_html_dir_custom_css_added_to_stylesheet \ntests/test_html_dir.py::test_html_dir_favicon_on_index_page \ntests/test_html_dir.py::test_html_dir_index_page_links_to_first_chapter \ntests/test_html_dir.py::test_html_dir_chapter_title_in_browser_title_tag \ntests/test_html_single.py::test_markdown_headings_h1_to_h3 \n[gw43] [ 2%] PASSED tests/test_cli.py::test_book_mode_with_output_path_in_config \ntests/test_html_single.py::test_html_title_in_head \ntests/test_html_single.py::test_html_structure_valid_parseable \ntests/test_html_dir.py::test_html_dir_menu_svg_always_included \ntests/test_html_single.py::test_markdown_links \ntests/test_html_single.py::test_markdown_ordered_list \ntests/test_html_single.py::test_markdown_code_inline \ntests/test_html_single.py::test_markdown_table_rendering \ntests/test_html_single.py::test_image_base64_embedded \ntests/test_html_single.py::test_html_horizontal_rule \ntests/test_html_single.py::test_schema_org_metadata_json_ld \ntests/test_html_single.py::test_metadata_author_meta_tag \n[gw31] [ 3%] PASSED tests/test_book.py::test_option_int_negative_values \ntests/test_html_single.py::test_toc_links_resolve_to_chapters \n[gw3] [ 3%] PASSED tests/test_book.py::test_numbered_chapter_plus_syntax \n[gw75] [ 3%] PASSED tests/test_errors.py::test_missing_required_metadata_title \ntests/test_book.py::test_rendering_highlight_option \n[gw79] [ 3%] PASSED tests/test_errors.py::test_single_mode_with_markdown_file \ntests/test_book.py::test_option_bool_accepts_true_false_values \ntests/test_cli.py::test_absolute_path_output \ntests/test_book.py::test_unnumbered_part_syntax \ntests/test_book.py::test_epub_version_option \ntests/test_cli.py::test_help_flag_full_output \ntests/test_book.py::test_option_resources_base_path_templates \ntests/test_book.py::test_list_options_flag \ntests/test_cli.py::test_output_formats_html_dir \ntests/test_book.py::test_subchapter_double_dash_syntax \ntests/test_book.py::test_option_multiple_imports_chain \ntests/test_book.py::test_rendering_inline_toc_option \ntests/test_book.py::test_integer_option_parsing \n[gw80] [ 3%] PASSED tests/test_errors.py::test_duplicate_output_format_specification \ntests/test_book.py::test_specific_chapter_number_syntax \ntests/test_cli.py::test_book_mode_override_output_with_flag \ntests/test_book.py::test_option_epub_version_validation \ntests/test_book.py::test_unnumbered_chapter_minus_syntax \ntests/test_errors.py::test_error_with_line_number_precision \ntests/test_errors.py::test_invalid_yaml_in_book_config \ntests/test_errors.py::test_invalid_book_option_error_formatting \n[gw126] [ 4%] PASSED tests/test_html_single.py::test_toc_links_resolve_to_chapters \n[gw116] [ 4%] PASSED tests/test_html_single.py::test_html_structure_valid_parseable \ntests/test_html_single.py::test_javascript_embedded_in_standalone \ntests/test_html_single.py::test_html_utf8_encoding_meta \n[gw23] [ 4%] FAILED tests/test_book.py::test_option_import_merges_settings \n[gw0] [ 4%] FAILED tests/test_book.py::test_basic_metadata_fields \ntests/test_book.py::test_option_custom_metadata_fields \ntests/test_book.py::test_multiple_authors \n[gw34] [ 4%] FAILED tests/test_cli.py::test_missing_book_file_error \n[gw21] [ 5%] FAILED tests/test_book.py::test_option_strvec_invalid_element_type \n[gw18] [ 5%] FAILED tests/test_book.py::test_option_type_error_array_as_string \n[gw42] [ 5%] FAILED tests/test_cli.py::test_stdin_single_mode \n[gw17] [ 5%] FAILED tests/test_book.py::test_rendering_roman_numerals_option \n[gw1] [ 5%] FAILED tests/test_book.py::test_additional_metadata_fields \ntests/test_cli.py::test_quiet_flag_suppresses_banner \ntests/test_book.py::test_option_strvec_not_array \ntests/test_book.py::test_option_type_error_string_as_int \n[gw19] [ 6%] FAILED tests/test_book.py::test_option_type_error_bool_as_int \ntests/test_cli.py::test_stdin_book_mode \n[gw24] [ 6%] FAILED tests/test_book.py::test_option_custom_metadata_invalid_type \n[gw46] [ 6%] FAILED tests/test_cli.py::test_force_emoji_flag \ntests/test_book.py::test_option_type_error_int_as_string \n[gw30] [ 6%] PASSED tests/test_book.py::test_option_bool_accepts_true_false_values \n[gw38] [ 6%] FAILED tests/test_cli.py::test_output_to_stdout \ntests/test_book.py::test_book_with_comments \n[gw44] [ 7%] FAILED tests/test_cli.py::test_multiple_set_flags_error \n[gw57] [ 7%] FAILED tests/test_epub.py::test_empty_book_error \ntests/test_book.py::test_option_type_error_string_as_bool \ntests/test_book.py::test_option_float_invalid_string \n[gw11] [ 7%] FAILED tests/test_book.py::test_html_css_add_option \n[gw48] [ 7%] PASSED tests/test_cli.py::test_absolute_path_output \n[gw7] [ 7%] FAILED tests/test_book.py::test_missing_markdown_file_error \n[gw33] [ 8%] FAILED tests/test_cli.py::test_list_options_flag \n[gw40] [ 8%] FAILED tests/test_cli.py::test_print_template_html_css \ntests/test_html_single.py::test_nested_lists \n[gw25] [ 8%] FAILED tests/test_book.py::test_option_float_wrong_yaml_type \ntests/test_cli.py::test_lang_flag_affects_ui_language \ntests/test_cli.py::test_set_single_option \ntests/test_cli.py::test_set_multiple_values_in_single_flag \n[gw15] [ 8%] PASSED tests/test_book.py::test_integer_option_parsing \n[gw37] [ 8%] FAILED tests/test_cli.py::test_single_mode_epub_output \ntests/test_epub.py::test_title_page_content \ntests/test_html_single.py::test_multiple_paragraphs \ntests/test_book.py::test_input_clean_option \n[gw36] [ 9%] FAILED tests/test_cli.py::test_verbose_quiet_conflict \n[gw20] [ 9%] FAILED tests/test_book.py::test_deprecated_option_with_alias \ntests/test_cli.py::test_print_template_invalid_name \ntests/test_book.py::test_option_path_absolute_preserved \ntests/test_book.py::test_multifile_book_order_preservation \n[gw39] [ 9%] FAILED tests/test_cli.py::test_set_invalid_option_error \ntests/test_cli.py::test_no_input_file_error \n[gw43] [ 9%] PASSED tests/test_cli.py::test_book_mode_override_output_with_flag \n[gw14] [ 9%] FAILED tests/test_book.py::test_book_file_with_yaml_style_multiline_string \ntests/test_latex.py::test_basic_latex_structure_with_book_class \ntests/test_cli.py::test_single_mode_tex_output \n[gw35] [ 10%] FAILED tests/test_cli.py::test_verbose_flag_shows_debug_output \ntests/test_cli.py::test_single_mode_html_output \n[gw41] [ 10%] FAILED tests/test_cli.py::test_create_book_with_files \ntests/test_book.py::test_deprecated_option_removed_no_replacement \n[gw47] [ 10%] FAILED tests/test_cli.py::test_autograph_mode_requires_stdin \n[gw72] [ 10%] FAILED tests/test_errors.py::test_conflicting_quiet_verbose_flags \ntests/test_latex.py::test_unordered_list_to_itemize \ntests/test_book.py::test_output_list_format \n[gw10] [ 10%] FAILED tests/test_book.py::test_tex_options_paper_size \ntests/test_cli.py::test_stats_flag_shows_word_count \n[gw27] [ 11%] FAILED tests/test_book.py::test_unrecognized_option_error \n[gw116] [ 11%] PASSED tests/test_html_single.py::test_html_utf8_encoding_meta \n[gw88] [ 11%] FAILED tests/test_errors.py::test_invalid_yaml_structure_error \n[gw126] [ 11%] PASSED tests/test_html_single.py::test_javascript_embedded_in_standalone \n[gw13] [ 11%] FAILED tests/test_book.py::test_inline_toc_name_option \n[gw23] [ 12%] PASSED tests/test_book.py::test_option_custom_metadata_fields \n[gw68] [ 12%] FAILED tests/test_errors.py::test_invalid_to_format \n[gw82] [ 12%] FAILED tests/test_errors.py::test_zipper_error_epub_creation \n[gw66] [ 12%] FAILED tests/test_errors.py::test_no_arguments_error \n[gw2] [ 12%] FAILED tests/test_book.py::test_book_with_empty_lines \n[gw22] [ 13%] FAILED tests/test_book.py::test_option_strvec_invalid_output_format \n[gw81] [ 13%] FAILED tests/test_errors.py::test_book_option_type_error_formatting \n[gw76] [ 13%] FAILED tests/test_errors.py::test_multiple_errors_accumulation \n[gw67] [ 13%] FAILED tests/test_errors.py::test_malformed_yaml_configuration \n[gw87] [ 13%] FAILED tests/test_errors.py::test_multiple_chapter_errors_reported \n[gw71] [ 14%] FAILED tests/test_errors.py::test_missing_cover_image \n[gw83] [ 14%] FAILED tests/test_errors.py::test_file_not_found_with_description \n[gw78] [ 14%] FAILED tests/test_errors.py::test_output_to_stdout_with_dash \n[gw34] [ 14%] FAILED tests/test_cli.py::test_quiet_flag_suppresses_banner \n[gw86] [ 14%] FAILED tests/test_errors.py::test_render_error_epub_missing_cover \n[gw49] [ 15%] FAILED tests/test_epub.py::test_basic_epub_structure \n[gw84] [ 15%] FAILED tests/test_errors.py::test_multiple_error_types_in_same_book \n[gw77] [ 15%] FAILED tests/test_errors.py::test_invalid_boolean_option_value \n[gw74] [ 15%] FAILED tests/test_errors.py::test_pdf_rendering_latex_missing \n[gw70] [ 15%] FAILED tests/test_errors.py::test_output_directory_not_found \n[gw42] [ 16%] FAILED tests/test_cli.py::test_stdin_book_mode \n[gw6] [ 16%] FAILED tests/test_book.py::test_output_base_path_option \n[gw73] [ 16%] FAILED tests/test_errors.py::test_set_with_wrong_argument_count \ntests/test_cli.py::test_no_fancy_flag_disables_ui \n[gw46] [ 16%] PASSED tests/test_cli.py::test_lang_flag_affects_ui_language \n[gw85] [ 16%] FAILED tests/test_errors.py::test_render_error_pdf_without_latex \n[gw69] [ 16%] FAILED tests/test_errors.py::test_quiet_mode_suppresses_header \n[gw1] [ 17%] PASSED tests/test_book.py::test_book_with_comments \ntests/test_errors.py::test_set_invalid_option_key \n[gw7] [ 17%] PASSED tests/test_book.py::test_multifile_book_order_preservation \ntests/test_cli.py::test_create_book_with_set_options \n[gw89] [ 17%] FAILED tests/test_html_dir.py::test_html_dir_chapter_file_naming_sequential \ntests/test_cli.py::test_invalid_output_format_error \n[gw0] [ 17%] FAILED tests/test_book.py::test_multiple_authors \n[gw24] [ 17%] FAILED tests/test_book.py::test_option_float_invalid_string \n[gw11] [ 18%] PASSED tests/test_book.py::test_input_clean_option \n[gw51] [ 18%] FAILED tests/test_epub.py::test_spine_ordering \ntests/test_book.py::test_option_path_output_base_path_applied \ntests/test_latex.py::test_custom_title_and_author_in_metadata \n[gw91] [ 18%] FAILED tests/test_html_dir.py::test_html_dir_images_directory_created \n[gw95] [ 18%] FAILED tests/test_html_dir.py::test_html_dir_multiple_chapters_with_sections \ntests/test_book.py::test_rendering_chapter_template_option \n[gw25] [ 18%] PASSED tests/test_book.py::test_option_path_absolute_preserved \n[gw48] [ 19%] PASSED tests/test_html_single.py::test_multiple_paragraphs \ntests/test_latex.py::test_language_mapping_to_babel \n[gw58] [ 19%] FAILED tests/test_epub.py::test_chapter_numbering \ntests/test_book.py::test_date_metadata_field \n[gw38] [ 19%] FAILED tests/test_cli.py::test_set_single_option \n[gw19] [ 19%] FAILED tests/test_book.py::test_option_type_error_string_as_bool \ntests/test_html_dir.py::test_html_dir_creates_required_files \n[gw63] [ 19%] FAILED tests/test_epub.py::test_html_escaping_in_metadata \n[gw44] [ 20%] FAILED tests/test_cli.py::test_set_multiple_values_in_single_flag \ntests/test_errors.py::test_output_without_to_flag \ntests/test_latex.py::test_special_latex_characters_escaped \n[gw119] [ 20%] FAILED tests/test_html_single.py::test_markdown_links \n[gw100] [ 20%] FAILED tests/test_html_dir.py::test_html_dir_cleans_previous_output \ntests/test_errors.py::test_nonexistent_book_file \n[gw55] [ 20%] FAILED tests/test_epub.py::test_footnote_handling_epub2 \n[gw52] [ 20%] FAILED tests/test_epub.py::test_xhtml_content_valid \n[gw75] [ 21%] FAILED tests/test_errors.py::test_invalid_yaml_in_book_config \n[gw20] [ 21%] FAILED tests/test_book.py::test_deprecated_option_removed_no_replacement \n[gw124] [ 21%] FAILED tests/test_html_single.py::test_html_horizontal_rule \n[gw59] [ 21%] FAILED tests/test_epub.py::test_manifest_items_have_ids \n[gw40] [ 21%] FAILED tests/test_cli.py::test_print_template_invalid_name \n[gw53] [ 22%] FAILED tests/test_epub.py::test_cover_image_handling \n[gw21] [ 22%] FAILED tests/test_book.py::test_option_strvec_not_array \ntests/test_errors.py::test_render_error_invalid_html_template_var \n[gw127] [ 22%] FAILED tests/test_html_single.py::test_schema_org_metadata_json_ld \n[gw122] [ 22%] FAILED tests/test_html_single.py::test_markdown_table_rendering \n[gw16] [ 22%] FAILED tests/test_book.py::test_unnumbered_part_syntax \n[gw4] [ 23%] FAILED tests/test_book.py::test_specific_chapter_number_syntax \n[gw121] [ 23%] FAILED tests/test_html_single.py::test_markdown_code_inline \n[gw32] [ 23%] FAILED tests/test_cli.py::test_help_flag_full_output \n[gw117] [ 23%] FAILED tests/test_html_single.py::test_html_title_in_head \n[gw33] [ 23%] FAILED tests/test_cli.py::test_no_input_file_error \n[gw37] [ 24%] FAILED tests/test_cli.py::test_single_mode_tex_output \n[gw8] [ 24%] FAILED tests/test_book.py::test_rendering_highlight_option \n[gw118] [ 24%] FAILED tests/test_html_single.py::test_markdown_headings_h1_to_h3 \n[gw36] [ 24%] FAILED tests/test_cli.py::test_single_mode_html_output \n[gw104] [ 24%] FAILED tests/test_html_dir.py::test_html_dir_highlight_js_files_included \n[gw30] [ 25%] FAILED tests/test_html_single.py::test_nested_lists \n[gw90] [ 25%] FAILED tests/test_html_dir.py::test_html_dir_chapter_files_have_navigation_menu \ntests/test_book.py::test_option_import_nonexistent_file \n[gw61] [ 25%] FAILED tests/test_epub.py::test_metadata_generator_crowbook \n[gw47] [ 25%] FAILED tests/test_cli.py::test_invalid_output_format_error \ntests/test_errors.py::test_template_error_formatting \n[gw93] [ 25%] FAILED tests/test_html_dir.py::test_html_dir_toc_links_resolve_to_chapter_anchors \n[gw114] [ 26%] FAILED tests/test_html_dir.py::test_html_dir_menu_svg_always_included \ntests/test_book.py::test_multiple_output_formats \n[gw54] [ 26%] FAILED tests/test_epub.py::test_multiple_chapters_toc \n[gw98] [ 26%] FAILED tests/test_html_dir.py::test_html_dir_index_next_link_to_first_chapter \n[gw26] [ 26%] FAILED tests/test_book.py::test_list_options_flag \n[gw80] [ 26%] FAILED tests/test_errors.py::test_invalid_book_option_error_formatting \n[gw14] [ 27%] FAILED tests/test_book.py::test_output_list_format \n[gw60] [ 27%] FAILED tests/test_epub.py::test_heading_ids_in_chapters \n[gw9] [ 27%] FAILED tests/test_book.py::test_epub_version_option \n[gw18] [ 27%] FAILED tests/test_book.py::test_option_type_error_string_as_int \ntests/test_errors.py::test_missing_css_file_in_config \n[gw72] [ 27%] FAILED tests/test_errors.py::test_set_invalid_option_key \ntests/test_errors.py::test_invalid_template_name \n[gw120] [ 28%] FAILED tests/test_html_single.py::test_markdown_ordered_list \n[gw41] [ 28%] FAILED tests/test_cli.py::test_create_book_with_set_options \n[gw96] [ 28%] FAILED tests/test_html_dir.py::test_html_dir_chapter_numbering_in_titles \n[gw62] [ 28%] FAILED tests/test_epub.py::test_ncx_depth_metadata \n[gw56] [ 28%] FAILED tests/test_epub.py::test_custom_css_addition \n[gw35] [ 29%] FAILED tests/test_cli.py::test_no_fancy_flag_disables_ui \n[gw108] [ 29%] FAILED tests/test_html_dir.py::test_html_dir_middle_chapter_has_both_prev_and_next \ntests/test_errors.py::test_missing_markdown_chapter \n[gw123] [ 29%] FAILED tests/test_html_single.py::test_metadata_author_meta_tag \n[gw79] [ 29%] FAILED tests/test_errors.py::test_error_with_line_number_precision \n[gw45] [ 29%] FAILED tests/test_cli.py::test_output_formats_html_dir \n[gw12] [ 30%] FAILED tests/test_book.py::test_subchapter_double_dash_syntax \n[gw82] [ 30%] FAILED tests/test_errors.py::test_render_error_invalid_html_template_var \n[gw17] [ 30%] FAILED tests/test_book.py::test_option_type_error_int_as_string \n[gw13] [ 30%] PASSED tests/test_book.py::test_date_metadata_field \n[gw3] [ 30%] FAILED tests/test_book.py::test_unnumbered_chapter_minus_syntax \n[gw81] [ 31%] FAILED tests/test_errors.py::test_template_error_formatting \n[gw5] [ 31%] FAILED tests/test_book.py::test_rendering_inline_toc_option \n[gw125] [ 31%] FAILED tests/test_html_single.py::test_image_base64_embedded \n[gw65] [ 31%] FAILED tests/test_epub.py::test_list_rendering \n[gw50] [ 31%] FAILED tests/test_epub.py::test_epub_version_3_explicit \n[gw111] [ 32%] FAILED tests/test_html_dir.py::test_html_dir_index_page_links_to_first_chapter \n[gw99] [ 32%] FAILED tests/test_html_dir.py::test_html_dir_lang_attribute_propagated \n[gw15] [ 32%] FAILED tests/test_latex.py::test_basic_latex_structure_with_book_class \n[gw101] [ 32%] FAILED tests/test_html_dir.py::test_html_dir_blockquote_rendering \n[gw39] [ 32%] FAILED tests/test_cli.py::test_stats_flag_shows_word_count \n[gw28] [ 33%] FAILED tests/test_book.py::test_option_resources_base_path_templates \n[gw76] [ 33%] FAILED tests/test_errors.py::test_missing_css_file_in_config \n[gw113] [ 33%] FAILED tests/test_html_dir.py::test_html_dir_custom_css_added_to_stylesheet \ntests/test_errors.py::test_template_not_found_error_format \ntests/test_errors.py::test_config_parser_error_yaml_syntax \n[gw27] [ 33%] FAILED tests/test_book.py::test_option_path_output_base_path_applied \n[gw102] [ 33%] FAILED tests/test_html_dir.py::test_html_dir_emphasis_and_strong \n[gw115] [ 33%] FAILED tests/test_html_dir.py::test_html_dir_chapter_title_in_browser_title_tag \n[gw2] [ 34%] FAILED tests/test_book.py::test_multiple_output_formats \n[gw105] [ 34%] FAILED tests/test_html_dir.py::test_html_dir_cover_image_on_index_page \n[gw92] [ 34%] FAILED tests/test_html_dir.py::test_html_dir_chapter_content_matches_markdown \n[gw66] [ 34%] FAILED tests/test_errors.py::test_nonexistent_book_file \n[gw110] [ 34%] FAILED tests/test_html_dir.py::test_html_dir_error_when_output_path_is_file \n[gw31] [ 35%] FAILED tests/test_book.py::test_option_epub_version_validation \n[gw64] [ 35%] FAILED tests/test_epub.py::test_toc_extras_option \n[gw83] [ 35%] FAILED tests/test_errors.py::test_config_parser_error_yaml_syntax \n[gw87] [ 35%] FAILED tests/test_errors.py::test_template_not_found_error_format \n[gw10] [ 35%] FAILED tests/test_book.py::test_rendering_chapter_template_option \n[gw106] [ 36%] FAILED tests/test_html_dir.py::test_html_dir_favicon_link_in_chapter_pages \n[gw29] [ 36%] FAILED tests/test_book.py::test_option_multiple_imports_chain \n[gw22] [ 36%] FAILED tests/test_book.py::test_option_import_nonexistent_file \n[gw107] [ 36%] FAILED tests/test_html_dir.py::test_html_dir_first_chapter_has_only_next_link \n[gw71] [ 36%] FAILED tests/test_errors.py::test_invalid_template_name \n[gw103] [ 37%] FAILED tests/test_html_dir.py::test_html_dir_viewport_meta_for_mobile \ntests/test_latex.py::test_chapter_labels_for_cross_references \n[gw109] [ 37%] FAILED tests/test_html_dir.py::test_html_dir_inline_toc_on_index_when_enabled \n[gw68] [ 37%] FAILED tests/test_errors.py::test_output_without_to_flag \n[gw43] [ 37%] FAILED tests/test_latex.py::test_unordered_list_to_itemize \n[gw67] [ 37%] FAILED tests/test_errors.py::test_missing_markdown_chapter \ntests/test_errors.py::test_create_mode_with_multiple_chapters \ntests/test_errors.py::test_latex_render_error_format \ntests/test_errors.py::test_error_source_with_line_number_formatting \n[gw97] [ 38%] FAILED tests/test_html_dir.py::test_html_dir_menu_svg_is_valid \n[gw112] [ 38%] FAILED tests/test_html_dir.py::test_html_dir_favicon_on_index_page \n[gw57] [ 38%] FAILED tests/test_epub.py::test_title_page_content \n[gw88] [ 38%] FAILED tests/test_html_dir.py::test_html_dir_creates_required_files \n[gw126] [ 38%] FAILED tests/test_latex.py::test_language_mapping_to_babel \n[gw94] [ 39%] FAILED tests/test_html_dir.py::test_html_dir_json_ld_structured_data \ntests/test_errors.py::test_verbose_mode_shows_debug_info \ntests/test_errors.py::test_invalid_integer_option_value \ntests/test_latex.py::test_strikethrough_to_sout \ntests/test_errors.py::test_missing_image_in_markdown \ntests/test_book.py::test_invalid_option_name_error \ntests/test_epub.py::test_epub_version_2_default \ntests/test_errors.py::test_empty_book_file \ntests/test_errors.py::test_epub_zipper_error_format \ntests/test_latex.py::test_tex_font_size_setting \ntests/test_latex.py::test_unnumbered_chapter_with_asterisk \ntests/test_latex.py::test_subsection_hierarchy \ntests/test_errors.py::test_invalid_flag \n[gw23] [ 39%] FAILED tests/test_latex.py::test_special_latex_characters_escaped \ntests/test_latex.py::test_inline_elements_in_lists \ntests/test_html_dir.py::test_html_dir_index_contains_toc_with_all_chapters \ntests/test_latex.py::test_tex_paper_size_setting \ntests/test_epub.py::test_ncx_navigation \ntests/test_latex.py::test_ordered_list_starting_number \ntests/test_html_dir.py::test_html_dir_css_contains_actual_styles \ntests/test_latex.py::test_nested_lists \ntests/test_latex.py::test_code_block_without_language \ntests/test_html_dir.py::test_html_dir_image_references_copied_and_linked \ntests/test_epub.py::test_guide_section_in_opf \ntests/test_latex.py::test_tex_links_as_footnotes_disabled \ntests/test_latex.py::test_tex_hyperref_disabled \n[gw116] [ 39%] FAILED tests/test_latex.py::test_custom_title_and_author_in_metadata \ntests/test_latex.py::test_footnotes_rendered \ntests/test_epub.py::test_language_code_propagation \ntests/test_html_dir.py::test_html_dir_codeblock_rendering \ntests/test_latex.py::test_link_to_href_with_url \ntests/test_epub.py::test_spine_references_manifest_items \ntests/test_epub.py::test_css_stylesheet_included \ntests/test_latex.py::test_mixed_list_types \ntests/test_html_single.py::test_viewport_meta_tag \ntests/test_latex.py::test_maketitle_command_included \ntests/test_epub.py::test_footnote_handling_epub3 \ntests/test_epub.py::test_images_in_content \ntests/test_html_single.py::test_unicode_content_preserved \n[gw77] [ 39%] FAILED tests/test_errors.py::test_invalid_integer_option_value \ntests/test_html_single.py::test_markdown_unordered_list \ntests/test_html_single.py::test_code_block_without_language \ntests/test_html_single.py::test_strikethrough_text \ntests/test_html_single.py::test_markdown_bold_italic_rendering \ntests/test_latex.py::test_table_with_formatting \ntests/test_html_single.py::test_css_embedded_in_style_tag \ntests/test_latex.py::test_hidden_chapter \ntests/test_html_dir.py::test_html_dir_print_css_always_included \ntests/test_html_single.py::test_generator_meta_tag \ntests/test_html_dir.py::test_html_dir_no_highlight_files_without_js_setting \ntests/test_epub.py::test_inline_toc_option \n[gw78] [ 39%] FAILED tests/test_errors.py::test_create_mode_with_multiple_chapters \ntests/test_html_dir.py::test_html_dir_javascript_toggle_function_present \ntests/test_html_single.py::test_empty_markdown_produces_valid_html \ntests/test_epub.py::test_unique_identifier_uuid \ntests/test_epub.py::test_paragraph_ids_in_content \ntests/test_latex.py::test_rendering_initials_first_letter \ntests/test_latex.py::test_code_blocks_wrapped_in_environment \ntests/test_html_dir.py::test_html_dir_metadata_in_index_page \ntests/test_html_single.py::test_markdown_code_block_fenced \ntests/test_latex.py::test_multiline_blockquote \n[gw70] [ 40%] FAILED tests/test_errors.py::test_missing_image_in_markdown \ntests/test_latex.py::test_hardbreak_to_linebreak \ntests/test_latex.py::test_part_with_chapters \ntests/test_html_dir.py::test_html_dir_prev_next_chapter_links \ntests/test_html_dir.py::test_html_dir_special_characters_in_titles \n[gw74] [ 40%] FAILED tests/test_errors.py::test_verbose_mode_shows_debug_info \n[gw69] [ 40%] FAILED tests/test_errors.py::test_invalid_flag \n[gw84] [ 40%] FAILED tests/test_errors.py::test_error_source_with_line_number_formatting \ntests/test_html_dir.py::test_html_dir_navigation_without_chapter_numbers \ntests/test_latex.py::test_image_local_vs_remote_handling \n[gw86] [ 40%] FAILED tests/test_errors.py::test_latex_render_error_format \ntests/test_epub.py::test_stylesheet_referenced_in_all_xhtml \n[gw85] [ 41%] FAILED tests/test_errors.py::test_epub_zipper_error_format \ntests/test_html_single.py::test_html_lang_attribute \ntests/test_latex.py::test_inline_code_with_break_opportunities \ntests/test_html_dir.py::test_html_dir_error_when_output_is_file_not_directory \ntests/test_html_single.py::test_markdown_blockquote \n[gw73] [ 41%] FAILED tests/test_errors.py::test_empty_book_file \ntests/test_latex.py::test_description_list_rendering \ntests/test_latex.py::test_inline_code_to_texttt \n[gw6] [ 41%] FAILED tests/test_book.py::test_invalid_option_name_error \ntests/test_html_single.py::test_table_of_contents_generated \ntests/test_epub.py::test_emphasis_and_strong \ntests/test_html_single.py::test_chapter_numbering_in_headings \ntests/test_latex.py::test_url_link_same_as_text \ntests/test_latex.py::test_special_character_escaping_in_text \ntests/test_latex.py::test_horizontal_rule_to_mdrule \ntests/test_html_dir.py::test_html_dir_nested_resource_files_preserve_structure \ntests/test_latex.py::test_inline_toc_option \ntests/test_html_single.py::test_special_html_characters_escaped \ntests/test_html_dir.py::test_html_dir_index_page_no_next_link_for_single_chapter \ntests/test_latex.py::test_table_to_tabularx_environment \ntests/test_epub.py::test_missing_cover_error \ntests/test_html_single.py::test_long_document_performance \ntests/test_latex.py::test_numbered_chapter_setcounter \ntests/test_latex.py::test_article_class_uses_section_not_chapter \ntests/test_latex.py::test_blockquote_to_mdblockquote_environment \n[gw104] [ 41%] PASSED tests/test_html_dir.py::test_html_dir_no_highlight_files_without_js_setting \n[gw9] [ 41%] PASSED tests/test_html_single.py::test_strikethrough_text \ntests/test_latex.py::test_empty_emphasis \ntests/test_html_dir.py::test_html_dir_chapter_title_in_page_title_tag \ntests/test_latex.py::test_nested_enumerate_counter_levels \n[gw117] [ 42%] PASSED tests/test_html_single.py::test_html_lang_attribute \ntests/test_html_dir.py::test_html_dir_link_rendering \n[gw49] [ 42%] FAILED tests/test_epub.py::test_epub_version_2_default \ntests/test_latex.py::test_tex_font_size_option \n[gw95] [ 42%] FAILED tests/test_html_dir.py::test_html_dir_image_references_copied_and_linked \ntests/test_latex.py::test_tex_margins_customization \n[gw127] [ 42%] FAILED tests/test_html_single.py::test_viewport_meta_tag \n[gw124] [ 42%] PASSED tests/test_html_single.py::test_unicode_content_preserved \n[gw63] [ 43%] FAILED tests/test_epub.py::test_language_code_propagation \n[gw121] [ 43%] FAILED tests/test_html_single.py::test_markdown_code_block_fenced \ntests/test_html_dir.py::test_html_dir_chapter_without_header_gets_empty_title \ntests/test_html_dir.py::test_html_dir_is_chapter_flag_in_template_data \n[gw119] [ 43%] FAILED tests/test_html_single.py::test_markdown_unordered_list \n[gw89] [ 43%] FAILED tests/test_html_dir.py::test_html_dir_index_contains_toc_with_all_chapters \ntests/test_html_dir.py::test_html_dir_anchor_ids_on_headings \n[gw8] [ 43%] FAILED tests/test_html_single.py::test_generator_meta_tag \ntests/test_latex.py::test_strikethrough_to_sout_command \ntests/test_latex.py::test_hard_break_to_mdhardbreak \ntests/test_latex.py::test_initials_with_non_alphanumeric_first_character \n[gw118] [ 44%] FAILED tests/test_html_single.py::test_markdown_bold_italic_rendering \n[gw122] [ 44%] FAILED tests/test_html_single.py::test_css_embedded_in_style_tag \ntests/test_html_dir.py::test_html_dir_resource_files_copied_to_out_path \n[gw11] [ 44%] FAILED tests/test_latex.py::test_ordered_list_starting_number \ntests/test_epub.py::test_code_blocks_in_content \n[gw32] [ 44%] FAILED tests/test_html_single.py::test_empty_markdown_produces_valid_html \ntests/test_latex.py::test_tex_paper_size_option \ntests/test_html_dir.py::test_html_dir_deletes_existing_directory \ntests/test_html_dir.py::test_html_dir_single_chapter_no_prev_next_links \ntests/test_latex.py::test_markdown_emphasis_to_latex_commands \n[gw91] [ 44%] FAILED tests/test_html_dir.py::test_html_dir_css_contains_actual_styles \ntests/test_latex.py::test_tex_stdpage_package_inclusion \n[gw34] [ 45%] FAILED tests/test_latex.py::test_chapter_labels_for_cross_references \ntests/test_epub.py::test_metadata_in_opf \ntests/test_latex.py::test_ordered_list_deep_nesting_handling \ntests/test_latex.py::test_tex_template_add_custom_code \ntests/test_latex.py::test_chapter_number_specification_with_setcounter \ntests/test_latex.py::test_custom_pageref_template_for_internal_links \ntests/test_html_dir.py::test_html_dir_last_chapter_has_only_prev_link \ntests/test_html_dir.py::test_html_dir_no_inline_toc_when_disabled \n[gw24] [ 45%] FAILED tests/test_latex.py::test_tex_paper_size_setting \n[gw114] [ 45%] FAILED tests/test_html_dir.py::test_html_dir_print_css_always_included \ntests/test_latex.py::test_internal_cross_reference_with_hyperref \ntests/test_latex.py::test_footnote_reference_and_definition \n[gw42] [ 45%] FAILED tests/test_latex.py::test_strikethrough_to_sout \n[gw25] [ 45%] FAILED tests/test_latex.py::test_code_block_without_language \n[gw45] [ 46%] FAILED tests/test_html_single.py::test_special_html_characters_escaped \ntests/test_html_dir.py::test_html_dir_author_title_subtitle_on_index \n[gw0] [ 46%] FAILED tests/test_latex.py::test_subsection_hierarchy \ntests/test_latex.py::test_ordered_list_to_enumerate \n[gw55] [ 46%] FAILED tests/test_epub.py::test_footnote_handling_epub3 \ntests/test_html_single.py::test_syntax_highlighting_python_code \n[gw38] [ 46%] FAILED tests/test_latex.py::test_tex_links_as_footnotes_disabled \n[gw37] [ 46%] FAILED tests/test_latex.py::test_table_with_formatting \n[gw46] [ 47%] FAILED tests/test_latex.py::test_tex_font_size_setting \n[gw33] [ 47%] FAILED tests/test_latex.py::test_multiline_blockquote \n[gw1] [ 47%] FAILED tests/test_latex.py::test_unnumbered_chapter_with_asterisk \ntests/test_latex.py::test_multiple_chapters_with_labels \n[gw58] [ 47%] FAILED tests/test_epub.py::test_guide_section_in_opf \n[gw100] [ 47%] FAILED tests/test_html_dir.py::test_html_dir_codeblock_rendering \n[gw51] [ 48%] FAILED tests/test_epub.py::test_ncx_navigation \n[gw26] [ 48%] FAILED tests/test_html_single.py::test_code_block_without_language \n[gw7] [ 48%] FAILED tests/test_latex.py::test_inline_elements_in_lists \n[gw120] [ 48%] FAILED tests/test_html_single.py::test_markdown_blockquote \ntests/test_latex.py::test_xelatex_command_packages \n[gw28] [ 48%] PASSED tests/test_html_single.py::test_long_document_performance \n[gw44] [ 49%] FAILED tests/test_latex.py::test_tex_hyperref_disabled \n[gw40] [ 49%] FAILED tests/test_latex.py::test_mixed_list_types \n[gw59] [ 49%] FAILED tests/test_epub.py::test_spine_references_manifest_items \n[gw98] [ 49%] FAILED tests/test_html_dir.py::test_html_dir_javascript_toggle_function_present \ntests/test_latex.py::test_task_items_with_checkboxes \ntests/test_latex.py::test_cover_image_inclusion \ntests/test_html_dir.py::test_html_dir_print_css_separate_file \n[gw53] [ 49%] FAILED tests/test_epub.py::test_images_in_content \n[gw75] [ 50%] FAILED tests/test_latex.py::test_link_to_href_with_url \n[gw19] [ 50%] FAILED tests/test_latex.py::test_footnotes_rendered \n[gw4] [ 50%] FAILED tests/test_latex.py::test_code_blocks_wrapped_in_environment \n[gw21] [ 50%] FAILED tests/test_latex.py::test_maketitle_command_included \n[gw36] [ 50%] FAILED tests/test_latex.py::test_hidden_chapter \n[gw99] [ 50%] FAILED tests/test_html_dir.py::test_html_dir_error_when_output_is_file_not_directory \ntests/test_html_dir.py::test_html_dir_valid_html5_structure \n[gw72] [ 51%] FAILED tests/test_latex.py::test_rendering_initials_first_letter \n[gw125] [ 51%] FAILED tests/test_html_single.py::test_table_of_contents_generated \n[gw18] [ 51%] FAILED tests/test_latex.py::test_hardbreak_to_linebreak \n[gw80] [ 51%] FAILED tests/test_latex.py::test_table_to_tabularx_environment \n[gw113] [ 51%] FAILED tests/test_html_dir.py::test_html_dir_nested_resource_files_preserve_structure \n[gw105] [ 52%] FAILED tests/test_html_dir.py::test_html_dir_resource_files_copied_to_out_path \n[gw123] [ 52%] PASSED tests/test_html_single.py::test_chapter_numbering_in_headings \n[gw108] [ 52%] FAILED tests/test_html_dir.py::test_html_dir_navigation_without_chapter_numbers \n[gw47] [ 52%] FAILED tests/test_latex.py::test_image_local_vs_remote_handling \n[gw35] [ 52%] FAILED tests/test_latex.py::test_description_list_rendering \n[gw48] [ 53%] FAILED tests/test_latex.py::test_nested_lists \ntests/test_latex.py::test_tex_margin_customization \n[gw56] [ 53%] FAILED tests/test_epub.py::test_missing_cover_error \ntests/test_latex.py::test_unnumbered_chapter_adds_to_toc \n[gw79] [ 53%] FAILED tests/test_latex.py::test_horizontal_rule_to_mdrule \ntests/test_latex.py::test_part_marker_renders_empty_chapter \n[gw76] [ 53%] FAILED tests/test_latex.py::test_nested_enumerate_counter_levels \n[gw102] [ 53%] FAILED tests/test_html_dir.py::test_html_dir_chapter_title_in_page_title_tag \ntests/test_latex.py::test_multiple_languages_babel_selection \ntests/test_latex.py::test_language_unknown_fallback_to_english \n[gw16] [ 54%] FAILED tests/test_html_single.py::test_syntax_highlighting_python_code \ntests/test_latex.py::test_book_class_asymmetric_margins \n[gw110] [ 54%] FAILED tests/test_html_dir.py::test_html_dir_chapter_without_header_gets_empty_title \n[gw20] [ 54%] FAILED tests/test_latex.py::test_part_with_chapters \n[gw41] [ 54%] FAILED tests/test_latex.py::test_inline_code_with_break_opportunities \n[gw60] [ 54%] FAILED tests/test_epub.py::test_paragraph_ids_in_content \n[gw87] [ 55%] FAILED tests/test_latex.py::test_initials_with_non_alphanumeric_first_character \n[gw2] [ 55%] FAILED tests/test_latex.py::test_strikethrough_to_sout_command \n[gw65] [ 55%] FAILED tests/test_epub.py::test_emphasis_and_strong \n[gw54] [ 55%] FAILED tests/test_epub.py::test_inline_toc_option \n[gw31] [ 55%] FAILED tests/test_latex.py::test_ordered_list_to_enumerate \n[gw52] [ 56%] FAILED tests/test_epub.py::test_css_stylesheet_included \ntests/test_latex.py::test_article_class_symmetric_margins \n[gw61] [ 56%] FAILED tests/test_epub.py::test_unique_identifier_uuid \n[gw12] [ 56%] FAILED tests/test_latex.py::test_article_class_uses_section_not_chapter \ntests/test_latex.py::test_custom_chapter_and_part_names \n[gw90] [ 56%] FAILED tests/test_html_dir.py::test_html_dir_prev_next_chapter_links \n[gw29] [ 56%] FAILED tests/test_latex.py::test_markdown_emphasis_to_latex_commands \n[gw5] [ 57%] FAILED tests/test_latex.py::test_inline_code_to_texttt \n[gw3] [ 57%] FAILED tests/test_latex.py::test_blockquote_to_mdblockquote_environment \n[gw81] [ 57%] FAILED tests/test_latex.py::test_url_link_same_as_text \n[gw83] [ 57%] FAILED tests/test_latex.py::test_chapter_number_specification_with_setcounter \n[gw71] [ 57%] FAILED tests/test_latex.py::test_custom_pageref_template_for_internal_links \n[gw103] [ 58%] FAILED tests/test_html_dir.py::test_html_dir_deletes_existing_directory \n[gw96] [ 58%] FAILED tests/test_html_dir.py::test_html_dir_special_characters_in_titles \n[gw64] [ 58%] FAILED tests/test_epub.py::test_code_blocks_in_content \n[gw109] [ 58%] FAILED tests/test_html_dir.py::test_html_dir_no_inline_toc_when_disabled \n[gw93] [ 58%] FAILED tests/test_html_dir.py::test_html_dir_metadata_in_index_page \ntests/test_latex.py::test_tectonic_command_uses_xelatex_packages \n[gw106] [ 59%] FAILED tests/test_html_dir.py::test_html_dir_single_chapter_no_prev_next_links \ntests/test_latex.py::test_empty_paragraphs_handling \n[gw14] [ 59%] FAILED tests/test_latex.py::test_task_items_with_checkboxes \n[gw17] [ 59%] FAILED tests/test_latex.py::test_numbered_chapter_setcounter \n[gw67] [ 59%] FAILED tests/test_latex.py::test_ordered_list_deep_nesting_handling \n[gw82] [ 59%] FAILED tests/test_latex.py::test_tex_template_add_custom_code \n[gw107] [ 60%] FAILED tests/test_html_dir.py::test_html_dir_last_chapter_has_only_prev_link \n[gw112] [ 60%] FAILED tests/test_html_dir.py::test_html_dir_author_title_subtitle_on_index \n[gw115] [ 60%] FAILED tests/test_html_dir.py::test_html_dir_is_chapter_flag_in_template_data \n[gw15] [ 60%] FAILED tests/test_latex.py::test_empty_emphasis \ntests/test_latex.py::test_description_list_multiline_terms \n[gw62] [ 60%] FAILED tests/test_epub.py::test_stylesheet_referenced_in_all_xhtml \n[gw50] [ 61%] FAILED tests/test_epub.py::test_metadata_in_opf \n[gw68] [ 61%] FAILED tests/test_latex.py::test_tex_stdpage_package_inclusion \n[gw97] [ 61%] FAILED tests/test_html_dir.py::test_html_dir_print_css_separate_file \n[gw94] [ 61%] FAILED tests/test_html_dir.py::test_html_dir_valid_html5_structure \ntests/test_markdown.py::test_autolink_email \ntests/test_latex.py::test_rendering_num_depth_controls_numbering \n[gw13] [ 61%] FAILED tests/test_latex.py::test_inline_toc_option \n[gw116] [ 62%] FAILED tests/test_latex.py::test_tex_margin_customization \n[gw22] [ 62%] FAILED tests/test_latex.py::test_internal_cross_reference_with_hyperref \n[gw101] [ 62%] FAILED tests/test_html_dir.py::test_html_dir_link_rendering \n[gw111] [ 62%] FAILED tests/test_html_dir.py::test_html_dir_index_page_no_next_link_for_single_chapter \n[gw30] [ 62%] FAILED tests/test_latex.py::test_tex_margins_customization \n[gw126] [ 63%] FAILED tests/test_latex.py::test_xelatex_command_packages \ntests/test_markdown.py::test_escaping_special_characters \n[gw43] [ 63%] FAILED tests/test_latex.py::test_footnote_reference_and_definition \ntests/test_markdown.py::test_table_with_empty_cells \n[gw27] [ 63%] FAILED tests/test_latex.py::test_tex_font_size_option \n[gw66] [ 63%] FAILED tests/test_latex.py::test_hard_break_to_mdhardbreak \ntests/test_latex.py::test_soft_break_to_space \ntests/test_markdown.py::test_code_block_preserves_whitespace \ntests/test_markdown.py::test_multiple_paragraphs_in_list_item \ntests/test_latex.py::test_special_chars_in_code_blocks \ntests/test_markdown.py::test_code_blocks_and_inline \ntests/test_markdown.py::test_blockquote_simple \ntests/test_markdown.py::test_deep_nesting \ntests/test_markdown.py::test_images_inline \ntests/test_markdown.py::test_malformed_markdown_missing_closing \n[gw70] [ 63%] FAILED tests/test_latex.py::test_tectonic_command_uses_xelatex_packages \n[gw39] [ 64%] FAILED tests/test_latex.py::test_special_character_escaping_in_text \ntests/test_markdown.py::test_setext_headings \ntests/test_markdown.py::test_emphasis_variations \ntests/test_latex.py::test_code_block_without_syntax_highlighting \ntests/test_markdown.py::test_links_inline \ntests/test_latex.py::test_tex_title_option_controls_titlepage \n[gw88] [ 64%] FAILED tests/test_latex.py::test_cover_image_inclusion \n[gw85] [ 64%] FAILED tests/test_latex.py::test_description_list_multiline_terms \ntests/test_markdown.py::test_task_lists \ntests/test_latex.py::test_nested_formatting_combinations \ntests/test_latex.py::test_hidden_chapter_not_in_toc \ntests/test_latex.py::test_table_cell_alignment_and_structure \ntests/test_markdown.py::test_unordered_lists \ntests/test_latex.py::test_multiple_chapters_from_single_file \n[gw69] [ 64%] FAILED tests/test_latex.py::test_empty_paragraphs_handling \ntests/test_markdown.py::test_blockquote_with_formatting \n[gw74] [ 64%] FAILED tests/test_latex.py::test_language_unknown_fallback_to_english \ntests/test_markdown.py::test_line_breaks_soft_vs_hard \n[gw10] [ 65%] FAILED tests/test_latex.py::test_tex_paper_size_option \ntests/test_markdown.py::test_ordered_lists \ntests/test_markdown.py::test_atx_headings \n[gw84] [ 65%] FAILED tests/test_latex.py::test_article_class_symmetric_margins \n[gw23] [ 65%] FAILED tests/test_latex.py::test_custom_chapter_and_part_names \ntests/test_latex.py::test_chapter_with_no_content \ntests/test_pdf.py::test_pdf_with_multiple_chapters \ntests/test_markdown.py::test_unicode_content \ntests/test_latex.py::test_mixed_list_with_nested_content \ntests/test_markdown.py::test_complex_nested_structures \ntests/test_markdown.py::test_code_fence_with_backticks_inside \ntests/test_markdown.py::test_links_reference \ntests/test_pdf.py::test_pdf_with_lualatex_command \ntests/test_markdown.py::test_very_long_line \n[gw78] [ 65%] FAILED tests/test_latex.py::test_unnumbered_chapter_adds_to_toc \ntests/test_markdown.py::test_link_with_parentheses_in_url \ntests/test_markdown.py::test_nested_lists \ntests/test_markdown.py::test_inline_html_handling \ntests/test_markdown.py::test_images_with_title \n[gw77] [ 65%] FAILED tests/test_latex.py::test_book_class_asymmetric_margins \ntests/test_markdown.py::test_horizontal_rules \ntests/test_markdown.py::test_footnote_references_and_definitions \ntests/test_markdown.py::test_reference_link_case_insensitive \ntests/test_markdown.py::test_task_lists_with_checked_unchecked \ntests/test_markdown.py::test_mixed_content_document \ntests/test_markdown.py::test_empty_document \ntests/test_markdown.py::test_table_structure_and_cells \ntests/test_markdown.py::test_stats_computation_exercises_token_inner \n[gw57] [ 66%] FAILED tests/test_latex.py::test_multiple_chapters_with_labels \ntests/test_pdf.py::test_pdf_generation_with_custom_temp_dir \ntests/test_latex.py::test_subsection_and_subsubsection_hierarchy \ntests/test_markdown.py::test_table_basic \ntests/test_markdown.py::test_blockquote_nested \ntests/test_markdown.py::test_list_with_code_blocks \ntests/test_markdown.py::test_description_lists_with_nested_formatting \ntests/test_markdown.py::test_table_with_alignment \ntests/test_pdf.py::test_pdf_fake_latex_succeeds_but_no_result_file \ntests/test_markdown.py::test_strikethrough_nested_formatting \n[gw92] [ 66%] FAILED tests/test_html_dir.py::test_html_dir_anchor_ids_on_headings \n[gw6] [ 66%] FAILED tests/test_latex.py::test_soft_break_to_space \ntests/test_markdown.py::test_annotation_tokens_grammar_check \ntests/test_markdown.py::test_blockquote_with_list \n[gw118] [ 66%] FAILED tests/test_markdown.py::test_line_breaks_soft_vs_hard \ntests/test_resources.py::test_image_case_sensitivity_extension \ntests/test_markdown.py::test_is_container_method_coverage \ntests/test_markdown.py::test_strikethrough \n[gw95] [ 66%] FAILED tests/test_markdown.py::test_atx_headings \n[gw104] [ 66%] FAILED tests/test_markdown.py::test_autolink_email \ntests/test_resources.py::test_image_missing_file_error \n[gw9] [ 67%] FAILED tests/test_markdown.py::test_table_with_empty_cells \ntests/test_pdf.py::test_pdf_generation_with_fake_latex_multiple_chapters \ntests/test_markdown.py::test_consecutive_emphasis_markers \ntests/test_pdf.py::test_pdf_with_very_large_chapter_and_fake_latex \n[gw122] [ 67%] FAILED tests/test_markdown.py::test_mixed_content_document \ntests/test_markdown.py::test_stats_with_superscript_subscript \ntests/test_resources.py::test_image_embedding_epub_separate_file \n[gw91] [ 67%] FAILED tests/test_markdown.py::test_code_blocks_and_inline \n[gw127] [ 67%] FAILED tests/test_markdown.py::test_escaping_special_characters \ntests/test_pdf.py::test_pdf_with_footnotes_and_fake_latex \ntests/test_markdown.py::test_emphasis_in_word \n[gw121] [ 67%] FAILED tests/test_markdown.py::test_deep_nesting \n[gw73] [ 68%] FAILED tests/test_latex.py::test_multiple_languages_babel_selection \n[gw113] [ 68%] FAILED tests/test_pdf.py::test_pdf_generation_with_custom_temp_dir \n[gw86] [ 68%] FAILED tests/test_latex.py::test_part_marker_renders_empty_chapter \ntests/test_markdown.py::test_images_inline_vs_standalone \ntests/test_pdf.py::test_pdf_with_many_images_exercises_zipper_nested_write \ntests/test_resources.py::test_print_template_html_standalone_template \ntests/test_resources.py::test_image_relative_path_resolution \n[gw32] [ 68%] FAILED tests/test_markdown.py::test_malformed_markdown_missing_closing \ntests/test_resources.py::test_print_template_invalid_name_error \ntests/test_markdown.py::test_code_block_with_multiple_languages \n[gw38] [ 68%] FAILED tests/test_markdown.py::test_ordered_lists \ntests/test_markdown.py::test_subscript_superscript_token_handling \n[gw117] [ 69%] FAILED tests/test_markdown.py::test_code_block_preserves_whitespace \ntests/test_markdown.py::test_description_list_multiple_terms_and_definitions \n[gw44] [ 69%] FAILED tests/test_markdown.py::test_blockquote_nested \n[gw33] [ 69%] FAILED tests/test_markdown.py::test_list_with_code_blocks \n[gw28] [ 69%] FAILED tests/test_pdf.py::test_pdf_with_lualatex_command \n[gw119] [ 69%] FAILED tests/test_markdown.py::test_unicode_content \n[gw40] [ 70%] FAILED tests/test_markdown.py::test_table_basic \n[gw105] [ 70%] FAILED tests/test_pdf.py::test_pdf_fake_latex_succeeds_but_no_result_file \ntests/test_markdown.py::test_ordered_list_starting_number \ntests/test_pdf.py::test_pdf_with_book_class_and_fake_latex \ntests/test_markdown.py::test_container_identification_with_edge_cases \ntests/test_markdown.py::test_nested_emphasis_combinations \n[gw63] [ 70%] FAILED tests/test_markdown.py::test_blockquote_simple \ntests/test_resources.py::test_print_template_epub_chapter_xhtml \ntests/test_pdf.py::test_pdf_with_pdflatex_command \n[gw120] [ 70%] FAILED tests/test_markdown.py::test_task_lists_with_checked_unchecked \n[gw75] [ 70%] FAILED tests/test_markdown.py::test_links_reference \ntests/test_resources.py::test_print_template_html_dir_template \ntests/test_resources.py::test_print_template_epub_css \n[gw124] [ 71%] FAILED tests/test_markdown.py::test_images_inline \n[gw80] [ 71%] FAILED tests/test_markdown.py::test_reference_link_case_insensitive \ntests/test_resources.py::test_print_template_html_css \ntests/test_markdown.py::test_links_autolink \ntests/test_pdf.py::test_pdf_with_very_long_content_exercises_zipper_write \n[gw99] [ 71%] FAILED tests/test_pdf.py::test_pdf_with_multiple_chapters \n[gw65] [ 71%] PASSED tests/test_markdown.py::test_stats_with_superscript_subscript \n[gw100] [ 71%] FAILED tests/test_markdown.py::test_blockquote_with_formatting \n[gw102] [ 72%] FAILED tests/test_pdf.py::test_pdf_generation_with_fake_latex_multiple_chapters \n[gw49] [ 72%] FAILED tests/test_latex.py::test_rendering_num_depth_controls_numbering \ntests/test_markdown.py::test_multiple_blank_lines \n[gw125] [ 72%] PASSED tests/test_markdown.py::test_stats_computation_exercises_token_inner \n[gw24] [ 72%] FAILED tests/test_latex.py::test_special_chars_in_code_blocks \n[gw114] [ 72%] FAILED tests/test_markdown.py::test_multiple_paragraphs_in_list_item \ntests/test_resources.py::test_image_embedding_html_base64 \n[gw89] [ 73%] FAILED tests/test_latex.py::test_tex_title_option_controls_titlepage \n[gw46] [ 73%] FAILED tests/test_latex.py::test_table_cell_alignment_and_structure \ntests/test_markdown.py::test_footnote_reference_without_definition \n[gw11] [ 73%] FAILED tests/test_latex.py::test_multiple_chapters_from_single_file \n[gw31] [ 73%] FAILED tests/test_pdf.py::test_pdf_with_footnotes_and_fake_latex \n[gw76] [ 73%] FAILED tests/test_pdf.py::test_pdf_with_many_images_exercises_zipper_nested_write \n[gw2] [ 74%] FAILED tests/test_pdf.py::test_pdf_with_very_large_chapter_and_fake_latex \n[gw45] [ 74%] FAILED tests/test_markdown.py::test_complex_nested_structures \n[gw37] [ 74%] FAILED tests/test_markdown.py::test_setext_headings \n[gw42] [ 74%] FAILED tests/test_latex.py::test_nested_formatting_combinations \n[gw110] [ 74%] FAILED tests/test_pdf.py::test_pdf_with_book_class_and_fake_latex \n[gw36] [ 75%] FAILED tests/test_markdown.py::test_inline_html_handling \n[gw26] [ 75%] FAILED tests/test_markdown.py::test_code_fence_with_backticks_inside \n[gw34] [ 75%] FAILED tests/test_latex.py::test_hidden_chapter_not_in_toc \n[gw25] [ 75%] FAILED tests/test_markdown.py::test_emphasis_variations \n[gw1] [ 75%] FAILED tests/test_latex.py::test_chapter_with_no_content \n[gw72] [ 76%] FAILED tests/test_markdown.py::test_footnote_references_and_definitions \n[gw98] [ 76%] FAILED tests/test_markdown.py::test_link_with_parentheses_in_url \n[gw53] [ 76%] FAILED tests/test_markdown.py::test_horizontal_rules \ntests/test_resources.py::test_multiple_images_different_formats \n[gw8] [ 76%] FAILED tests/test_markdown.py::test_task_lists \ntests/test_resources.py::test_resources_files_directory_walking \n[gw5] [ 76%] FAILED tests/test_markdown.py::test_description_list_multiple_terms_and_definitions \n[gw0] [ 77%] FAILED tests/test_latex.py::test_code_block_without_syntax_highlighting \n[gw58] [ 77%] FAILED tests/test_markdown.py::test_unordered_lists \n[gw51] [ 77%] FAILED tests/test_latex.py::test_subsection_and_subsubsection_hierarchy \n[gw123] [ 77%] FAILED tests/test_markdown.py::test_table_structure_and_cells \ntests/test_resources.py::test_link_resolution_with_fallback_extension \ntests/test_pdf.py::test_pdf_with_tables_and_fake_latex \ntests/test_pdf.py::test_pdf_generation_with_images_and_fake_latex \n[gw48] [ 77%] FAILED tests/test_markdown.py::test_strikethrough \n[gw55] [ 78%] FAILED tests/test_markdown.py::test_links_inline \ntests/test_resources.py::test_multiple_css_files_space_in_name_error \ntests/test_resources.py::test_remote_image_url_not_embedded \ntests/test_pdf.py::test_pdf_custom_latex_command \ntests/test_pdf.py::test_pdf_with_special_characters_in_title \ntests/test_resources.py::test_image_not_found_absolute_path \n[gw35] [ 78%] FAILED tests/test_markdown.py::test_annotation_tokens_grammar_check \n[gw108] [ 78%] FAILED tests/test_markdown.py::test_strikethrough_nested_formatting \n[gw7] [ 78%] FAILED tests/test_latex.py::test_mixed_list_with_nested_content \n[gw103] [ 78%] FAILED tests/test_resources.py::test_print_template_invalid_name_error \ntests/test_markdown.py::test_is_code_method_coverage \n[gw93] [ 79%] FAILED tests/test_markdown.py::test_nested_emphasis_combinations \n[gw71] [ 79%] FAILED tests/test_resources.py::test_image_relative_path_resolution \ntests/test_pdf.py::test_pdf_generation_without_latex_command_fails \n[gw12] [ 79%] FAILED tests/test_markdown.py::test_code_block_with_multiple_languages \ntests/test_markdown.py::test_mixed_inline_code_and_emphasis \n[gw56] [ 79%] FAILED tests/test_markdown.py::test_is_container_method_coverage \n[gw17] [ 79%] FAILED tests/test_pdf.py::test_pdf_with_pdflatex_command \n[gw16] [ 80%] FAILED tests/test_resources.py::test_image_case_sensitivity_extension \n[gw106] [ 80%] FAILED tests/test_resources.py::test_print_template_html_css \ntests/test_resources.py::test_print_template_tex_template \n[gw4] [ 80%] FAILED tests/test_markdown.py::test_very_long_line \n[gw83] [ 80%] FAILED tests/test_resources.py::test_image_embedding_epub_separate_file \n[gw47] [ 80%] FAILED tests/test_markdown.py::test_table_with_alignment \n[gw67] [ 81%] FAILED tests/test_resources.py::test_print_template_html_standalone_template \n[gw18] [ 81%] FAILED tests/test_markdown.py::test_description_lists_with_nested_formatting \n[gw21] [ 81%] FAILED tests/test_markdown.py::test_empty_document \ntests/test_pdf.py::test_pdf_with_images_exercises_zipper_nested_paths \n[gw59] [ 81%] FAILED tests/test_markdown.py::test_images_with_title \n[gw54] [ 81%] FAILED tests/test_markdown.py::test_blockquote_with_list \n[gw79] [ 82%] FAILED tests/test_markdown.py::test_footnote_reference_without_definition \n[gw109] [ 82%] FAILED tests/test_resources.py::test_print_template_html_dir_template \n[gw19] [ 82%] FAILED tests/test_markdown.py::test_nested_lists \n[gw87] [ 82%] FAILED tests/test_resources.py::test_image_missing_file_error \n[gw81] [ 82%] FAILED tests/test_pdf.py::test_pdf_with_very_long_content_exercises_zipper_write \n[gw41] [ 83%] FAILED tests/test_markdown.py::test_images_inline_vs_standalone \n[gw90] [ 83%] FAILED tests/test_markdown.py::test_ordered_list_starting_number \ntests/test_pdf.py::test_pdf_generation_success_path_with_fake_latex \n[gw20] [ 83%] FAILED tests/test_markdown.py::test_multiple_blank_lines \ntests/test_resources.py::test_svg_image_mime_type_detection \ntests/test_resources.py::test_epub_css_option_custom_styling \ntests/test_resources.py::test_image_no_extension_epub_naming \ntests/test_resources.py::test_multiple_resource_types_epub \ntests/test_resources.py::test_css_add_option_inline_styles \n[gw15] [ 83%] FAILED tests/test_pdf.py::test_pdf_with_images_exercises_zipper_nested_paths \n[gw115] [ 83%] FAILED tests/test_pdf.py::test_pdf_generation_with_images_and_fake_latex \ntests/test_resources.py::test_image_no_extension_base64_warning \n[gw14] [ 83%] FAILED tests/test_resources.py::test_print_template_epub_chapter_xhtml \n[gw112] [ 84%] FAILED tests/test_resources.py::test_multiple_css_files_space_in_name_error \n[gw96] [ 84%] FAILED tests/test_markdown.py::test_subscript_superscript_token_handling \n[gw82] [ 84%] FAILED tests/test_resources.py::test_remote_image_url_not_embedded \ntests/test_resources.py::test_jpeg_image_mime_type_detection \ntests/test_pdf.py::test_pdf_with_all_latex_options_and_fake_latex \ntests/test_resources.py::test_resources_files_with_symlinks \n[gw111] [ 84%] FAILED tests/test_pdf.py::test_pdf_generation_without_latex_command_fails \ntests/test_stats_lang.py::test_stats_multiple_chapters_aggregation \n[gw107] [ 84%] FAILED tests/test_resources.py::test_multiple_images_different_formats \n[gw97] [ 85%] FAILED tests/test_resources.py::test_image_not_found_absolute_path \n[gw101] [ 85%] FAILED tests/test_pdf.py::test_pdf_custom_latex_command \n[gw94] [ 85%] FAILED tests/test_resources.py::test_link_resolution_with_fallback_extension \n[gw22] [ 85%] FAILED tests/test_resources.py::test_print_template_tex_template \ntests/test_stats_lang.py::test_lang_russian_chapter_label \ntests/test_resources.py::test_resources_files_special_file_type_error \ntests/test_resources.py::test_link_resolution_missing_file_warning \ntests/test_seed.py::test_help_flag \ntests/test_seed.py::test_simple_single_file_html \ntests/test_resources.py::test_custom_css_file_inclusion \n[gw30] [ 85%] FAILED tests/test_pdf.py::test_pdf_with_special_characters_in_title \n[gw50] [ 86%] FAILED tests/test_pdf.py::test_pdf_with_tables_and_fake_latex \ntests/test_seed.py::test_version_flag \ntests/test_pdf.py::test_pdf_generation_attempts_three_latex_passes \ntests/test_resources.py::test_epub_css_add_option_inline_content \ntests/test_resources.py::test_image_duplicate_reference_reuse \n[gw3] [ 86%] FAILED tests/test_markdown.py::test_container_identification_with_edge_cases \ntests/test_stats_lang.py::test_lang_catalan_chapter_label \ntests/test_pdf.py::test_pdf_fake_latex_fails_with_error_code \n[gw68] [ 86%] FAILED tests/test_resources.py::test_css_add_option_inline_styles \n[gw61] [ 86%] FAILED tests/test_markdown.py::test_emphasis_in_word \ntests/test_resources.py::test_resources_files_missing_error \ntests/test_resources.py::test_large_image_base64_encoding \ntests/test_stats_lang.py::test_stats_chars_word_ratio_precision \ntests/test_stats_lang.py::test_stats_large_book_accurate_totals \n[gw52] [ 86%] FAILED tests/test_markdown.py::test_links_autolink \ntests/test_stats_lang.py::test_stats_very_long_chapter_name_column_width \ntests/test_stats_lang.py::test_lang_french_chapter_label \ntests/test_stats_lang.py::test_stats_with_images_excludes_alt_text \n[gw29] [ 87%] FAILED tests/test_resources.py::test_print_template_epub_css \n[gw66] [ 87%] FAILED tests/test_pdf.py::test_pdf_with_all_latex_options_and_fake_latex \ntests/test_stats_lang.py::test_stats_mixed_markdown_elements \n[gw39] [ 87%] FAILED tests/test_pdf.py::test_pdf_generation_attempts_three_latex_passes \ntests/test_stats_lang.py::test_default_language_when_not_specified \ntests/test_seed.py::test_binary_exists \ntests/test_stats_lang.py::test_stats_varied_word_lengths_ratio_precision \n[gw27] [ 87%] FAILED tests/test_pdf.py::test_pdf_generation_success_path_with_fake_latex \ntests/test_stats_lang.py::test_stats_cjk_characters_word_counting \ntests/test_stats_lang.py::test_stats_single_character_word \n[gw43] [ 87%] FAILED tests/test_resources.py::test_epub_css_option_custom_styling \n[gw85] [ 88%] FAILED tests/test_resources.py::test_multiple_resource_types_epub \ntests/test_stats_lang.py::test_stats_simple_book_exact_counts \n[gw126] [ 88%] FAILED tests/test_resources.py::test_image_no_extension_epub_naming \ntests/test_stats_lang.py::test_html_lang_attribute_german \n[gw64] [ 88%] FAILED tests/test_resources.py::test_image_embedding_html_base64 \n[gw70] [ 88%] FAILED tests/test_resources.py::test_svg_image_mime_type_detection \ntests/test_stats_lang.py::test_stats_special_characters_word_boundaries \n[gw60] [ 88%] FAILED tests/test_markdown.py::test_consecutive_emphasis_markers \ntests/test_stats_lang.py::test_stats_markdown_syntax_ignored_in_counts \ntests/test_stats_lang.py::test_stats_empty_book_nan_handling \ntests/test_stats_lang.py::test_stats_table_column_alignment \n[gw116] [ 89%] FAILED tests/test_resources.py::test_resources_files_directory_walking \ntests/test_stats_lang.py::test_stats_with_code_blocks_included \n[gw88] [ 89%] FAILED tests/test_resources.py::test_image_no_extension_base64_warning \ntests/test_stats_lang.py::test_lang_invalid_code_fallback_to_english \n[gw9] [ 89%] PASSED tests/test_seed.py::test_simple_single_file_html \ntests/test_stats_lang.py::test_lang_spanish_chapter_label \ntests/test_seed.py::test_simple_book_html \n[gw13] [ 89%] FAILED tests/test_markdown.py::test_mixed_inline_code_and_emphasis \n[gw6] [ 89%] PASSED tests/test_seed.py::test_version_flag \ntests/test_stats_lang.py::test_stats_many_chapters_aggregation \ntests/test_stats_lang.py::test_lang_html_attribute_reflects_book_config \n[gw62] [ 90%] FAILED tests/test_markdown.py::test_is_code_method_coverage \n[gw104] [ 90%] FAILED tests/test_seed.py::test_help_flag \ntests/test_stats_lang.py::test_html_lang_attribute_french \ntests/test_stats_lang.py::test_stats_emoji_multibyte_character_counting \n[gw73] [ 90%] PASSED tests/test_seed.py::test_binary_exists \ntests/test_stats_lang.py::test_stats_unicode_multibyte_char_counting \ntests/test_stats_lang.py::test_lang_locale_code_format_fr_FR \ntests/test_stats_lang.py::test_stats_whitespace_only_content_nan_handling \n[gw122] [ 90%] FAILED tests/test_stats_lang.py::test_lang_catalan_chapter_label \n[gw118] [ 90%] FAILED tests/test_stats_lang.py::test_lang_russian_chapter_label \ntests/test_stats_lang.py::test_stats_mixed_chapter_name_lengths_alignment \n[gw44] [ 91%] FAILED tests/test_stats_lang.py::test_stats_markdown_syntax_ignored_in_counts \n[gw74] [ 91%] FAILED tests/test_resources.py::test_jpeg_image_mime_type_detection \n[gw24] [ 91%] PASSED tests/test_stats_lang.py::test_html_lang_attribute_german \ntests/test_stats_lang.py::test_lang_german_chapter_label \n[gw46] [ 91%] PASSED tests/test_stats_lang.py::test_lang_html_attribute_reflects_book_config \n[gw38] [ 91%] FAILED tests/test_stats_lang.py::test_stats_chars_word_ratio_precision \n[gw77] [ 92%] FAILED tests/test_resources.py::test_resources_files_missing_error \ntests/test_stats_lang.py::test_stats_output_includes_chapter_filenames \n[gw10] [ 92%] FAILED tests/test_resources.py::test_custom_css_file_inclusion \n[gw45] [ 92%] FAILED tests/test_stats_lang.py::test_stats_mixed_markdown_elements \ntests/test_stats_lang.py::test_stats_single_letter_chapter_name_column_width \n[gw84] [ 92%] FAILED tests/test_resources.py::test_resources_files_special_file_type_error \ntests/test_stats_lang.py::test_stats_duplicate_chapter_names_with_paths \n[gw117] [ 92%] FAILED tests/test_seed.py::test_simple_book_html \n[gw127] [ 93%] FAILED tests/test_stats_lang.py::test_stats_empty_book_nan_handling \n[gw124] [ 93%] FAILED tests/test_stats_lang.py::test_stats_with_code_blocks_included \ntests/test_stats_lang.py::test_stats_verbose_mode_no_advanced_warning \n[gw92] [ 93%] FAILED tests/test_pdf.py::test_pdf_fake_latex_fails_with_error_code \n[gw42] [ 93%] PASSED tests/test_stats_lang.py::test_stats_table_column_alignment \n[gw119] [ 93%] FAILED tests/test_stats_lang.py::test_stats_single_character_word \ntests/test_stats_lang.py::test_stats_single_word_chapter \n[gw49] [ 94%] FAILED tests/test_stats_lang.py::test_stats_simple_book_exact_counts \n[gw32] [ 94%] FAILED tests/test_stats_lang.py::test_stats_with_images_excludes_alt_text \ntests/test_stats_lang.py::test_stats_huge_word_count_formatting \n[gw33] [ 94%] FAILED tests/test_stats_lang.py::test_stats_very_long_chapter_name_column_width \n[gw89] [ 94%] PASSED tests/test_stats_lang.py::test_lang_invalid_code_fallback_to_english \n[gw100] [ 94%] FAILED tests/test_stats_lang.py::test_stats_varied_word_lengths_ratio_precision \n[gw91] [ 95%] FAILED tests/test_stats_lang.py::test_stats_large_book_accurate_totals \n[gw121] [ 95%] FAILED tests/test_stats_lang.py::test_lang_french_chapter_label \n[gw78] [ 95%] FAILED tests/test_resources.py::test_image_duplicate_reference_reuse \n[gw23] [ 95%] FAILED tests/test_resources.py::test_link_resolution_missing_file_warning \n[gw40] [ 95%] FAILED tests/test_stats_lang.py::test_stats_cjk_characters_word_counting \n[gw95] [ 96%] FAILED tests/test_stats_lang.py::test_stats_multiple_chapters_aggregation \n[gw11] [ 96%] FAILED tests/test_stats_lang.py::test_html_lang_attribute_french \n[gw120] [ 96%] FAILED tests/test_stats_lang.py::test_stats_special_characters_word_boundaries \n[gw114] [ 96%] PASSED tests/test_stats_lang.py::test_default_language_when_not_specified \n[gw86] [ 96%] FAILED tests/test_resources.py::test_large_image_base64_encoding \n[gw63] [ 97%] FAILED tests/test_stats_lang.py::test_lang_spanish_chapter_label \n[gw37] [ 97%] FAILED tests/test_stats_lang.py::test_stats_emoji_multibyte_character_counting \n[gw26] [ 97%] FAILED tests/test_stats_lang.py::test_stats_many_chapters_aggregation \n[gw69] [ 97%] FAILED tests/test_resources.py::test_resources_files_with_symlinks \n[gw55] [ 97%] PASSED tests/test_stats_lang.py::test_stats_output_includes_chapter_filenames \n[gw34] [ 98%] FAILED tests/test_stats_lang.py::test_stats_unicode_multibyte_char_counting \n[gw0] [ 98%] FAILED tests/test_stats_lang.py::test_stats_single_word_chapter \n[gw51] [ 98%] FAILED tests/test_stats_lang.py::test_stats_mixed_chapter_name_lengths_alignment \n[gw25] [ 98%] FAILED tests/test_stats_lang.py::test_lang_locale_code_format_fr_FR \n[gw98] [ 98%] FAILED tests/test_stats_lang.py::test_stats_single_letter_chapter_name_column_width \n[gw57] [ 99%] FAILED tests/test_resources.py::test_epub_css_add_option_inline_content \n[gw58] [ 99%] FAILED tests/test_stats_lang.py::test_stats_huge_word_count_formatting \n[gw1] [ 99%] FAILED tests/test_stats_lang.py::test_stats_whitespace_only_content_nan_handling \n[gw8] [ 99%] FAILED tests/test_stats_lang.py::test_lang_german_chapter_label \n[gw7] [ 99%] FAILED tests/test_stats_lang.py::test_stats_duplicate_chapter_names_with_paths \n[gw59] [100%] FAILED tests/test_stats_lang.py::test_stats_verbose_mode_no_advanced_warning \n\n=================================== FAILURES ===================================\n______________________ test_option_import_merges_settings ______________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1430: in test_option_import_merges_settings\n assert meta_author is not None\nE assert None is not None\n__________________________ test_basic_metadata_fields __________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:44: in test_basic_metadata_fields\n assert meta_author is not None\nE assert None is not None\n_________________________ test_missing_book_file_error _________________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:84: in test_missing_book_file_error\n assert output == (RESOURCES / \"missing_book.golden\").read_text()\nE assert 'CROWBOOK 0.17.0\\n' == \"CROWBOOK 0.1...k' for book\\n\"\nE \nE CROWBOOK 0.17.0\nE - ERROR Could not find file 'nonexistent.book' for book\n___________________ test_option_strvec_invalid_element_type ____________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1328: in test_option_strvec_invalid_element_type\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________ test_option_type_error_array_as_string ____________________\n[gw18] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1180: in test_option_type_error_array_as_string\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________________ test_stdin_single_mode ____________________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:375: in test_stdin_single_mode\n assert \"Test from stdin\" in content, \"Should contain stdin content\"\nE AssertionError: Should contain stdin content\nE assert 'Test from stdin' in '

'\n_____________________ test_rendering_roman_numerals_option _____________________\n[gw17] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1134: in test_rendering_roman_numerals_option\n assert has_roman, \"Expected roman numerals in chapter headings\"\nE AssertionError: Expected roman numerals in chapter headings\nE assert False\n_______________________ test_additional_metadata_fields ________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:112: in test_additional_metadata_fields\n assert subtitle is not None, \"Missing subtitle element\"\nE AssertionError: Missing subtitle element\nE assert None is not None\n______________________ test_option_type_error_bool_as_int ______________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1228: in test_option_type_error_bool_as_int\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n___________________ test_option_custom_metadata_invalid_type ___________________\n[gw24] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1490: in test_option_custom_metadata_invalid_type\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________________ test_force_emoji_flag _____________________________\n[gw46] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:563: in test_force_emoji_flag\n assert \"--force-emoji\" in output, \"Should document the force-emoji flag\"\nE AssertionError: Should document the force-emoji flag\nE assert '--force-emoji' in 'CROWBOOK 0.17.0\\n'\n____________________________ test_output_to_stdout _____________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:218: in test_output_to_stdout\n assert \"\" in result.stdout, \"Should output HTML to stdout\"\nE AssertionError: Should output HTML to stdout\nE assert '' in 'CROWBOOK 0.17.0\\n'\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '--single', 'test.md', '--to', 'html', '-o', '-'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n________________________ test_multiple_set_flags_error _________________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:472: in test_multiple_set_flags_error\n assert result.returncode != 0, \"Should reject multiple --set flags\"\nE AssertionError: Should reject multiple --set flags\nE assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--quiet', '--single', 'test.md', '--to', 'html', '-o', 'output.html', '--set', 'author', 'Alice', '--set', 'title', 'My Title'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n____________________________ test_empty_book_error _____________________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:821: in test_empty_book_error\n assert epub_path.exists(), \"EPUB file not created\"\nE AssertionError: EPUB file not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw57/test_empty_book_error0/test.epub').exists\n___________________________ test_html_css_add_option ___________________________\n[gw11] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:782: in test_html_css_add_option\n assert \"body { background-color: #f0f0f0; }\" in output\nE assert 'body { background-color: #f0f0f0; }' in 'Custom CSS

Test

Custom CSS

\\n

Chapter 1
Chapter

Content.

\\n
'\n_______________________ test_missing_markdown_file_error _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:530: in test_missing_markdown_file_error\n assert \"Could not find file 'missing_file.md' for book chapter\" in result.stderr\nE assert \"Could not find file 'missing_file.md' for book chapter\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________________ test_list_options_flag ____________________________\n[gw33] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:62: in test_list_options_flag\n assert \"output.epub\" in output, \"Should list EPUB output option\"\nE AssertionError: Should list EPUB output option\nE assert 'output.epub' in 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n_________________________ test_print_template_html_css _________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:300: in test_print_template_html_css\n assert \"body {\" in output, \"Should have body CSS rules\"\nE AssertionError: Should have body CSS rules\nE assert 'body {' in 'CROWBOOK 0.17.0\\n'\n______________________ test_option_float_wrong_yaml_type _______________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1539: in test_option_float_wrong_yaml_type\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_________________________ test_single_mode_epub_output _________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:182: in test_single_mode_epub_output\n assert zipfile.is_zipfile(output_file), \"EPUB should be a valid zip file\"\nE AssertionError: EPUB should be a valid zip file\nE assert False\nE + where False = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw37/test_single_mode_epub_output0/output.epub'))\nE + where = .is_zipfile\n_________________________ test_verbose_quiet_conflict __________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:139: in test_verbose_quiet_conflict\n assert result.returncode != 0, \"Should reject conflicting flags with non-zero exit\"\nE AssertionError: Should reject conflicting flags with non-zero exit\nE assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--verbose', '--quiet', '--single', 'test.md'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n______________________ test_deprecated_option_with_alias _______________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1276: in test_deprecated_option_with_alias\n assert \"WARNING\" in result.stderr\nE AssertionError: assert 'WARNING' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n________________________ test_set_invalid_option_error _________________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:263: in test_set_invalid_option_error\n assert output == (RESOURCES / \"invalid_set.golden\").read_text()\nE assert 'CROWBOOK 0.17.0\\n' == \"CROWBOOK 0.1...lid_option'\\n\"\nE \nE CROWBOOK 0.17.0\nE - ERROR Error in setting key invalid_option: Error converting BookOption: unrecognized key 'invalid_option'\n_______________ test_book_file_with_yaml_style_multiline_string ________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:958: in test_book_file_with_yaml_style_multiline_string\n assert \"This is a multi-line\" in output\nE assert 'This is a multi-line' in 'Test Book

Test

Test Book

\\n

Chapter 1
Chapter

Content.

\\n
'\n_____________________ test_verbose_flag_shows_debug_output _____________________\n[gw35] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:112: in test_verbose_flag_shows_debug_output\n assert \"[DEBUG]\" in output, \"Verbose should show DEBUG messages\"\nE AssertionError: Verbose should show DEBUG messages\nE assert '[DEBUG]' in 'CROWBOOK 0.17.0\\n'\n_________________________ test_create_book_with_files __________________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:328: in test_create_book_with_files\n assert \"## List of chapters\" in output, \"Should have chapter list header\"\nE AssertionError: Should have chapter list header\nE assert '## List of chapters' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ newbook.book\\n'\n______________________ test_autograph_mode_requires_stdin ______________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:601: in test_autograph_mode_requires_stdin\n assert '
' in content, \\\nE AssertionError: Should include autograph div in output\nE assert '
' in 'Test Book

Test Author

Test Book

\\n

Chapter 1
Chapter

Content.

\\n
'\n_____________________ test_conflicting_quiet_verbose_flags _____________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:254: in test_conflicting_quiet_verbose_flags\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--quiet', '--verbose', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n_________________________ test_tex_options_paper_size __________________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:724: in test_tex_options_paper_size\n assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw10/test_tex_options_paper_size0/output.tex').exists\n________________________ test_unrecognized_option_error ________________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1635: in test_unrecognized_option_error\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n______________________ test_invalid_yaml_structure_error _______________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:1071: in test_invalid_yaml_structure_error\n assert \"Error parsing configuration file:\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'yaml_struct.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_________________________ test_inline_toc_name_option __________________________\n[gw13] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:901: in test_inline_toc_name_option\n assert \"Contents\" in output\nE assert 'Contents' in 'Test

Test

Test

\\n

Chapter 1
Chapter One

Content.

\\n
\\n

Chapter 2
Chapter Two

Content.

\\n
'\n____________________________ test_invalid_to_format ____________________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:89: in test_invalid_to_format\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'chapter.md', '--to', 'invalid_format'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n_______________________ test_zipper_error_epub_creation ________________________\n[gw82] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:738: in test_zipper_error_epub_creation\n assert \"Error rendering epub:\" in result.stderr\nE AssertionError: assert 'Error rendering epub:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'zipper_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n___________________________ test_no_arguments_error ____________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:17: in test_no_arguments_error\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...y --help.\\n\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR You must pass the name of a book configuration file.\nE - For more information try --help.\nE -\n__________________________ test_book_with_empty_lines __________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:191: in test_book_with_empty_lines\n assert meta_author is not None\nE assert None is not None\n___________________ test_option_strvec_invalid_output_format ___________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1376: in test_option_strvec_invalid_output_format\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________ test_book_option_type_error_formatting ____________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:681: in test_book_option_type_error_formatting\n assert \"Error converting BookOption:\" in result.stderr\nE AssertionError: assert 'Error converting BookOption:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'type_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n______________________ test_multiple_errors_accumulation _______________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:430: in test_multiple_errors_accumulation\n assert \"missing_chapter1.md\" in result.stderr\nE AssertionError: assert 'missing_chapter1.md' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'multi_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n______________________ test_malformed_yaml_configuration _______________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:50: in test_malformed_yaml_configuration\n assert \"Error parsing configuration file\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'malformed.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________ test_multiple_chapter_errors_reported _____________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:1015: in test_multiple_chapter_errors_reported\n assert \"multi_missing.book:5:\" in result.stderr\nE AssertionError: assert 'multi_missing.book:5:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'multi_missing.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n___________________________ test_missing_cover_image ___________________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:209: in test_missing_cover_image\n assert \"Could not find file './missing_cover.jpg' for cover\" in result.stderr\nE assert \"Could not find file './missing_cover.jpg' for cover\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'cover_test.book', '--to', 'epub', '-o', 'test.epub'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_____________________ test_file_not_found_with_description _____________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:800: in test_file_not_found_with_description\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'file_not_found.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_______________________ test_output_to_stdout_with_dash ________________________\n[gw78] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:524: in test_output_to_stdout_with_dash\n assert \"\" in result.stdout\nE AssertionError: assert '' in 'CROWBOOK 0.17.0\\n'\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', 'stdout_test.book', '--to', 'html', '-o', '-'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n______________________ test_quiet_flag_suppresses_banner _______________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:98: in test_quiet_flag_suppresses_banner\n assert combined == (RESOURCES / \"quiet_output.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == ''\nE \nE + CROWBOOK 0.17.0\n_____________________ test_render_error_epub_missing_cover _____________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:956: in test_render_error_epub_missing_cover\n assert \"Error rendering epub:\" in result.stderr\nE AssertionError: assert 'Error rendering epub:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'missing_cover.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n__________________________ test_basic_epub_structure ___________________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:40: in test_basic_epub_structure\n assert epub_path.exists(), \"EPUB file not created\"\nE AssertionError: EPUB file not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw49/test_basic_epub_structure0/test.epub').exists\n____________________ test_multiple_error_types_in_same_book ____________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:850: in test_multiple_error_types_in_same_book\n assert \"nonexistent.option\" in result.stderr\nE AssertionError: assert 'nonexistent.option' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'multi_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n______________________ test_invalid_boolean_option_value _______________________\n[gw77] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:477: in test_invalid_boolean_option_value\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...valid value\\n'\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR rendering.highlight set to 'not_a_bool', not a valid value\n_______________________ test_pdf_rendering_latex_missing _______________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:341: in test_pdf_rendering_latex_missing\n assert \"Error rendering pdf\" in result.stderr\nE AssertionError: assert 'Error rendering pdf' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'output_format.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_______________________ test_output_directory_not_found ________________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:158: in test_output_directory_not_found\n assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'test.book', '--to', 'html', '-o', '/nonexistent_dir/output.html'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 46, in run\\n if self.options.get(\"output.html\"): open(self.options[\"output.html\"], \\'w\\', encoding=\\'utf-8\\').write(res)\\nFileNotFoundError: [Errno 2] No such file or directory: \\'/nonexistent_dir/output.html\\'\\n').returncode\n_____________________________ test_stdin_book_mode _____________________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:401: in test_stdin_book_mode\n assert \"Test Book\" in content, \"Should use title from stdin config\"\nE AssertionError: Should use title from stdin config\nE assert 'Test Book' in '

'\n_________________________ test_output_base_path_option _________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:479: in test_output_base_path_option\n assert html_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw6/test_output_base_path_option0/outputs/test.html').exists\n______________________ test_set_with_wrong_argument_count ______________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:300: in test_set_with_wrong_argument_count\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'test.book', '--set', 'title'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n_____________________ test_render_error_pdf_without_latex ______________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:905: in test_render_error_pdf_without_latex\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'pdf_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n______________________ test_quiet_mode_suppresses_header _______________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:130: in test_quiet_mode_suppresses_header\n assert result.stderr == golden\nE AssertionError: assert '' == 'ERROR missin...ook chapter\\n'\nE \nE - ERROR missing_chapter.book:5: Could not find file 'nonexistent_chapter.md' for book chapter\n_________________ test_html_dir_chapter_file_naming_sequential _________________\n[gw89] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:80: in test_html_dir_chapter_file_naming_sequential\n assert (output_dir / \"chapter_000.html\").exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw89/test_html_dir_chapter_file_nam0/output') / 'chapter_000.html').exists\n____________________________ test_multiple_authors _____________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:79: in test_multiple_authors\n assert meta_author is not None\nE assert None is not None\n_______________________ test_option_float_invalid_string _______________________\n[gw24] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1514: in test_option_float_invalid_string\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_____________________________ test_spine_ordering ______________________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:226: in test_spine_ordering\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_spine_ordering0/test.epub'\n____________________ test_html_dir_images_directory_created ____________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:241: in test_html_dir_images_directory_created\n assert images_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw91/test_html_dir_images_directory0/output/images').exists\n________________ test_html_dir_multiple_chapters_with_sections _________________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:617: in test_html_dir_multiple_chapters_with_sections\n assert (output_dir / \"chapter_000.html\").exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw95/test_html_dir_multiple_chapter0/output') / 'chapter_000.html').exists\n____________________________ test_chapter_numbering ____________________________\n[gw58] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:899: in test_chapter_numbering\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw58/test_chapter_numbering0/test.epub'\n____________________________ test_set_single_option ____________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:242: in test_set_single_option\n assert '' in content, \\\nE AssertionError: Should set author in meta tag\nE assert '' in '

Jane Doe

\\n

Chapter 1
Chapter One

This is the first chapter with **bold** text and *italic* text.

\\n

A paragraph with some content.

\\n

- List item 1 - List item 2 - List item 3

\\n

```rust fn main() { println!(\u201cHello, World!\u201d); } ```

\\n

More content here.

\\n
'\n____________________ test_option_type_error_string_as_bool _____________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1252: in test_option_type_error_string_as_bool\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n________________________ test_html_escaping_in_metadata ________________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1338: in test_html_escaping_in_metadata\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw63/test_html_escaping_in_metadata0/test.epub'\n___________________ test_set_multiple_values_in_single_flag ____________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:494: in test_set_multiple_values_in_single_flag\n assert '' in content, \"Should set author\"\nE AssertionError: Should set author\nE assert '' in '

Bob

\\n

Chapter 1
Test

Content.

\\n
'\n_____________________________ test_markdown_links ______________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:199: in test_markdown_links\n assert len(external_links) >= 1\nE assert 0 >= 1\nE + where 0 = len([])\n_____________________ test_html_dir_cleans_previous_output _____________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:979: in test_html_dir_cleans_previous_output\n assert ch2_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw100/test_html_dir_cleans_previous_0/output/chapter_002.html').exists\n_________________________ test_footnote_handling_epub2 _________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:671: in test_footnote_handling_epub2\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw55/test_footnote_handling_epub20/test.epub'\n___________________________ test_xhtml_content_valid ___________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:349: in test_xhtml_content_valid\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw52/test_xhtml_content_valid0/test.epub'\n_______________________ test_invalid_yaml_in_book_config _______________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:408: in test_invalid_yaml_in_book_config\n assert \"Error parsing configuration file\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'invalid_yaml.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n________________ test_deprecated_option_removed_no_replacement _________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1305: in test_deprecated_option_removed_no_replacement\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n__________________________ test_html_horizontal_rule ___________________________\n[gw124] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:484: in test_html_horizontal_rule\n assert len(hrs) + len(p_rules) >= 1, \\\nE AssertionError: Should have at least one horizontal rule, found 0
and 0

\nE assert (0 + 0) >= 1\nE + where 0 = len([])\nE + and 0 = len([])\n_________________________ test_manifest_items_have_ids _________________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:982: in test_manifest_items_have_ids\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw59/test_manifest_items_have_ids0/test.epub'\n_______________________ test_print_template_invalid_name _______________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:315: in test_print_template_invalid_name\n assert output == (RESOURCES / \"invalid_template.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...mplate name\\n'\nE \nE CROWBOOK 0.17.0\nE - ERROR invalid_template is not a valid template name\n__________________________ test_cover_image_handling ___________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:451: in test_cover_image_handling\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw53/test_cover_image_handling0/test.epub'\n_________________________ test_option_strvec_not_array _________________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1352: in test_option_strvec_not_array\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_______________________ test_schema_org_metadata_json_ld _______________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:693: in test_schema_org_metadata_json_ld\n assert len(json_ld_scripts) >= 1, \"Should have schema.org JSON-LD metadata\"\nE AssertionError: Should have schema.org JSON-LD metadata\nE assert 0 >= 1\nE + where 0 = len([])\n________________________ test_markdown_table_rendering _________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:357: in test_markdown_table_rendering\n assert len(tables) >= 1\nE assert 0 >= 1\nE + where 0 = len([])\n_________________________ test_unnumbered_part_syntax __________________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1100: in test_unnumbered_part_syntax\n assert \"Introduction\" in output\nE assert 'Introduction' in 'Book with Unnumbered Part

Test

Book with Unnumbered Part

\\n

Chapter 1
Chapter One

Content.

\\n
'\n_____________________ test_specific_chapter_number_syntax ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:366: in test_specific_chapter_number_syntax\n assert \"Chapter Five\" in output\nE assert 'Chapter Five' in 'Book with Specific Numbers

Test

Book with Specific Numbers

'\n__________________________ test_markdown_code_inline ___________________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:311: in test_markdown_code_inline\n assert len(code_tags) >= 1\nE assert 0 >= 1\nE + where 0 = len([])\n__________________________ test_help_flag_full_output __________________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:35: in test_help_flag_full_output\n assert \"USAGE:\" in output, \"Should have USAGE section\"\nE AssertionError: Should have USAGE section\nE assert 'USAGE:' in 'CROWBOOK 0.17.0\\n'\n___________________________ test_html_title_in_head ____________________________\n[gw117] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:79: in test_html_title_in_head\n assert title_tag.get_text(strip=True) == \"Simple Test Book\"\nE AssertionError: assert '' == 'Simple Test Book'\nE \nE - Simple Test Book\n___________________________ test_no_input_file_error ___________________________\n[gw33] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:73: in test_no_input_file_error\n assert result.stdout + result.stderr == (RESOURCES / \"no_input.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...y --help.\\n\\n'\nE \nE CROWBOOK 0.17.0\nE - ERROR You must pass the name of a book configuration file.\nE - For more information try --help.\nE -\n_________________________ test_single_mode_tex_output __________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:203: in test_single_mode_tex_output\n assert \"\\\\documentclass\" in content, \"Should have documentclass\"\nE AssertionError: Should have documentclass\nE assert '\\\\documentclass' in '

\\n

Chapter 1
Chapter One

This is the first chapter with **bold** text and *italic* text.

\\n

A paragraph with some content.

\\n

- List item 1 - List item 2 - List item 3

\\n

```rust fn main() { println!(\u201cHello, World!\u201d); } ```

\\n

More content here.

\\n
'\n_______________________ test_rendering_highlight_option ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:647: in test_rendering_highlight_option\n assert len(pre_tags) > 0\nE assert 0 > 0\nE + where 0 = len([])\n_______________________ test_markdown_headings_h1_to_h3 ________________________\n[gw118] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:124: in test_markdown_headings_h1_to_h3\n assert \"Simple Test Book\" in h1s[0].get_text()\nE assert 'Simple Test Book' in ''\nE + where '' = get_text()\nE + where get_text =

.get_text\n_________________________ test_single_mode_html_output _________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:161: in test_single_mode_html_output\n assert \"
\" in content, \"Should have pre blocks for code\"\nE   AssertionError: Should have pre blocks for code\nE   assert '
' in '

\\n

Chapter 1
Chapter One

This is the first chapter with **bold** text and *italic* text.

\\n

A paragraph with some content.

\\n

- List item 1 - List item 2 - List item 3

\\n

```rust fn main() { println!(\u201cHello, World!\u201d); } ```

\\n

More content here.

\\n
'\n__________________ test_html_dir_highlight_js_files_included ___________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1322: in test_html_dir_highlight_js_files_included\n assert highlight_js.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw104/test_html_dir_highlight_js_fil0/output/highlight.js').exists\n______________________________ test_nested_lists _______________________________\n[gw30] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:849: in test_nested_lists\n assert len(uls) >= 2, f\"Should have nested unordered lists, got {len(uls)}\"\nE AssertionError: Should have nested unordered lists, got 0\nE assert 0 >= 2\nE + where 0 = len([])\n_______________ test_html_dir_chapter_files_have_navigation_menu _______________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:157: in test_html_dir_chapter_files_have_navigation_menu\n chapter_html = (result.workspace / \"output\" / chapter_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw90/test_html_dir_chapter_files_ha0/output/chapter_000.html'\n_______________________ test_metadata_generator_crowbook _______________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1165: in test_metadata_generator_crowbook\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw61/test_metadata_generator_crowbo0/test.epub'\n_______________________ test_invalid_output_format_error _______________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:615: in test_invalid_output_format_error\n assert result.returncode != 0, \"Should reject invalid output format with non-zero exit\"\nE AssertionError: Should reject invalid output format with non-zero exit\nE assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--single', 'test.md', '--to', 'invalid_format'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n______________ test_html_dir_toc_links_resolve_to_chapter_anchors ______________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:425: in test_html_dir_toc_links_resolve_to_chapter_anchors\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw93/test_html_dir_toc_links_resolv0/output/index.html'\n____________________ test_html_dir_menu_svg_always_included ____________________\n[gw114] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:2171: in test_html_dir_menu_svg_always_included\n assert menu_svg.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw114/test_html_dir_menu_svg_always_0/output/menu.svg').exists\n__________________________ test_multiple_chapters_toc __________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:566: in test_multiple_chapters_toc\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw54/test_multiple_chapters_toc0/test.epub'\n________________ test_html_dir_index_next_link_to_first_chapter ________________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:853: in test_html_dir_index_next_link_to_first_chapter\n index_html = (result.workspace / \"output\" / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw98/test_html_dir_index_next_link_0/output/index.html'\n____________________________ test_list_options_flag ____________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1602: in test_list_options_flag\n assert \"OUTPUT OPTIONS\" in result.stdout.upper() or \"OUTPUT\" in result.stdout.upper()\nE AssertionError: assert ('OUTPUT OPTIONS' in 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' or 'OUTPUT' in 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n')\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'.upper\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdout\nE + and 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'.upper\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdout\n__________________ test_invalid_book_option_error_formatting ___________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:654: in test_invalid_book_option_error_formatting\n assert \"Error converting BookOption:\" in result.stderr\nE AssertionError: assert 'Error converting BookOption:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'invalid_option.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n___________________________ test_output_list_format ____________________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:983: in test_output_list_format\n assert len(html_files) > 0, \"Expected at least one HTML file to be generated\"\nE AssertionError: Expected at least one HTML file to be generated\nE assert 0 > 0\nE + where 0 = len([])\n_________________________ test_heading_ids_in_chapters _________________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1084: in test_heading_ids_in_chapters\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw60/test_heading_ids_in_chapters0/test.epub'\n___________________________ test_epub_version_option ___________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:700: in test_epub_version_option\n assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw9/test_epub_version_option0/output.epub').exists\n_____________________ test_option_type_error_string_as_int _____________________\n[gw18] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1204: in test_option_type_error_string_as_int\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_________________________ test_set_invalid_option_key __________________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:279: in test_set_invalid_option_key\n assert result.stderr == golden\nE assert '' == \"CROWBOOK 0.1...lid_option'\\n\"\nE \nE - CROWBOOK 0.17.0\nE - ERROR Error in setting key invalid_option: test.book:4: Error converting BookOption: unrecognized key 'invalid_option'\n__________________________ test_markdown_ordered_list __________________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:260: in test_markdown_ordered_list\n assert len(ols) >= 1\nE assert 0 >= 1\nE + where 0 = len([])\n______________________ test_create_book_with_set_options _______________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:351: in test_create_book_with_set_options\n assert \"author: John Doe\" in output, \"Should set author metadata\"\nE AssertionError: Should set author metadata\nE assert 'author: John Doe' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ book.book\\n'\n__________________ test_html_dir_chapter_numbering_in_titles ___________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:718: in test_html_dir_chapter_numbering_in_titles\n chapter_html = (output_dir / f\"chapter_{i:03d}.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw96/test_html_dir_chapter_numberin0/output/chapter_000.html'\n___________________________ test_ncx_depth_metadata ____________________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1252: in test_ncx_depth_metadata\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw62/test_ncx_depth_metadata0/test.epub'\n___________________________ test_custom_css_addition ___________________________\n[gw56] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:758: in test_custom_css_addition\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw56/test_custom_css_addition0/test.epub'\n________________________ test_no_fancy_flag_disables_ui ________________________\n[gw35] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:126: in test_no_fancy_flag_disables_ui\n assert result.stdout + result.stderr == (RESOURCES / \"no_fancy.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...output.html\\n'\nE \nE CROWBOOK 0.17.0\nE - [INFO] Succesfully generated HTML (standalone page): output.html\n_____________ test_html_dir_middle_chapter_has_both_prev_and_next ______________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1681: in test_html_dir_middle_chapter_has_both_prev_and_next\n middle_html = (output_dir / \"chapter_002.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw108/test_html_dir_middle_chapter_h0/output/chapter_002.html'\n________________________ test_metadata_author_meta_tag _________________________\n[gw123] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:431: in test_metadata_author_meta_tag\n assert author_meta is not None\nE assert None is not None\n____________________ test_error_with_line_number_precision _____________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:605: in test_error_with_line_number_precision\n assert \"line_test.book:6:\" in result.stderr\nE AssertionError: assert 'line_test.book:6:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'line_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_________________________ test_output_formats_html_dir _________________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:543: in test_output_formats_html_dir\n assert output_dir.exists(), \"Should create output directory\"\nE AssertionError: Should create output directory\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw45/test_output_formats_html_dir0/html_output').exists\n______________________ test_subchapter_double_dash_syntax ______________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:871: in test_subchapter_double_dash_syntax\n assert \"Subchapter One\" in output\nE assert 'Subchapter One' in 'Book with Subchapters

Test

Book with Subchapters

\\n

Chapter 1
Main Chapter

Content.

\\n
\\n

Chapter 2
Another Chapter

Content.

\\n
'\n_________________ test_render_error_invalid_html_template_var __________________\n[gw82] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:771: in test_render_error_invalid_html_template_var\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'render_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_____________________ test_option_type_error_int_as_string _____________________\n[gw17] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1156: in test_option_type_error_int_as_string\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_____________________ test_unnumbered_chapter_minus_syntax _____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:303: in test_unnumbered_chapter_minus_syntax\n assert \"Preface\" in output\nE assert 'Preface' in 'Book with Unnumbered Chapters

Test

Book with Unnumbered Chapters

\\n

Chapter 1
Main Chapter

Main content.

\\n
'\n________________________ test_template_error_formatting ________________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:709: in test_template_error_formatting\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'template_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_______________________ test_rendering_inline_toc_option _______________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:441: in test_rendering_inline_toc_option\n assert len(toc_elements) > 0, \"Expected TOC element in output\"\nE AssertionError: Expected TOC element in output\nE assert 0 > 0\nE + where 0 = len([])\n__________________________ test_image_base64_embedded __________________________\n[gw125] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:576: in test_image_base64_embedded\n assert len(imgs) >= 1, \"Should have at least one img tag\"\nE AssertionError: Should have at least one img tag\nE assert 0 >= 1\nE + where 0 = len([])\n_____________________________ test_list_rendering ______________________________\n[gw65] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1502: in test_list_rendering\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw65/test_list_rendering0/test.epub'\n_________________________ test_epub_version_3_explicit _________________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:121: in test_epub_version_3_explicit\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw50/test_epub_version_3_explicit0/test.epub'\n_______________ test_html_dir_index_page_links_to_first_chapter ________________\n[gw111] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1936: in test_html_dir_index_page_links_to_first_chapter\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw111/test_html_dir_index_page_links0/output/index.html'\n___________________ test_html_dir_lang_attribute_propagated ____________________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:913: in test_html_dir_lang_attribute_propagated\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode\n__________________ test_basic_latex_structure_with_book_class __________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:36: in test_basic_latex_structure_with_book_class\n assert output_file.exists(), \"LaTeX output file not created\"\nE AssertionError: LaTeX output file not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw15/test_basic_latex_structure_wit0/output.tex').exists\n______________________ test_html_dir_blockquote_rendering ______________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1082: in test_html_dir_blockquote_rendering\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw101/test_html_dir_blockquote_rende0/output/chapter_000.html'\n_______________________ test_stats_flag_shows_word_count _______________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cli.py:286: in test_stats_flag_shows_word_count\n assert \"216\" in output, \"Should show character count\"\nE AssertionError: Should show character count\nE assert '216' in 'CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\ntest.md 264 48 5.50\\n---------\\nTOTAL: 264 48 5.50\\n'\n__________________ test_option_resources_base_path_templates ___________________\n[gw28] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1717: in test_option_resources_base_path_templates\n assert \"margin: 2em\" in content or \"margin:2em\" in content\nE assert ('margin: 2em' in 'Test Book

Test Author

Test Book

\\n

Chapter 1
Chapter

Content.

\\n
' or 'margin:2em' in 'Test Book

Test Author

Test Book

\\n

Chapter 1
Chapter

Content.

\\n
')\n_______________________ test_missing_css_file_in_config ________________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:452: in test_missing_css_file_in_config\n assert \"Could not find file\" in result.stderr\nE AssertionError: assert 'Could not find file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book', '--to', 'html', '-o', 'test.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_________________ test_html_dir_custom_css_added_to_stylesheet _________________\n[gw113] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:2093: in test_html_dir_custom_css_added_to_stylesheet\n stylesheet = (output_dir / \"stylesheet.css\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw113/test_html_dir_custom_css_added0/output/stylesheet.css'\n__________________ test_option_path_output_base_path_applied ___________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1663: in test_option_path_output_base_path_applied\n assert output_file.exists(), f\"Expected output at {output_file}, files: {list((result.workspace / 'out').glob('*'))}\"\nE AssertionError: Expected output at /tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/result.html, files: [PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/.keep')]\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/result.html').exists\n______________________ test_html_dir_emphasis_and_strong _______________________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1154: in test_html_dir_emphasis_and_strong\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw102/test_html_dir_emphasis_and_str0/output/chapter_000.html'\n_______________ test_html_dir_chapter_title_in_browser_title_tag _______________\n[gw115] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:2240: in test_html_dir_chapter_title_in_browser_title_tag\n ch1_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw115/test_html_dir_chapter_title_in0/output/chapter_000.html'\n_________________________ test_multiple_output_formats _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:224: in test_multiple_output_formats\n assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw2/test_multiple_output_formats0/output.epub').exists\n___________________ test_html_dir_cover_image_on_index_page ____________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1401: in test_html_dir_cover_image_on_index_page\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw105/test_html_dir_cover_image_on_i0/output/index.html'\n________________ test_html_dir_chapter_content_matches_markdown ________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:314: in test_html_dir_chapter_content_matches_markdown\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw92/test_html_dir_chapter_content_0/output/chapter_000.html'\n__________________________ test_nonexistent_book_file __________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:30: in test_nonexistent_book_file\n assert result.stderr == golden\nE assert '' == \"CROWBOOK 0.1...k' for book\\n\"\nE \nE - CROWBOOK 0.17.0\nE - ERROR Could not find file 'nonexistent.book' for book\n_________________ test_html_dir_error_when_output_path_is_file _________________\n[gw110] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1856: in test_html_dir_error_when_output_path_is_file\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_____________________ test_option_epub_version_validation ______________________\n[gw31] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1882: in test_option_epub_version_validation\n assert output_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw31/test_option_epub_version_valid0/output.epub').exists\n____________________________ test_toc_extras_option ____________________________\n[gw64] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1410: in test_toc_extras_option\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw64/test_toc_extras_option0/test.epub'\n_____________________ test_config_parser_error_yaml_syntax _____________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:823: in test_config_parser_error_yaml_syntax\n assert \"Error parsing configuration file\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'config_parse.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_____________________ test_template_not_found_error_format _____________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:1042: in test_template_not_found_error_format\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'template_missing.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________ test_rendering_chapter_template_option ____________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:754: in test_rendering_chapter_template_option\n assert \"***\" in output\nE assert '***' in 'Custom Chapter Template

Test

Custom Chapter Template

\\n

Chapter 1
First Chapter

Content.

\\n
\\n

Chapter 2
Second Chapter

Content.

\\n
'\n_________________ test_html_dir_favicon_link_in_chapter_pages __________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1506: in test_html_dir_favicon_link_in_chapter_pages\n html_content = (output_dir / chapter_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw106/test_html_dir_favicon_link_in_0/output/chapter_000.html'\n______________________ test_option_multiple_imports_chain ______________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1773: in test_option_multiple_imports_chain\n assert meta_author is not None\nE assert None is not None\n_____________________ test_option_import_nonexistent_file ______________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:1398: in test_option_import_nonexistent_file\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n________________ test_html_dir_first_chapter_has_only_next_link ________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1588: in test_html_dir_first_chapter_has_only_next_link\n first_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw107/test_html_dir_first_chapter_ha0/output/chapter_000.html'\n__________________________ test_invalid_template_name __________________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:233: in test_invalid_template_name\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...mplate name\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR nonexistent_template is not a valid template name\n____________________ test_html_dir_viewport_meta_for_mobile ____________________\n[gw103] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1222: in test_html_dir_viewport_meta_for_mobile\n html_content = (result.workspace / \"output\" / html_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw103/test_html_dir_viewport_meta_fo0/output/index.html'\n________________ test_html_dir_inline_toc_on_index_when_enabled ________________\n[gw109] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1772: in test_html_dir_inline_toc_on_index_when_enabled\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw109/test_html_dir_inline_toc_on_in0/output/index.html'\n_________________________ test_output_without_to_flag __________________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:106: in test_output_without_to_flag\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'chapter.md', '-o', 'output.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n________________________ test_unordered_list_to_itemize ________________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:204: in test_unordered_list_to_itemize\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw43/test_unordered_list_to_itemize0/output.tex'\n________________________ test_missing_markdown_chapter _________________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:74: in test_missing_markdown_chapter\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...ook chapter\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR missing_chapter.book:5: Could not find file 'nonexistent_chapter.md' for book chapter\n_______________________ test_html_dir_menu_svg_is_valid ________________________\n[gw97] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:790: in test_html_dir_menu_svg_is_valid\n menu_svg = (result.workspace / \"output\" / \"menu.svg\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw97/test_html_dir_menu_svg_is_vali0/output/menu.svg'\n_____________________ test_html_dir_favicon_on_index_page ______________________\n[gw112] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:2008: in test_html_dir_favicon_on_index_page\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw112/test_html_dir_favicon_on_index0/output/index.html'\n___________________________ test_title_page_content ____________________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:854: in test_title_page_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw57/test_title_page_content0/test.epub'\n_____________________ test_html_dir_creates_required_files _____________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:32: in test_html_dir_creates_required_files\n assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw88/test_html_dir_creates_required0/output').exists\n________________________ test_language_mapping_to_babel ________________________\n[gw126] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:378: in test_language_mapping_to_babel\n assert result.returncode == 0, f\"Failed for lang={lang_code}: {result.stderr}\"\nE AssertionError: Failed for lang=fr: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode\n____________________ test_html_dir_json_ld_structured_data _____________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:503: in test_html_dir_json_ld_structured_data\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw94/test_html_dir_json_ld_structur0/output/chapter_000.html'\n____________________ test_special_latex_characters_escaped _____________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:432: in test_special_latex_characters_escaped\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw23/test_special_latex_characters_0/output.tex'\n___________________ test_custom_title_and_author_in_metadata ___________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:402: in test_custom_title_and_author_in_metadata\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw116/test_custom_title_and_author_i0/output.tex'\n______________________ test_invalid_integer_option_value _______________________\n[gw77] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:501: in test_invalid_integer_option_value\n assert result.stderr == golden\nE assert '' == 'CROWBOOK 0.1...ot_an_int\")\\n'\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR int_test.book:5: Error converting BookOption: expected an integer as value for key 'rendering.num_depth', found String(\"not_an_int\")\n___________________ test_create_mode_with_multiple_chapters ____________________\n[gw78] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:546: in test_create_mode_with_multiple_chapters\n assert (result.workspace / \"new_book.book\").exists()\nE assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_create_mode_with_multiple0') / 'new_book.book').exists\nE + where PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_create_mode_with_multiple0') = CompletedProcess(args=['/workspace/executable', 'new_book.book', '--create', 'ch1.md', 'ch2.md', 'ch3.md'], returncode=0, stdout='CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ ch3.md\\n', stderr='').workspace\n________________________ test_missing_image_in_markdown ________________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:186: in test_missing_image_in_markdown\n assert result.stderr == golden\nE assert '' == \"CROWBOOK 0.1...' for image\\n\"\nE \nE - CROWBOOK 0.17.0\nE - ERROR chapter_img.md: Could not find file './nonexistent.png' for image\n______________________ test_verbose_mode_shows_debug_info ______________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:363: in test_verbose_mode_shows_debug_info\n assert \"[DEBUG] (1) crowbook::book:\" in result.stderr\nE AssertionError: assert '[DEBUG] (1) crowbook::book:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', '--verbose', 'verbose_test.book', '--to', 'html', '-o', 'test.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n______________________________ test_invalid_flag _______________________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:138: in test_invalid_flag\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-flag'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n________________ test_error_source_with_line_number_formatting _________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:879: in test_error_source_with_line_number_formatting\n assert \"source_test.book:6:\" in result.stderr\nE AssertionError: assert 'source_test.book:6:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'source_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n________________________ test_latex_render_error_format ________________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:988: in test_latex_render_error_format\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'latex_render.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n________________________ test_epub_zipper_error_format _________________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:930: in test_epub_zipper_error_format\n assert \"Error rendering epub:\" in result.stderr\nE AssertionError: assert 'Error rendering epub:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'epub_zip.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_____________________________ test_empty_book_file _____________________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errors.py:318: in test_empty_book_file\n assert result.stderr == golden\nE assert '' == 'CROWBOOK 0.1...argument?\\n\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR empty.book: Error parsing configuration file: \"could not parse %{file} as a book file.\"\nE - Maybe you meant to run crowbook with the --single argument?\nE -\n________________________ test_invalid_option_name_error ________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_book.py:509: in test_invalid_option_name_error\n assert \"unrecognized key 'invalid.option.name'\" in result.stderr\nE assert \"unrecognized key 'invalid.option.name'\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_________________________ test_epub_version_2_default __________________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:85: in test_epub_version_2_default\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw49/test_epub_version_2_default0/test.epub'\n_______________ test_html_dir_image_references_copied_and_linked _______________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:668: in test_html_dir_image_references_copied_and_linked\n assert len(image_files) >= 2 # icon and diagram\nE assert 0 >= 2\nE + where 0 = len([])\n____________________________ test_viewport_meta_tag ____________________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:724: in test_viewport_meta_tag\n assert viewport_meta is not None, \"Should have viewport meta tag for responsive design\"\nE AssertionError: Should have viewport meta tag for responsive design\nE assert None is not None\n________________________ test_language_code_propagation ________________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1372: in test_language_code_propagation\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode\n_______________________ test_markdown_code_block_fenced ________________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:332: in test_markdown_code_block_fenced\n assert len(pre_tags) >= 1\nE assert 0 >= 1\nE + where 0 = len([])\n_________________________ test_markdown_unordered_list _________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:221: in test_markdown_unordered_list\n assert len(uls) >= 1, f\"Expected at least 1
    tag, got {len(uls)}\"\nE AssertionError: Expected at least 1
      tag, got 0\nE assert 0 >= 1\nE + where 0 = len([])\n______________ test_html_dir_index_contains_toc_with_all_chapters ______________\n[gw89] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:114: in test_html_dir_index_contains_toc_with_all_chapters\n index_html = (result.workspace / \"output\" / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw89/test_html_dir_index_contains_t0/output/index.html'\n___________________________ test_generator_meta_tag ____________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:745: in test_generator_meta_tag\n assert generator_meta is not None, \"Should have generator meta tag\"\nE AssertionError: Should have generator meta tag\nE assert None is not None\n_____________________ test_markdown_bold_italic_rendering ______________________\n[gw118] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:163: in test_markdown_bold_italic_rendering\n assert len(strong_tags) + len(b_tags) > 0, \"Should have bold formatting tags\"\nE AssertionError: Should have bold formatting tags\nE assert (0 + 0) > 0\nE + where 0 = len([])\nE + and 0 = len([])\n________________________ test_css_embedded_in_style_tag ________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:406: in test_css_embedded_in_style_tag\n assert \"body\" in css_content, \"CSS should contain body rules\"\nE AssertionError: CSS should contain body rules\nE assert 'body' in ''\n______________________ test_ordered_list_starting_number _______________________\n[gw11] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:905: in test_ordered_list_starting_number\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw11/test_ordered_list_starting_num0/output.tex'\n___________________ test_empty_markdown_produces_valid_html ____________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:780: in test_empty_markdown_produces_valid_html\n assert soup.find(\"title\").get_text(strip=True) == \"Empty Book\"\nE AssertionError: assert '' == 'Empty Book'\nE \nE - Empty Book\n___________________ test_html_dir_css_contains_actual_styles ___________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:268: in test_html_dir_css_contains_actual_styles\n stylesheet = (result.workspace / \"output\" / \"stylesheet.css\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw91/test_html_dir_css_contains_act0/output/stylesheet.css'\n___________________ test_chapter_labels_for_cross_references ___________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:497: in test_chapter_labels_for_cross_references\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw34/test_chapter_labels_for_cross_0/output.tex'\n_________________________ test_tex_paper_size_setting __________________________\n[gw24] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:688: in test_tex_paper_size_setting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw24/test_tex_paper_size_setting0/output.tex'\n___________________ test_html_dir_print_css_always_included ____________________\n[gw114] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:2206: in test_html_dir_print_css_always_included\n assert print_css.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw114/test_html_dir_print_css_always0/output/print.css').exists\n__________________________ test_strikethrough_to_sout __________________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:574: in test_strikethrough_to_sout\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw42/test_strikethrough_to_sout0/output.tex'\n_______________________ test_code_block_without_language _______________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:996: in test_code_block_without_language\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw25/test_code_block_without_langua0/output.tex'\n_____________________ test_special_html_characters_escaped _____________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:1061: in test_special_html_characters_escaped\n assert \"\" in text, \"Should preserve angle bracket text content\"\nE AssertionError: Should preserve angle bracket text content\nE assert '' in \"\\n--- title: HTML Characters author: Test lang: en ---\\nChapter 1HTML Special CharactersText with and & ampersands.\\nA \u201cquote\u201d and 'apostrophe'.\\nCode: \\n\"\n__________________________ test_subsection_hierarchy ___________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:469: in test_subsection_hierarchy\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw0/test_subsection_hierarchy0/output.tex'\n_________________________ test_footnote_handling_epub3 _________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:718: in test_footnote_handling_epub3\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw55/test_footnote_handling_epub30/test.epub'\n_____________________ test_tex_links_as_footnotes_disabled _____________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:769: in test_tex_links_as_footnotes_disabled\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw38/test_tex_links_as_footnotes_di0/output.tex'\n__________________________ test_table_with_formatting __________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1084: in test_table_with_formatting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw37/test_table_with_formatting0/output.tex'\n__________________________ test_tex_font_size_setting __________________________\n[gw46] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:713: in test_tex_font_size_setting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw46/test_tex_font_size_setting0/output.tex'\n__________________________ test_multiline_blockquote ___________________________\n[gw33] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1026: in test_multiline_blockquote\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw33/test_multiline_blockquote0/output.tex'\n____________________ test_unnumbered_chapter_with_asterisk _____________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:630: in test_unnumbered_chapter_with_asterisk\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw1/test_unnumbered_chapter_with_a0/output.tex'\n__________________________ test_guide_section_in_opf ___________________________\n[gw58] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:933: in test_guide_section_in_opf\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw58/test_guide_section_in_opf0/test.epub'\n______________________ test_html_dir_codeblock_rendering _______________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1042: in test_html_dir_codeblock_rendering\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw100/test_html_dir_codeblock_render0/output/chapter_000.html'\n_____________________________ test_ncx_navigation ______________________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:279: in test_ncx_navigation\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_ncx_navigation0/test.epub'\n_______________________ test_code_block_without_language _______________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:982: in test_code_block_without_language\n assert len(pre_tags) >= 1, \"Should have pre tag for code block\"\nE AssertionError: Should have pre tag for code block\nE assert 0 >= 1\nE + where 0 = len([])\n________________________ test_inline_elements_in_lists _________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:966: in test_inline_elements_in_lists\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw7/test_inline_elements_in_lists0/output.tex'\n___________________________ test_markdown_blockquote ___________________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:288: in test_markdown_blockquote\n assert len(blockquotes) >= 1\nE assert 0 >= 1\nE + where 0 = len([])\n__________________________ test_tex_hyperref_disabled __________________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:803: in test_tex_hyperref_disabled\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw44/test_tex_hyperref_disabled0/output.tex'\n____________________________ test_mixed_list_types _____________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:936: in test_mixed_list_types\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw40/test_mixed_list_types0/output.tex'\n_____________________ test_spine_references_manifest_items _____________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1030: in test_spine_references_manifest_items\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw59/test_spine_references_manifest0/test.epub'\n_______________ test_html_dir_javascript_toggle_function_present _______________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:886: in test_html_dir_javascript_toggle_function_present\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw98/test_html_dir_javascript_toggl0/output/chapter_000.html'\n____________________________ test_images_in_content ____________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:509: in test_images_in_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw53/test_images_in_content0/test.epub'\n__________________________ test_link_to_href_with_url __________________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:312: in test_link_to_href_with_url\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw75/test_link_to_href_with_url0/output.tex'\n___________________________ test_footnotes_rendered ____________________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:663: in test_footnotes_rendered\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw19/test_footnotes_rendered0/output.tex'\n___________________ test_code_blocks_wrapped_in_environment ____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:172: in test_code_blocks_wrapped_in_environment\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw4/test_code_blocks_wrapped_in_en0/output.tex'\n_______________________ test_maketitle_command_included ________________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:520: in test_maketitle_command_included\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw21/test_maketitle_command_include0/output.tex'\n_____________________________ test_hidden_chapter ______________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1120: in test_hidden_chapter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw36/test_hidden_chapter0/output.tex'\n____________ test_html_dir_error_when_output_is_file_not_directory _____________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:947: in test_html_dir_error_when_output_is_file_not_directory\n assert \"already exists and is not a directory\" in result.stderr\nE AssertionError: assert 'already exists and is not a directory' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_____________________ test_rendering_initials_first_letter _____________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1410: in test_rendering_initials_first_letter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw72/test_rendering_initials_first_0/output.tex'\n_______________________ test_table_of_contents_generated _______________________\n[gw125] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:606: in test_table_of_contents_generated\n assert nav is not None, \"Should have navigation/TOC element\"\nE AssertionError: Should have navigation/TOC element\nE assert None is not None\n_________________________ test_hardbreak_to_linebreak __________________________\n[gw18] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:549: in test_hardbreak_to_linebreak\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw18/test_hardbreak_to_linebreak0/output.tex'\n______________________ test_table_to_tabularx_environment ______________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:342: in test_table_to_tabularx_environment\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw80/test_table_to_tabularx_environ0/output.tex'\n____________ test_html_dir_nested_resource_files_preserve_structure ____________\n[gw113] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:2133: in test_html_dir_nested_resource_files_preserve_structure\n assert jquery_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw113/test_html_dir_nested_resource_0/output/assets/lib/vendor/jquery.js').exists\n_______________ test_html_dir_resource_files_copied_to_out_path ________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1458: in test_html_dir_resource_files_copied_to_out_path\n assert assets_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw105/test_html_dir_resource_files_c0/output/assets').exists\n_______________ test_html_dir_navigation_without_chapter_numbers _______________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1727: in test_html_dir_navigation_without_chapter_numbers\n first_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw108/test_html_dir_navigation_witho0/output/chapter_000.html'\n_____________________ test_image_local_vs_remote_handling ______________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1339: in test_image_local_vs_remote_handling\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw47/test_image_local_vs_remote_han0/output.tex'\n_______________________ test_description_list_rendering ________________________\n[gw35] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1297: in test_description_list_rendering\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw35/test_description_list_renderin0/output.tex'\n______________________________ test_nested_lists _______________________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:873: in test_nested_lists\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw48/test_nested_lists0/output.tex'\n___________________________ test_missing_cover_error ___________________________\n[gw56] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:792: in test_missing_cover_error\n assert 'ERROR' in error_output, \"Should print ERROR for missing cover\"\nE AssertionError: Should print ERROR for missing cover\nE assert 'ERROR' in 'CROWBOOK 0.17.0\\n'\n________________________ test_horizontal_rule_to_mdrule ________________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:288: in test_horizontal_rule_to_mdrule\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw79/test_horizontal_rule_to_mdrule0/output.tex'\n_____________________ test_nested_enumerate_counter_levels _____________________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1812: in test_nested_enumerate_counter_levels\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw76/test_nested_enumerate_counter_0/output.tex'\n________________ test_html_dir_chapter_title_in_page_title_tag _________________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1190: in test_html_dir_chapter_title_in_page_title_tag\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw102/test_html_dir_chapter_title_in0/output/chapter_000.html'\n_____________________ test_syntax_highlighting_python_code _____________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_single.py:800: in test_syntax_highlighting_python_code\n assert len(pre_tags) >= 1, \"Should have code blocks\"\nE AssertionError: Should have code blocks\nE assert 0 >= 1\nE + where 0 = len([])\n____________ test_html_dir_chapter_without_header_gets_empty_title _____________\n[gw110] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1894: in test_html_dir_chapter_without_header_gets_empty_title\n assert (output_dir / \"chapter_000.html\").exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw110/test_html_dir_chapter_without_0/output') / 'chapter_000.html').exists\n___________________________ test_part_with_chapters ____________________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1159: in test_part_with_chapters\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw20/test_part_with_chapters0/output.tex'\n__________________ test_inline_code_with_break_opportunities ___________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1376: in test_inline_code_with_break_opportunities\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw41/test_inline_code_with_break_op0/output.tex'\n________________________ test_paragraph_ids_in_content _________________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1134: in test_paragraph_ids_in_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw60/test_paragraph_ids_in_content0/test.epub'\n_____________ test_initials_with_non_alphanumeric_first_character ______________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1869: in test_initials_with_non_alphanumeric_first_character\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw87/test_initials_with_non_alphanu0/output.tex'\n______________________ test_strikethrough_to_sout_command ______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1693: in test_strikethrough_to_sout_command\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw2/test_strikethrough_to_sout_com0/output.tex'\n___________________________ test_emphasis_and_strong ___________________________\n[gw65] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1539: in test_emphasis_and_strong\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw65/test_emphasis_and_strong0/test.epub'\n____________________________ test_inline_toc_option ____________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:625: in test_inline_toc_option\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw54/test_inline_toc_option0/test.epub'\n________________________ test_ordered_list_to_enumerate ________________________\n[gw31] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:232: in test_ordered_list_to_enumerate\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw31/test_ordered_list_to_enumerate0/output.tex'\n_________________________ test_css_stylesheet_included _________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:398: in test_css_stylesheet_included\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw52/test_css_stylesheet_included0/test.epub'\n_________________________ test_unique_identifier_uuid __________________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1196: in test_unique_identifier_uuid\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw61/test_unique_identifier_uuid0/test.epub'\n_________________ test_article_class_uses_section_not_chapter __________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:85: in test_article_class_uses_section_not_chapter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw12/test_article_class_uses_sectio0/output.tex'\n____________________ test_html_dir_prev_next_chapter_links _____________________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:196: in test_html_dir_prev_next_chapter_links\n ch0_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw90/test_html_dir_prev_next_chapte0/output/chapter_000.html'\n___________________ test_markdown_emphasis_to_latex_commands ___________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:117: in test_markdown_emphasis_to_latex_commands\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw29/test_markdown_emphasis_to_late0/output.tex'\n__________________________ test_inline_code_to_texttt __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:144: in test_inline_code_to_texttt\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw5/test_inline_code_to_texttt0/output.tex'\n_________________ test_blockquote_to_mdblockquote_environment __________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:259: in test_blockquote_to_mdblockquote_environment\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw3/test_blockquote_to_mdblockquot0/output.tex'\n__________________________ test_url_link_same_as_text __________________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1781: in test_url_link_same_as_text\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw81/test_url_link_same_as_text0/output.tex'\n______________ test_chapter_number_specification_with_setcounter _______________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1944: in test_chapter_number_specification_with_setcounter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw83/test_chapter_number_specificat0/output.tex'\n_______________ test_custom_pageref_template_for_internal_links ________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1906: in test_custom_pageref_template_for_internal_links\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw71/test_custom_pageref_template_f0/output.tex'\n___________________ test_html_dir_deletes_existing_directory ___________________\n[gw103] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1256: in test_html_dir_deletes_existing_directory\n old_file.write_text(\"stale content\")\n/usr/lib/python3.10/pathlib.py:1154: in write_text\n with self.open(mode='w', encoding=encoding, errors=errors, newline=newline) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw103/test_html_dir_deletes_existing0/output/old_stale_file.txt'\n__________________ test_html_dir_special_characters_in_titles __________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:752: in test_html_dir_special_characters_in_titles\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw96/test_html_dir_special_characte0/output/chapter_000.html'\n_________________________ test_code_blocks_in_content __________________________\n[gw64] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1453: in test_code_blocks_in_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw64/test_code_blocks_in_content0/test.epub'\n__________________ test_html_dir_no_inline_toc_when_disabled ___________________\n[gw109] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1816: in test_html_dir_no_inline_toc_when_disabled\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw109/test_html_dir_no_inline_toc_wh0/output/index.html'\n_____________________ test_html_dir_metadata_in_index_page _____________________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:464: in test_html_dir_metadata_in_index_page\n index_html = (result.workspace / \"output\" / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw93/test_html_dir_metadata_in_inde0/output/index.html'\n_______________ test_html_dir_single_chapter_no_prev_next_links ________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1548: in test_html_dir_single_chapter_no_prev_next_links\n chapter_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw106/test_html_dir_single_chapter_n0/output/chapter_000.html'\n_______________________ test_task_items_with_checkboxes ________________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1259: in test_task_items_with_checkboxes\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw14/test_task_items_with_checkboxe0/output.tex'\n_______________________ test_numbered_chapter_setcounter _______________________\n[gw17] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:598: in test_numbered_chapter_setcounter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw17/test_numbered_chapter_setcount0/output.tex'\n___________________ test_ordered_list_deep_nesting_handling ____________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1843: in test_ordered_list_deep_nesting_handling\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw67/test_ordered_list_deep_nesting0/output.tex'\n______________________ test_tex_template_add_custom_code _______________________\n[gw82] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1668: in test_tex_template_add_custom_code\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw82/test_tex_template_add_custom_c0/output.tex'\n________________ test_html_dir_last_chapter_has_only_prev_link _________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1634: in test_html_dir_last_chapter_has_only_prev_link\n last_html = (output_dir / \"chapter_002.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw107/test_html_dir_last_chapter_has0/output/chapter_002.html'\n_________________ test_html_dir_author_title_subtitle_on_index _________________\n[gw112] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:2049: in test_html_dir_author_title_subtitle_on_index\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw112/test_html_dir_author_title_sub0/output/index.html'\n________________ test_html_dir_is_chapter_flag_in_template_data ________________\n[gw115] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:2285: in test_html_dir_is_chapter_flag_in_template_data\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw115/test_html_dir_is_chapter_flag_0/output/index.html'\n_____________________________ test_empty_emphasis ______________________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1055: in test_empty_emphasis\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw15/test_empty_emphasis0/output.tex'\n___________________ test_stylesheet_referenced_in_all_xhtml ____________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:1299: in test_stylesheet_referenced_in_all_xhtml\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw62/test_stylesheet_referenced_in_0/test.epub'\n_____________________________ test_metadata_in_opf _____________________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_epub.py:152: in test_metadata_in_opf\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode\n______________________ test_tex_stdpage_package_inclusion ______________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1642: in test_tex_stdpage_package_inclusion\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw68/test_tex_stdpage_package_inclu0/output.tex'\n____________________ test_html_dir_print_css_separate_file _____________________\n[gw97] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:819: in test_html_dir_print_css_separate_file\n print_css = (result.workspace / \"output\" / \"print.css\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw97/test_html_dir_print_css_separa0/output/print.css'\n_____________________ test_html_dir_valid_html5_structure ______________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:540: in test_html_dir_valid_html5_structure\n html_content = (result.workspace / \"output\" / html_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw94/test_html_dir_valid_html5_stru0/output/index.html'\n____________________________ test_inline_toc_option ____________________________\n[gw13] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1588: in test_inline_toc_option\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw13/test_inline_toc_option0/output.tex'\n________________________ test_tex_margin_customization _________________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1470: in test_tex_margin_customization\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw116/test_tex_margin_customization0/output.tex'\n_________________ test_internal_cross_reference_with_hyperref __________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1751: in test_internal_cross_reference_with_hyperref\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw22/test_internal_cross_reference_0/output.tex'\n_________________________ test_html_dir_link_rendering _________________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1119: in test_html_dir_link_rendering\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw101/test_html_dir_link_rendering0/output/chapter_000.html'\n___________ test_html_dir_index_page_no_next_link_for_single_chapter ___________\n[gw111] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:1974: in test_html_dir_index_page_no_next_link_for_single_chapter\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw111/test_html_dir_index_page_no_ne0/output/index.html'\n________________________ test_tex_margins_customization ________________________\n[gw30] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:740: in test_tex_margins_customization\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw30/test_tex_margins_customization0/output.tex'\n________________________ test_xelatex_command_packages _________________________\n[gw126] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1557: in test_xelatex_command_packages\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw126/test_xelatex_command_packages0/output.tex'\n____________________ test_footnote_reference_and_definition ____________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1227: in test_footnote_reference_and_definition\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw43/test_footnote_reference_and_de0/output.tex'\n__________________________ test_tex_font_size_option ___________________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1441: in test_tex_font_size_option\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw27/test_tex_font_size_option0/output.tex'\n________________________ test_hard_break_to_mdhardbreak ________________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1719: in test_hard_break_to_mdhardbreak\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw66/test_hard_break_to_mdhardbreak0/output.tex'\n_________________ test_tectonic_command_uses_xelatex_packages __________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2189: in test_tectonic_command_uses_xelatex_packages\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw70/test_tectonic_command_uses_xel0/output.tex'\n___________________ test_special_character_escaping_in_text ____________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1187: in test_special_character_escaping_in_text\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw39/test_special_character_escapin0/output.tex'\n__________________________ test_cover_image_inclusion __________________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1528: in test_cover_image_inclusion\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw88/test_cover_image_inclusion0/output.tex'\n____________________ test_description_list_multiline_terms _____________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2344: in test_description_list_multiline_terms\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw85/test_description_list_multilin0/output.tex'\n________________________ test_empty_paragraphs_handling ________________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2379: in test_empty_paragraphs_handling\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw69/test_empty_paragraphs_handling0/output.tex'\n__________________ test_language_unknown_fallback_to_english ___________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2163: in test_language_unknown_fallback_to_english\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw74/test_language_unknown_fallback0/output.tex'\n__________________________ test_tex_paper_size_option __________________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1499: in test_tex_paper_size_option\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw10/test_tex_paper_size_option0/output.tex'\n_____________________ test_article_class_symmetric_margins _____________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2110: in test_article_class_symmetric_margins\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw84/test_article_class_symmetric_m0/output.tex'\n______________________ test_custom_chapter_and_part_names ______________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1615: in test_custom_chapter_and_part_names\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw23/test_custom_chapter_and_part_n0/output.tex'\n_____________________ test_unnumbered_chapter_adds_to_toc ______________________\n[gw78] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:1976: in test_unnumbered_chapter_adds_to_toc\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw78/test_unnumbered_chapter_adds_t0/output.tex'\n______________________ test_book_class_asymmetric_margins ______________________\n[gw77] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2137: in test_book_class_asymmetric_margins\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw77/test_book_class_asymmetric_mar0/output.tex'\n______________________ test_multiple_chapters_with_labels ______________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:837: in test_multiple_chapters_with_labels\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw57/test_multiple_chapters_with_la0/output.tex'\n_____________________ test_html_dir_anchor_ids_on_headings _____________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_html_dir.py:376: in test_html_dir_anchor_ids_on_headings\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw92/test_html_dir_anchor_ids_on_he0/output/chapter_000.html'\n___________________________ test_soft_break_to_space ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2245: in test_soft_break_to_space\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw6/test_soft_break_to_space0/output.tex'\n________________________ test_line_breaks_soft_vs_hard _________________________\n[gw118] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:906: in test_line_breaks_soft_vs_hard\n assert chapter is not None\nE assert None is not None\n______________________________ test_atx_headings _______________________________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:23: in test_atx_headings\n assert chapter is not None\nE assert None is not None\n_____________________________ test_autolink_email ______________________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:976: in test_autolink_email\n assert email_link is not None, \"Email autolink not found\"\nE AssertionError: Email autolink not found\nE assert None is not None\n_________________________ test_table_with_empty_cells __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1285: in test_table_with_empty_cells\n assert table is not None, \"Table not found\"\nE AssertionError: Table not found\nE assert None is not None\n_________________________ test_mixed_content_document __________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:641: in test_mixed_content_document\n assert soup.find(\"h1\") is not None, \"H1 not found\"\nE AssertionError: H1 not found\nE assert None is not None\nE + where None = find('h1')\nE + where find = CROWBOOK 0.17.0\\n.find\n_________________________ test_code_blocks_and_inline __________________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:117: in test_code_blocks_and_inline\n assert len(code_tags) >= 1\nE assert 0 >= 1\nE + where 0 = len([])\n_______________________ test_escaping_special_characters _______________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:598: in test_escaping_special_characters\n assert chapter is not None\nE assert None is not None\n______________________________ test_deep_nesting _______________________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:730: in test_deep_nesting\n assert len(ul_tags) >= 3, f\"Expected at least 3 nested list levels, found {len(ul_tags)}\"\nE AssertionError: Expected at least 3 nested list levels, found 0\nE assert 0 >= 3\nE + where 0 = len([])\n___________________ test_multiple_languages_babel_selection ____________________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2283: in test_multiple_languages_babel_selection\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw73/test_multiple_languages_babel_0/output.tex'\n___________________ test_pdf_generation_with_custom_temp_dir ___________________\n[gw113] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:362: in test_pdf_generation_with_custom_temp_dir\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________ test_part_marker_renders_empty_chapter ____________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2047: in test_part_marker_renders_empty_chapter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw86/test_part_marker_renders_empty0/output.tex'\n___________________ test_malformed_markdown_missing_closing ____________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:758: in test_malformed_markdown_missing_closing\n assert soup.find(\"html\") is not None\nE AssertionError: assert None is not None\nE + where None = find('html')\nE + where find = CROWBOOK 0.17.0\\n.find\n______________________________ test_ordered_lists ______________________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:215: in test_ordered_lists\n assert len(ol_tags) >= 1, \"No ordered lists found\"\nE AssertionError: No ordered lists found\nE assert 0 >= 1\nE + where 0 = len([])\n_____________________ test_code_block_preserves_whitespace _____________________\n[gw117] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:779: in test_code_block_preserves_whitespace\n assert pre is not None, \"Code block not found\"\nE AssertionError: Code block not found\nE assert None is not None\n____________________________ test_blockquote_nested ____________________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:294: in test_blockquote_nested\n assert nested_found, \"No nested blockquotes found\"\nE AssertionError: No nested blockquotes found\nE assert False\n__________________________ test_list_with_code_blocks __________________________\n[gw33] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:813: in test_list_with_code_blocks\n assert ul is not None, \"List not found\"\nE AssertionError: List not found\nE assert None is not None\n________________________ test_pdf_with_lualatex_command ________________________\n[gw28] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:229: in test_pdf_with_lualatex_command\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_____________________________ test_unicode_content _____________________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:674: in test_unicode_content\n assert chapter is not None\nE assert None is not None\n_______________________________ test_table_basic _______________________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:464: in test_table_basic\n assert len(tables) >= 2, f\"Expected at least 2 tables, found {len(tables)}\"\nE AssertionError: Expected at least 2 tables, found 0\nE assert 0 >= 2\nE + where 0 = len([])\n_______________ test_pdf_fake_latex_succeeds_but_no_result_file ________________\n[gw105] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:573: in test_pdf_fake_latex_succeeds_but_no_result_file\n assert \"Error rendering pdf:\" in result.stderr, f\"Should report error, got: {result.stderr}\"\nE AssertionError: Should report error, got: \nE assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________________ test_blockquote_simple ____________________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:267: in test_blockquote_simple\n assert len(blockquotes) >= 3, f\"Expected at least 3 blockquotes, found {len(blockquotes)}\"\nE AssertionError: Expected at least 3 blockquotes, found 0\nE assert 0 >= 3\nE + where 0 = len([])\n____________________ test_task_lists_with_checked_unchecked ____________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1410: in test_task_lists_with_checked_unchecked\n assert len(checkboxes) == 4, f\"Expected 4 checkboxes, found {len(checkboxes)}\"\nE AssertionError: Expected 4 checkboxes, found 0\nE assert 0 == 4\nE + where 0 = len([])\n_____________________________ test_links_reference _____________________________\n[gw75] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:382: in test_links_reference\n assert ref_link is not None, \"Reference link not found\"\nE AssertionError: Reference link not found\nE assert None is not None\n______________________________ test_images_inline ______________________________\n[gw124] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:421: in test_images_inline\n assert len(images) >= 3, f\"Expected at least 3 images, found {len(images)}\"\nE AssertionError: Expected at least 3 images, found 0\nE assert 0 >= 3\nE + where 0 = len([])\n_____________________ test_reference_link_case_insensitive _____________________\n[gw80] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1235: in test_reference_link_case_insensitive\n assert ref_link is not None, \"Reference link not found\"\nE AssertionError: Reference link not found\nE assert None is not None\n_______________________ test_pdf_with_multiple_chapters ________________________\n[gw99] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:72: in test_pdf_with_multiple_chapters\n assert \"Error rendering pdf:\" in result.stderr, \"Should attempt PDF generation\"\nE AssertionError: Should attempt PDF generation\nE assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_______________________ test_blockquote_with_formatting ________________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:315: in test_blockquote_with_formatting\n assert formatting_found, \"No blockquote with bold and italic formatting found\"\nE AssertionError: No blockquote with bold and italic formatting found\nE assert False\n____________ test_pdf_generation_with_fake_latex_multiple_chapters _____________\n[gw102] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:448: in test_pdf_generation_with_fake_latex_multiple_chapters\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw102/test_pdf_generation_with_fake_0/test.pdf').exists\n_________________ test_rendering_num_depth_controls_numbering __________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2079: in test_rendering_num_depth_controls_numbering\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw49/test_rendering_num_depth_contr0/output.tex'\n______________________ test_special_chars_in_code_blocks _______________________\n[gw24] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2533: in test_special_chars_in_code_blocks\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw24/test_special_chars_in_code_blo0/output.tex'\n____________________ test_multiple_paragraphs_in_list_item _____________________\n[gw114] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1115: in test_multiple_paragraphs_in_list_item\n assert chapter is not None\nE assert None is not None\n___________________ test_tex_title_option_controls_titlepage ___________________\n[gw89] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2471: in test_tex_title_option_controls_titlepage\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw89/test_tex_title_option_controls0/output.tex'\n___________________ test_table_cell_alignment_and_structure ____________________\n[gw46] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2311: in test_table_cell_alignment_and_structure\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw46/test_table_cell_alignment_and_0/output.tex'\n___________________ test_multiple_chapters_from_single_file ____________________\n[gw11] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2570: in test_multiple_chapters_from_single_file\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw11/test_multiple_chapters_from_si0/output.tex'\n____________________ test_pdf_with_footnotes_and_fake_latex ____________________\n[gw31] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:739: in test_pdf_with_footnotes_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw31/test_pdf_with_footnotes_and_fa0/test.pdf').exists\n___________ test_pdf_with_many_images_exercises_zipper_nested_write ____________\n[gw76] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:304: in test_pdf_with_many_images_exercises_zipper_nested_write\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_______________ test_pdf_with_very_large_chapter_and_fake_latex ________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:537: in test_pdf_with_very_large_chapter_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw2/test_pdf_with_very_large_chapt0/test.pdf').exists\n________________________ test_complex_nested_structures ________________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1800: in test_complex_nested_structures\n assert chapter is not None\nE assert None is not None\n_____________________________ test_setext_headings _____________________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:834: in test_setext_headings\n assert chapter is not None\nE assert None is not None\n_____________________ test_nested_formatting_combinations ______________________\n[gw42] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2215: in test_nested_formatting_combinations\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw42/test_nested_formatting_combina0/output.tex'\n___________________ test_pdf_with_book_class_and_fake_latex ____________________\n[gw110] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:696: in test_pdf_with_book_class_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw110/test_pdf_with_book_class_and_f0/test.pdf').exists\n__________________________ test_inline_html_handling ___________________________\n[gw36] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:931: in test_inline_html_handling\n assert chapter is not None\nE assert None is not None\n____________________ test_code_fence_with_backticks_inside _____________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1203: in test_code_fence_with_backticks_inside\n assert pre is not None, \"Code block not found\"\nE AssertionError: Code block not found\nE assert None is not None\n________________________ test_hidden_chapter_not_in_toc ________________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2011: in test_hidden_chapter_not_in_toc\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw34/test_hidden_chapter_not_in_toc0/output.tex'\n___________________________ test_emphasis_variations ___________________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:56: in test_emphasis_variations\n assert chapter is not None\nE assert None is not None\n_________________________ test_chapter_with_no_content _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2408: in test_chapter_with_no_content\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw1/test_chapter_with_no_content0/output.tex'\n___________________ test_footnote_references_and_definitions ___________________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1366: in test_footnote_references_and_definitions\n assert len(refs) == 2, f\"Expected 2 footnote references, found {len(refs)}\"\nE AssertionError: Expected 2 footnote references, found 0\nE assert 0 == 2\nE + where 0 = len([])\n______________________ test_link_with_parentheses_in_url _______________________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1176: in test_link_with_parentheses_in_url\n assert len(links) >= 2, f\"Expected at least 2 links, found {len(links)}\"\nE AssertionError: Expected at least 2 links, found 0\nE assert 0 >= 2\nE + where 0 = len([])\n____________________________ test_horizontal_rules _____________________________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:497: in test_horizontal_rules\n assert len(rules) >= 3, f\"Expected at least 3 horizontal rules, found {len(rules)}\"\nE AssertionError: Expected at least 3 horizontal rules, found 0\nE assert 0 >= 3\nE + where 0 = len([])\n_______________________________ test_task_lists ________________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:872: in test_task_lists\n assert len(checkboxes) == 3, f\"Expected 3 checkboxes, found {len(checkboxes)}\"\nE AssertionError: Expected 3 checkboxes, found 0\nE assert 0 == 3\nE + where 0 = len([])\n_____________ test_description_list_multiple_terms_and_definitions _____________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:2022: in test_description_list_multiple_terms_and_definitions\n assert dl is not None, \"Description list not found\"\nE AssertionError: Description list not found\nE assert None is not None\n_________________ test_code_block_without_syntax_highlighting __________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2503: in test_code_block_without_syntax_highlighting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw0/test_code_block_without_syntax0/output.tex'\n_____________________________ test_unordered_lists _____________________________\n[gw58] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:173: in test_unordered_lists\n assert chapter is not None\nE assert None is not None\n_________________ test_subsection_and_subsubsection_hierarchy __________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2604: in test_subsection_and_subsubsection_hierarchy\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_subsection_and_subsubsect0/output.tex'\n________________________ test_table_structure_and_cells ________________________\n[gw123] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1709: in test_table_structure_and_cells\n assert len(tables) >= 2, f\"Expected at least 2 tables, found {len(tables)}\"\nE AssertionError: Expected at least 2 tables, found 0\nE assert 0 >= 2\nE + where 0 = len([])\n______________________________ test_strikethrough ______________________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:92: in test_strikethrough\n assert len(del_tags) >= 3, f\"Expected at least 3 strikethrough sections, found {len(del_tags)}\"\nE AssertionError: Expected at least 3 strikethrough sections, found 0\nE assert 0 >= 3\nE + where 0 = len([])\n______________________________ test_links_inline _______________________________\n[gw55] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:340: in test_links_inline\n assert len(links) >= 3, f\"Expected at least 3 links, found {len(links)}\"\nE AssertionError: Expected at least 3 links, found 0\nE assert 0 >= 3\nE + where 0 = len([])\n_____________________ test_annotation_tokens_grammar_check _____________________\n[gw35] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1658: in test_annotation_tokens_grammar_check\n assert chapter is not None\nE assert None is not None\n_____________________ test_strikethrough_nested_formatting _____________________\n[gw108] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1683: in test_strikethrough_nested_formatting\n assert len(del_tags) >= 3, f\"Expected at least 3 strikethrough sections, found {len(del_tags)}\"\nE AssertionError: Expected at least 3 strikethrough sections, found 0\nE assert 0 >= 3\nE + where 0 = len([])\n_____________________ test_mixed_list_with_nested_content ______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_latex.py:2440: in test_mixed_list_with_nested_content\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw7/test_mixed_list_with_nested_co0/output.tex'\n____________________ test_print_template_invalid_name_error ____________________\n[gw103] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:276: in test_print_template_invalid_name_error\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE ERROR invalid.template is not a valid template name\nE \nE Got:\nE \nE assert '' == 'CROWBOOK 0.1...mplate name\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR invalid.template is not a valid template name\n______________________ test_nested_emphasis_combinations _______________________\n[gw93] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1082: in test_nested_emphasis_combinations\n assert chapter is not None\nE assert None is not None\n_____________________ test_image_relative_path_resolution ______________________\n[gw71] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:255: in test_image_relative_path_resolution\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])\n___________________ test_code_block_with_multiple_languages ____________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1866: in test_code_block_with_multiple_languages\n assert len(pre_tags) == 4, f\"Expected 4 code blocks, found {len(pre_tags)}\"\nE AssertionError: Expected 4 code blocks, found 0\nE assert 0 == 4\nE + where 0 = len([])\n______________________ test_is_container_method_coverage _______________________\n[gw56] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1595: in test_is_container_method_coverage\n assert chapter is not None\nE assert None is not None\n________________________ test_pdf_with_pdflatex_command ________________________\n[gw17] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:203: in test_pdf_with_pdflatex_command\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________ test_image_case_sensitivity_extension _____________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:623: in test_image_case_sensitivity_extension\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])\n_________________________ test_print_template_html_css _________________________\n[gw106] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:160: in test_print_template_html_css\n assert result.stdout == expected_css, \\\nE AssertionError: HTML CSS template mismatch. Length: expected 6861, got 16\nE assert 'CROWBOOK 0.17.0\\n' == 'body {\\n ...al_code}}\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - body {\nE - font-family: \"Linux Libertine\", \"Georgia\", serif;\nE - text-align: justify;\nE - font-size: 100%;\nE - }...\nE \nE ...Full output truncated (427 lines hidden), use '-vv' to show\n_____________________________ test_very_long_line ______________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:702: in test_very_long_line\n assert chapter is not None\nE assert None is not None\n___________________ test_image_embedding_epub_separate_file ____________________\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:66: in test_image_embedding_epub_separate_file\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw83/test_image_embedding_epub_sepa0/output.epub').exists\n__________________________ test_table_with_alignment ___________________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1051: in test_table_with_alignment\n assert table is not None, \"Table not found\"\nE AssertionError: Table not found\nE assert None is not None\n_________________ test_print_template_html_standalone_template _________________\n[gw67] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:450: in test_print_template_html_standalone_template\n assert len(template) > 200, \"Template too short\"\nE AssertionError: Template too short\nE assert 16 > 200\nE + where 16 = len('CROWBOOK 0.17.0\\n')\n________________ test_description_lists_with_nested_formatting _________________\n[gw18] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1315: in test_description_lists_with_nested_formatting\n assert dl is not None, \"Description list not found\"\nE AssertionError: Description list not found\nE assert None is not None\n_____________________________ test_empty_document ______________________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:533: in test_empty_document\n assert soup.find(\"html\") is not None, \"Output should contain HTML tag\"\nE AssertionError: Output should contain HTML tag\nE assert None is not None\nE + where None = find('html')\nE + where find = CROWBOOK 0.17.0\\n.find\n____________________________ test_images_with_title ____________________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:448: in test_images_with_title\n assert title_img is not None, \"Image with title attribute not found\"\nE AssertionError: Image with title attribute not found\nE assert None is not None\n__________________________ test_blockquote_with_list ___________________________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1147: in test_blockquote_with_list\n assert blockquote is not None, \"Blockquote not found\"\nE AssertionError: Blockquote not found\nE assert None is not None\n__________________ test_footnote_reference_without_definition __________________\n[gw79] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1762: in test_footnote_reference_without_definition\n assert chapter is not None\nE assert None is not None\n____________________ test_print_template_html_dir_template _____________________\n[gw109] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:292: in test_print_template_html_dir_template\n assert len(template) > 200, \"Template too short\"\nE AssertionError: Template too short\nE assert 16 > 200\nE + where 16 = len('CROWBOOK 0.17.0\\n')\n______________________________ test_nested_lists _______________________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:252: in test_nested_lists\n assert nested_found, \"No nested lists found in the output\"\nE AssertionError: No nested lists found in the output\nE assert False\n________________________ test_image_missing_file_error _________________________\n[gw87] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:118: in test_image_missing_file_error\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE WARNING Crowbook exited successfully, but the following errors occurred:\nE ERROR Error rendering html: with_missing_image.md: Could not find file './nonexistent.png' for image\nE \nE Got:\nE \nE assert '' == \"CROWBOOK 0.1...' for image\\n\"\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR Error rendering html: with_missing_image.md: Could not find file './nonexistent.png' for image\n____________ test_pdf_with_very_long_content_exercises_zipper_write ____________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:261: in test_pdf_with_very_long_content_exercises_zipper_write\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_______________________ test_images_inline_vs_standalone _______________________\n[gw41] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1453: in test_images_inline_vs_standalone\n assert len(imgs) == 2, f\"Expected 2 images, found {len(imgs)}\"\nE AssertionError: Expected 2 images, found 0\nE assert 0 == 2\nE + where 0 = len([])\n______________________ test_ordered_list_starting_number _______________________\n[gw90] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:997: in test_ordered_list_starting_number\n assert ol is not None, \"Ordered list not found\"\nE AssertionError: Ordered list not found\nE assert None is not None\n__________________________ test_multiple_blank_lines ___________________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:560: in test_multiple_blank_lines\n assert chapter is not None\nE assert None is not None\n______________ test_pdf_with_images_exercises_zipper_nested_paths ______________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:114: in test_pdf_with_images_exercises_zipper_nested_paths\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n________________ test_pdf_generation_with_images_and_fake_latex ________________\n[gw115] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:496: in test_pdf_generation_with_images_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw115/test_pdf_generation_with_image0/test.pdf').exists\n____________________ test_print_template_epub_chapter_xhtml ____________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:472: in test_print_template_epub_chapter_xhtml\n assert len(template) > 100, \"Template too short\"\nE AssertionError: Template too short\nE assert 16 > 100\nE + where 16 = len('CROWBOOK 0.17.0\\n')\n_________________ test_multiple_css_files_space_in_name_error __________________\n[gw112] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:543: in test_multiple_css_files_space_in_name_error\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE WARNING Crowbook exited successfully, but the following errors occurred:\nE ERROR Error rendering html: book.book: Could not find file './custom.css custom2.css' for template 'html.css'\nE \nE Got:\nE \nE assert '' == \"CROWBOOK 0.1... 'html.css'\\n\"\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR Error rendering html: book.book: Could not find file './custom.css custom2.css' for template 'html.css'\n__________________ test_subscript_superscript_token_handling ___________________\n[gw96] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1498: in test_subscript_superscript_token_handling\n assert len(sups) == 2, f\"Expected exactly 2 superscripts, found {len(sups)}\"\nE AssertionError: Expected exactly 2 superscripts, found 0\nE assert 0 == 2\nE + where 0 = len([])\n______________________ test_remote_image_url_not_embedded ______________________\n[gw82] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:423: in test_remote_image_url_not_embedded\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])\n_______________ test_pdf_generation_without_latex_command_fails ________________\n[gw111] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:36: in test_pdf_generation_without_latex_command_fails\n assert \"Error rendering pdf:\" in result.stderr, f\"Should report PDF error, got: {result.stderr}\"\nE AssertionError: Should report PDF error, got: \nE assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________ test_multiple_images_different_formats ____________________\n[gw107] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:211: in test_multiple_images_different_formats\n assert epub_file.exists(), \"output_multi.epub not created\"\nE AssertionError: output_multi.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw107/test_multiple_images_different0/output_multi.epub').exists\n______________________ test_image_not_found_absolute_path ______________________\n[gw97] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:509: in test_image_not_found_absolute_path\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE WARNING Crowbook exited successfully, but the following errors occurred:\nE ERROR Error rendering html: with_abs.md: Could not find file '/nonexistent/absolute/path.png' for image\nE \nE Got:\nE \nE assert '' == \"CROWBOOK 0.1...' for image\\n\"\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR Error rendering html: with_abs.md: Could not find file '/nonexistent/absolute/path.png' for image\n________________________ test_pdf_custom_latex_command _________________________\n[gw101] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:140: in test_pdf_custom_latex_command\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_________________ test_link_resolution_with_fallback_extension _________________\n[gw94] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:751: in test_link_resolution_with_fallback_extension\n assert chapter1_file.exists(), \"chapter_000.html not created\"\nE AssertionError: chapter_000.html not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw94/test_link_resolution_with_fall0/html_output/chapter_000.html').exists\n_______________________ test_print_template_tex_template _______________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:188: in test_print_template_tex_template\n assert result.stdout == expected_tex, \\\nE AssertionError: LaTeX template mismatch. Length: expected 6543, got 16\nE assert 'CROWBOOK 0.17.0\\n' == '\\\\documentcl...document}\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - \\documentclass<# if has_tex_size #>[<>pt]<# endif #>{<>}\nE - \nE - %% Package inclusion\nE - <# if xelatex #>\nE - % Unicode support if xelatex is used...\nE \nE ...Full output truncated (285 lines hidden), use '-vv' to show\n__________________ test_pdf_with_special_characters_in_title ___________________\n[gw30] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:331: in test_pdf_with_special_characters_in_title\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_____________________ test_pdf_with_tables_and_fake_latex ______________________\n[gw50] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:785: in test_pdf_with_tables_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw50/test_pdf_with_tables_and_fake_0/test.pdf').exists\n________________ test_container_identification_with_edge_cases _________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1967: in test_container_identification_with_edge_cases\n assert chapter is not None\nE assert None is not None\n______________________ test_css_add_option_inline_styles _______________________\n[gw68] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:336: in test_css_add_option_inline_styles\n assert \"Linux Libertine\" in html_content, \"Default CSS not included\"\nE AssertionError: Default CSS not included\nE assert 'Linux Libertine' in 'CSS Add Test

      Test

      CSS Add Test

      \\n

      Chapter 1
      Test with Image

      Here is a test image:

      \\n

      ![Test Image](test.png)

      \\n

      End of chapter.

      \\n
      '\n____________________________ test_emphasis_in_word _____________________________\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1025: in test_emphasis_in_word\n assert chapter is not None\nE assert None is not None\n_____________________________ test_links_autolink ______________________________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:405: in test_links_autolink\n assert autolink is not None, \"Autolink not found\"\nE AssertionError: Autolink not found\nE assert None is not None\n_________________________ test_print_template_epub_css _________________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:174: in test_print_template_epub_css\n assert result.stdout == expected_css, \\\nE AssertionError: EPUB CSS template mismatch. Length: expected 3842, got 16\nE assert 'CROWBOOK 0.17.0\\n' == 'body {\\n ...al_code}}\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - body {\nE - font-family: \"Linux Libertine\", \"Georgia\", serif;\nE - text-align: justify;\nE - font-size: 100%;\nE - }...\nE \nE ...Full output truncated (217 lines hidden), use '-vv' to show\n________________ test_pdf_with_all_latex_options_and_fake_latex ________________\n[gw66] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:653: in test_pdf_with_all_latex_options_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw66/test_pdf_with_all_latex_option0/test.pdf').exists\n_______________ test_pdf_generation_attempts_three_latex_passes ________________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:175: in test_pdf_generation_attempts_three_latex_passes\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_______________ test_pdf_generation_success_path_with_fake_latex _______________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:402: in test_pdf_generation_success_path_with_fake_latex\n assert pdf_file.exists(), \"Should create output PDF file\"\nE AssertionError: Should create output PDF file\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_pdf_generation_success_pa0/test.pdf').exists\n_____________________ test_epub_css_option_custom_styling ______________________\n[gw43] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:370: in test_epub_css_option_custom_styling\n assert epub_file.exists(), \"output_epub_css.epub not created\"\nE AssertionError: output_epub_css.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw43/test_epub_css_option_custom_st0/output_epub_css.epub').exists\n______________________ test_multiple_resource_types_epub _______________________\n[gw85] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:1302: in test_multiple_resource_types_epub\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw85/test_multiple_resource_types_e0/output.epub').exists\n_____________________ test_image_no_extension_epub_naming ______________________\n[gw126] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:699: in test_image_no_extension_epub_naming\n assert \"doesn't have an extension\" in result.stderr, \\\nE AssertionError: Expected extension warning not found in stderr: \nE assert \"doesn't have an extension\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_______________________ test_image_embedding_html_base64 _______________________\n[gw64] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:35: in test_image_embedding_html_base64\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])\n______________________ test_svg_image_mime_type_detection ______________________\n[gw70] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:998: in test_svg_image_mime_type_detection\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])\n______________________ test_consecutive_emphasis_markers _______________________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1257: in test_consecutive_emphasis_markers\n assert chapter is not None\nE assert None is not None\n____________________ test_resources_files_directory_walking ____________________\n[gw116] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:842: in test_resources_files_directory_walking\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw116/test_resources_files_directory0/output.epub').exists\n____________________ test_image_no_extension_base64_warning ____________________\n[gw88] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:660: in test_image_no_extension_base64_warning\n assert \"could not guess mime type\" in result.stderr, \\\nE AssertionError: Expected mime type warning not found in stderr: \nE assert 'could not guess mime type' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_____________________ test_mixed_inline_code_and_emphasis ______________________\n[gw13] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1901: in test_mixed_inline_code_and_emphasis\n assert chapter is not None\nE assert None is not None\n_________________________ test_is_code_method_coverage _________________________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_markdown.py:1551: in test_is_code_method_coverage\n assert len(code_tags) >= 2, f\"Expected at least 2 inline code elements, found {len(code_tags)}\"\nE AssertionError: Expected at least 2 inline code elements, found 0\nE assert 0 >= 2\nE + where 0 = len([])\n________________________________ test_help_flag ________________________________\n[gw104] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_seed.py:49: in test_help_flag\n assert \"USAGE:\" in output or \"Usage:\" in output, \"Help should show usage\"\nE AssertionError: Help should show usage\nE assert ('USAGE:' in 'CROWBOOK 0.17.0\\n' or 'Usage:' in 'CROWBOOK 0.17.0\\n')\n_______________________ test_lang_catalan_chapter_label ________________________\n[gw122] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:199: in test_lang_catalan_chapter_label\n assert \"Cap\u00edtol 1\" in html_content, \"Catalan chapter label not found\"\nE AssertionError: Catalan chapter label not found\nE assert 'Cap\u00edtol 1' in 'Llibre Catal\u00e0

      Test Author

      Llibre Catal\u00e0

      \\n

      Chapter 1
      Primer Cap\u00edtol

      Contingut de prova.

      \\n
      '\n_______________________ test_lang_russian_chapter_label ________________________\n[gw118] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:174: in test_lang_russian_chapter_label\n assert \"\u0413\u043b\u0430\u0432\u0430 1\" in html_content, \"Russian chapter label not found\"\nE AssertionError: Russian chapter label not found\nE assert '\u0413\u043b\u0430\u0432\u0430 1' in '\u0420\u0443\u0441\u0441\u043a\u0430\u044f \u041a\u043d\u0438\u0433\u0430

      Test Author

      \u0420\u0443\u0441\u0441\u043a\u0430\u044f \u041a\u043d\u0438\u0433\u0430

      \\n

      Chapter 1
      \u041f\u0435\u0440\u0432\u0430\u044f \u0413\u043b\u0430\u0432\u0430

      \u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435.

      \\n
      '\n_________________ test_stats_markdown_syntax_ignored_in_counts _________________\n[gw44] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:657: in test_stats_markdown_syntax_ignored_in_counts\n assert result.stdout == (RESOURCES / \"stats_markdown_formatting.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.62\\n' == 'Chapter ... 7.40\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -----------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - markdown_formatting.md 74 10 7.40...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n_____________________ test_jpeg_image_mime_type_detection ______________________\n[gw74] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:1066: in test_jpeg_image_mime_type_detection\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])\n____________________ test_stats_chars_word_ratio_precision _____________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:474: in test_stats_chars_word_ratio_precision\n assert \"6.77\" in output, \"Expected chars/word ratio 6.77 not found\"\nE AssertionError: Expected chars/word ratio 6.77 not found\nE assert '6.77' in 'CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\nchapter1.md 256 43 5.95\\nchapter2.md 148 21 7.05\\nchapter3.md 36 6 6.00\\n---------\\nTOTAL: 440 70 6.29\\n'\n______________________ test_resources_files_missing_error ______________________\n[gw77] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:897: in test_resources_files_missing_error\n assert \"error reading file ./nonexistent.txt: No such file or directory\" in result.stderr, \\\nE AssertionError: Expected exact file not found error in stderr: \nE assert 'error reading file ./nonexistent.txt: No such file or directory' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n________________________ test_custom_css_file_inclusion ________________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:145: in test_custom_css_file_inclusion\n assert \"background-color: #f0f0f0;\" in html_content, \"Custom CSS background not found\"\nE AssertionError: Custom CSS background not found\nE assert 'background-color: #f0f0f0;' in 'Test Book with CSS

      Test Author

      Test Book with CSS

      \\n

      Chapter 1
      Test with Image

      Here is a test image:

      \\n

      ![Test Image](test.png)

      \\n

      End of chapter.

      \\n
      '\n______________________ test_stats_mixed_markdown_elements ______________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:417: in test_stats_mixed_markdown_elements\n assert result.stdout == (RESOURCES / \"stats_mixed.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.98\\n' == 'Chapter ... 7.81\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - mixed_content.md 242 31 7.81...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n_________________ test_resources_files_special_file_type_error _________________\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:1192: in test_resources_files_special_file_type_error\n assert result.returncode != 0 or \"error\" in result.stderr.lower(), \\\nE AssertionError: Expected error for special file type, got: \nE assert (0 != 0 or 'error' in '')\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\nE + and '' = ()\nE + where = ''.lower\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n____________________________ test_simple_book_html _____________________________\n[gw117] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_seed.py:90: in test_simple_book_html\n assert \"CROWBOOK\" in result.stderr, \"Should print crowbook banner\"\nE AssertionError: Should print crowbook banner\nE assert 'CROWBOOK' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book', '--to', 'html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n______________________ test_stats_empty_book_nan_handling ______________________\n[gw127] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:63: in test_stats_empty_book_nan_handling\n assert result.stdout == (RESOURCES / \"stats_empty.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 0.00\\n' == 'Chapter ... NaN\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? +++\nE ---------\nE - empty.md 0 0 NaN...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n_____________________ test_stats_with_code_blocks_included _____________________\n[gw124] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:78: in test_stats_with_code_blocks_included\n assert result.stdout == (RESOURCES / \"stats_code.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 7.00\\n' == 'Chapter ... 8.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - code_content.md 104 13 8.00...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n__________________ test_pdf_fake_latex_fails_with_error_code ___________________\n[gw92] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_pdf.py:611: in test_pdf_fake_latex_fails_with_error_code\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n_______________________ test_stats_single_character_word _______________________\n[gw119] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:547: in test_stats_single_character_word\n assert result.stdout == (RESOURCES / \"stats_single_char.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 2.00\\n' == 'Chapter ... 1.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ---\nE + Chapter Chars Words Chars/Word\nE ---------\nE - single_char.md 1 1 1.00...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n_____________________ test_stats_simple_book_exact_counts ______________________\n[gw49] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:33: in test_stats_simple_book_exact_counts\n assert result.stdout == (RESOURCES / \"stats_simple.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.95\\n' == 'Chapter ... 6.77\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE Chapter Chars Words Chars/Word\nE ---------\nE - chapter1.md 237 35 6.77\nE + chapter1.md 256 43 5.95\nE ---------...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n___________________ test_stats_with_images_excludes_alt_text ___________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:241: in test_stats_with_images_excludes_alt_text\n assert result.stdout == (RESOURCES / \"stats_images.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.79\\n' == 'Chapter ... 7.11\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - images_content.md 64 9 7.11...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n________________ test_stats_very_long_chapter_name_column_width ________________\n[gw33] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:515: in test_stats_very_long_chapter_name_column_width\n assert result.stdout == (RESOURCES / \"stats_long_name.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.67\\n' == 'Chapter ... 6.15\\n\\n'\nE \nE - Chapter Chars Words Chars/Word\nE + CROWBOOK 0.17.0\nE + Chapter Chars Words Chars/Word\nE ---------\nE - very_long_chapter_name_that_exceeds_normal_width_expectations.md 80 13 6.15\nE + very_long_chapter_name_that_exceeds_normal_width_expectations.md 85 15 5.67...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n________________ test_stats_varied_word_lengths_ratio_precision ________________\n[gw100] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:578: in test_stats_varied_word_lengths_ratio_precision\n assert result.stdout == (RESOURCES / \"stats_varied.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.55\\n' == 'Chapter ... 7.44\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - varied_lengths.md 67 9 7.44...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n____________________ test_stats_large_book_accurate_totals _____________________\n[gw91] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:257: in test_stats_large_book_accurate_totals\n assert result.stdout == (RESOURCES / \"stats_large.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 7.17\\n' == 'Chapter ... 7.22\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? ++\nE ---------\nE - large1.md 16486 2602 6.34...\nE \nE ...Full output truncated (11 lines hidden), use '-vv' to show\n________________________ test_lang_french_chapter_label ________________________\n[gw121] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:92: in test_lang_french_chapter_label\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '/workspace/eval/test_resources/test_stats_lang/french.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode\n_____________________ test_image_duplicate_reference_reuse _____________________\n[gw78] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:933: in test_image_duplicate_reference_reuse\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_image_duplicate_reference0/output.epub').exists\n__________________ test_link_resolution_missing_file_warning ___________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:801: in test_link_resolution_missing_file_warning\n assert \"Resources: could not find an in-book match for link missing.txt or missing.md\" in result.stderr, \\\nE AssertionError: Expected full link match warning not found in stderr: \nE assert 'Resources: could not find an in-book match for link missing.txt or missing.md' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr\n___________________ test_stats_cjk_characters_word_counting ____________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:673: in test_stats_cjk_characters_word_counting\n assert result.stdout == (RESOURCES / \"stats_cjk.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 9.25\\n' == 'Chapter ... 16.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ---\nE + Chapter Chars Words Chars/Word\nE ---------\nE - cjk_content.md 32 2 16.00...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n___________________ test_stats_multiple_chapters_aggregation ___________________\n[gw95] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:48: in test_stats_multiple_chapters_aggregation\n assert result.stdout == (RESOURCES / \"stats_multi.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.29\\n' == 'Chapter ... 7.18\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE Chapter Chars Words Chars/Word\nE ---------\nE - chapter1.md 237 35 6.77\nE - chapter2.md 141 18 7.83\nE - chapter3.md 31 4 7.75...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n_______________________ test_html_lang_attribute_french ________________________\n[gw11] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:287: in test_html_lang_attribute_french\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '/workspace/eval/test_resources/test_stats_lang/french.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode\n________________ test_stats_special_characters_word_boundaries _________________\n[gw120] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:642: in test_stats_special_characters_word_boundaries\n assert result.stdout == (RESOURCES / \"stats_special_chars.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 7.47\\n' == 'Chapter ... 8.23\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - special_chars.md 107 13 8.23...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n_______________________ test_large_image_base64_encoding _______________________\n[gw86] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:1246: in test_large_image_base64_encoding\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])\n_______________________ test_lang_spanish_chapter_label ________________________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:149: in test_lang_spanish_chapter_label\n assert \"Cap\u00edtulo 1\" in html_content, \"Spanish chapter label not found\"\nE AssertionError: Spanish chapter label not found\nE assert 'Cap\u00edtulo 1' in 'Libro Espa\u00f1ol

      Test Author

      Libro Espa\u00f1ol

      \\n

      Chapter 1
      Cap\u00edtulo Primero

      Este es un contenido de prueba.

      \\n
      '\n________________ test_stats_emoji_multibyte_character_counting _________________\n[gw37] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:594: in test_stats_emoji_multibyte_character_counting\n assert result.stdout == (RESOURCES / \"stats_emoji.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 5.50\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ---\nE + Chapter Chars Words Chars/Word\nE ---------\nE - emoji_heavy.md 55 10 5.50...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n_____________________ test_stats_many_chapters_aggregation _____________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:626: in test_stats_many_chapters_aggregation\n assert result.stdout == (RESOURCES / \"stats_many_chapters.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.22\\n' == 'Chapter ... 6.94\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE Chapter Chars Words Chars/Word\nE ---------\nE - short.md 2 1 2.00\nE ? ^ ^\nE + short.md 3 1 3.00...\nE \nE ...Full output truncated (15 lines hidden), use '-vv' to show\n______________________ test_resources_files_with_symlinks ______________________\n[gw69] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:1147: in test_resources_files_with_symlinks\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw69/test_resources_files_with_syml0/output.epub').exists\n__________________ test_stats_unicode_multibyte_char_counting __________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:273: in test_stats_unicode_multibyte_char_counting\n assert result.stdout == (RESOURCES / \"stats_unicode.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.24\\n' == 'Chapter ... 8.45\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - unicode_content.md 93 11 8.45...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n________________________ test_stats_single_word_chapter ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:433: in test_stats_single_word_chapter\n assert result.stdout == (RESOURCES / \"stats_minimal.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 4.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? +\nE ---------\nE - minimal.md 4 1 4.00...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n_______________ test_stats_mixed_chapter_name_lengths_alignment ________________\n[gw51] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:610: in test_stats_mixed_chapter_name_lengths_alignment\n assert result.stdout == (RESOURCES / \"stats_mixed_lengths.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.72\\n' == 'Chapter ... 5.91\\n\\n'\nE \nE - Chapter Chars Words Chars/Word\nE + CROWBOOK 0.17.0\nE + Chapter Chars Words Chars/Word\nE ---------\nE - short.md 2 1 2.00\nE - medium.md 54 9 6.00...\nE \nE ...Full output truncated (8 lines hidden), use '-vv' to show\n______________________ test_lang_locale_code_format_fr_FR ______________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:401: in test_lang_locale_code_format_fr_FR\n assert \"Chapitre 1\" in html_content, \"French chapter label not found for fr_FR locale\"\nE AssertionError: French chapter label not found for fr_FR locale\nE assert 'Chapitre 1' in 'French with Locale

      Test Author

      French with Locale

      \\n

      Chapter 1
      Test Locale

      Content en fran\u00e7ais.

      \\n
      '\n______________ test_stats_single_letter_chapter_name_column_width ______________\n[gw98] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:713: in test_stats_single_letter_chapter_name_column_width\n assert result.stdout == (RESOURCES / \"stats_single_letter_name.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.50\\n' == 'Chapter C... 8.50\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? +++++++\nE ---------\nE - x.md 17 2 8.50...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n___________________ test_epub_css_add_option_inline_content ____________________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_resources.py:573: in test_epub_css_add_option_inline_content\n assert epub_file.exists(), \"output_epub_css_add.epub not created\"\nE AssertionError: output_epub_css_add.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw57/test_epub_css_add_option_inlin0/output_epub_css_add.epub').exists\n____________________ test_stats_huge_word_count_formatting _____________________\n[gw58] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:562: in test_stats_huge_word_count_formatting\n assert result.stdout == (RESOURCES / \"stats_huge.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 5.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - huge_content.md 49999 10000 5.00...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n_______________ test_stats_whitespace_only_content_nan_handling ________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:531: in test_stats_whitespace_only_content_nan_handling\n assert result.stdout == (RESOURCES / \"stats_whitespace.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 0.00\\n' == 'Chapter ... NaN\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - whitespace_only.md 0 0 NaN...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n________________________ test_lang_german_chapter_label ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:124: in test_lang_german_chapter_label\n assert \"Kapitel 1\" in html_content, \"German chapter label not found\"\nE AssertionError: German chapter label not found\nE assert 'Kapitel 1' in 'Deutsches Buch

      Test Author

      Deutsches Buch

      \\n

      Chapter 1
      Kapitel Eins

      Dies ist ein Test auf Deutsch.

      \\n
      '\n________________ test_stats_duplicate_chapter_names_with_paths _________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:730: in test_stats_duplicate_chapter_names_with_paths\n assert result.stdout == (RESOURCES / \"stats_duplicate_names.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.19\\n' == 'Chapter ... 7.10\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - chapter1.md 237 35 6.77...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n_________________ test_stats_verbose_mode_no_advanced_warning __________________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_stats_lang.py:691: in test_stats_verbose_mode_no_advanced_warning\n assert \"CROWBOOK 0.17.0\" in result.stderr\nE AssertionError: assert 'CROWBOOK 0.17.0' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', '-v', '--stats', '/workspace/eval/test_resources/test_stats_lang/simple.book'], returncode=0, stdout='CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\nchapter1.md 256 43 5.95\\n---------\\nTOTAL: 256 43 5.95\\n', stderr='').stderr\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED tests/test_book.py::test_option_import_merges_settings - assert None i...\nFAILED tests/test_book.py::test_basic_metadata_fields - assert None is not None\nFAILED tests/test_cli.py::test_missing_book_file_error - assert 'CROWBOOK 0.1...\nFAILED tests/test_book.py::test_option_strvec_invalid_element_type - Assertio...\nFAILED tests/test_book.py::test_option_type_error_array_as_string - Assertion...\nFAILED tests/test_cli.py::test_stdin_single_mode - AssertionError: Should con...\nFAILED tests/test_book.py::test_rendering_roman_numerals_option - AssertionEr...\nFAILED tests/test_book.py::test_additional_metadata_fields - AssertionError: ...\nFAILED tests/test_book.py::test_option_type_error_bool_as_int - AssertionErro...\nFAILED tests/test_book.py::test_option_custom_metadata_invalid_type - Asserti...\nFAILED tests/test_cli.py::test_force_emoji_flag - AssertionError: Should docu...\nFAILED tests/test_cli.py::test_output_to_stdout - AssertionError: Should outp...\nFAILED tests/test_cli.py::test_multiple_set_flags_error - AssertionError: Sho...\nFAILED tests/test_epub.py::test_empty_book_error - AssertionError: EPUB file ...\nFAILED tests/test_book.py::test_html_css_add_option - assert 'body { backgrou...\nFAILED tests/test_book.py::test_missing_markdown_file_error - assert \"Could n...\nFAILED tests/test_cli.py::test_list_options_flag - AssertionError: Should lis...\nFAILED tests/test_cli.py::test_print_template_html_css - AssertionError: Shou...\nFAILED tests/test_book.py::test_option_float_wrong_yaml_type - AssertionError...\nFAILED tests/test_cli.py::test_single_mode_epub_output - AssertionError: EPUB...\nFAILED tests/test_cli.py::test_verbose_quiet_conflict - AssertionError: Shoul...\nFAILED tests/test_book.py::test_deprecated_option_with_alias - AssertionError...\nFAILED tests/test_cli.py::test_set_invalid_option_error - assert 'CROWBOOK 0....\nFAILED tests/test_book.py::test_book_file_with_yaml_style_multiline_string - ...\nFAILED tests/test_cli.py::test_verbose_flag_shows_debug_output - AssertionErr...\nFAILED tests/test_cli.py::test_create_book_with_files - AssertionError: Shoul...\nFAILED tests/test_cli.py::test_autograph_mode_requires_stdin - AssertionError...\nFAILED tests/test_errors.py::test_conflicting_quiet_verbose_flags - Assertion...\nFAILED tests/test_book.py::test_tex_options_paper_size - AssertionError: asse...\nFAILED tests/test_book.py::test_unrecognized_option_error - AssertionError: a...\nFAILED tests/test_errors.py::test_invalid_yaml_structure_error - AssertionErr...\nFAILED tests/test_book.py::test_inline_toc_name_option - assert 'Contents' in...\nFAILED tests/test_errors.py::test_invalid_to_format - AssertionError: assert ...\nFAILED tests/test_errors.py::test_zipper_error_epub_creation - AssertionError...\nFAILED tests/test_errors.py::test_no_arguments_error - AssertionError: assert...\nFAILED tests/test_book.py::test_book_with_empty_lines - assert None is not None\nFAILED tests/test_book.py::test_option_strvec_invalid_output_format - Asserti...\nFAILED tests/test_errors.py::test_book_option_type_error_formatting - Asserti...\nFAILED tests/test_errors.py::test_multiple_errors_accumulation - AssertionErr...\nFAILED tests/test_errors.py::test_malformed_yaml_configuration - AssertionErr...\nFAILED tests/test_errors.py::test_multiple_chapter_errors_reported - Assertio...\nFAILED tests/test_errors.py::test_missing_cover_image - assert \"Could not fin...\nFAILED tests/test_errors.py::test_file_not_found_with_description - Assertion...\nFAILED tests/test_errors.py::test_output_to_stdout_with_dash - AssertionError...\nFAILED tests/test_cli.py::test_quiet_flag_suppresses_banner - AssertionError:...\nFAILED tests/test_errors.py::test_render_error_epub_missing_cover - Assertion...\nFAILED tests/test_epub.py::test_basic_epub_structure - AssertionError: EPUB f...\nFAILED tests/test_errors.py::test_multiple_error_types_in_same_book - Asserti...\nFAILED tests/test_errors.py::test_invalid_boolean_option_value - AssertionErr...\nFAILED tests/test_errors.py::test_pdf_rendering_latex_missing - AssertionErro...\nFAILED tests/test_errors.py::test_output_directory_not_found - assert 1 == 0\nFAILED tests/test_cli.py::test_stdin_book_mode - AssertionError: Should use t...\nFAILED tests/test_book.py::test_output_base_path_option - AssertionError: ass...\nFAILED tests/test_errors.py::test_set_with_wrong_argument_count - AssertionEr...\nFAILED tests/test_errors.py::test_render_error_pdf_without_latex - AssertionE...\nFAILED tests/test_errors.py::test_quiet_mode_suppresses_header - AssertionErr...\nFAILED tests/test_html_dir.py::test_html_dir_chapter_file_naming_sequential\nFAILED tests/test_book.py::test_multiple_authors - assert None is not None\nFAILED tests/test_book.py::test_option_float_invalid_string - AssertionError:...\nFAILED tests/test_epub.py::test_spine_ordering - FileNotFoundError: [Errno 2]...\nFAILED tests/test_html_dir.py::test_html_dir_images_directory_created - Asser...\nFAILED tests/test_html_dir.py::test_html_dir_multiple_chapters_with_sections\nFAILED tests/test_epub.py::test_chapter_numbering - FileNotFoundError: [Errno...\nFAILED tests/test_cli.py::test_set_single_option - AssertionError: Should set...\nFAILED tests/test_book.py::test_option_type_error_string_as_bool - AssertionE...\nFAILED tests/test_epub.py::test_html_escaping_in_metadata - FileNotFoundError...\nFAILED tests/test_cli.py::test_set_multiple_values_in_single_flag - Assertion...\nFAILED tests/test_html_single.py::test_markdown_links - assert 0 >= 1\nFAILED tests/test_html_dir.py::test_html_dir_cleans_previous_output - Asserti...\nFAILED tests/test_epub.py::test_footnote_handling_epub2 - FileNotFoundError: ...\nFAILED tests/test_epub.py::test_xhtml_content_valid - FileNotFoundError: [Err...\nFAILED tests/test_errors.py::test_invalid_yaml_in_book_config - AssertionErro...\nFAILED tests/test_book.py::test_deprecated_option_removed_no_replacement - As...\nFAILED tests/test_html_single.py::test_html_horizontal_rule - AssertionError:...\nFAILED tests/test_epub.py::test_manifest_items_have_ids - FileNotFoundError: ...\nFAILED tests/test_cli.py::test_print_template_invalid_name - AssertionError: ...\nFAILED tests/test_epub.py::test_cover_image_handling - FileNotFoundError: [Er...\nFAILED tests/test_book.py::test_option_strvec_not_array - AssertionError: ass...\nFAILED tests/test_html_single.py::test_schema_org_metadata_json_ld - Assertio...\nFAILED tests/test_html_single.py::test_markdown_table_rendering - assert 0 >= 1\nFAILED tests/test_book.py::test_unnumbered_part_syntax - assert 'Introduction...\nFAILED tests/test_book.py::test_specific_chapter_number_syntax - assert 'Chap...\nFAILED tests/test_html_single.py::test_markdown_code_inline - assert 0 >= 1\nFAILED tests/test_cli.py::test_help_flag_full_output - AssertionError: Should...\nFAILED tests/test_html_single.py::test_html_title_in_head - AssertionError: a...\nFAILED tests/test_cli.py::test_no_input_file_error - AssertionError: assert '...\nFAILED tests/test_cli.py::test_single_mode_tex_output - AssertionError: Shoul...\nFAILED tests/test_book.py::test_rendering_highlight_option - assert 0 > 0\nFAILED tests/test_html_single.py::test_markdown_headings_h1_to_h3 - assert 'S...\nFAILED tests/test_cli.py::test_single_mode_html_output - AssertionError: Shou...\nFAILED tests/test_html_dir.py::test_html_dir_highlight_js_files_included - As...\nFAILED tests/test_html_single.py::test_nested_lists - AssertionError: Should ...\nFAILED tests/test_html_dir.py::test_html_dir_chapter_files_have_navigation_menu\nFAILED tests/test_epub.py::test_metadata_generator_crowbook - FileNotFoundErr...\nFAILED tests/test_cli.py::test_invalid_output_format_error - AssertionError: ...\nFAILED tests/test_html_dir.py::test_html_dir_toc_links_resolve_to_chapter_anchors\nFAILED tests/test_html_dir.py::test_html_dir_menu_svg_always_included - Asser...\nFAILED tests/test_epub.py::test_multiple_chapters_toc - FileNotFoundError: [E...\nFAILED tests/test_html_dir.py::test_html_dir_index_next_link_to_first_chapter\nFAILED tests/test_book.py::test_list_options_flag - AssertionError: assert ('...\nFAILED tests/test_errors.py::test_invalid_book_option_error_formatting - Asse...\nFAILED tests/test_book.py::test_output_list_format - AssertionError: Expected...\nFAILED tests/test_epub.py::test_heading_ids_in_chapters - FileNotFoundError: ...\nFAILED tests/test_book.py::test_epub_version_option - AssertionError: assert ...\nFAILED tests/test_book.py::test_option_type_error_string_as_int - AssertionEr...\nFAILED tests/test_errors.py::test_set_invalid_option_key - assert '' == \"CROW...\nFAILED tests/test_html_single.py::test_markdown_ordered_list - assert 0 >= 1\nFAILED tests/test_cli.py::test_create_book_with_set_options - AssertionError:...\nFAILED tests/test_html_dir.py::test_html_dir_chapter_numbering_in_titles - Fi...\nFAILED tests/test_epub.py::test_ncx_depth_metadata - FileNotFoundError: [Errn...\nFAILED tests/test_epub.py::test_custom_css_addition - FileNotFoundError: [Err...\nFAILED tests/test_cli.py::test_no_fancy_flag_disables_ui - AssertionError: as...\nFAILED tests/test_html_dir.py::test_html_dir_middle_chapter_has_both_prev_and_next\nFAILED tests/test_html_single.py::test_metadata_author_meta_tag - assert None...\nFAILED tests/test_errors.py::test_error_with_line_number_precision - Assertio...\nFAILED tests/test_cli.py::test_output_formats_html_dir - AssertionError: Shou...\nFAILED tests/test_book.py::test_subchapter_double_dash_syntax - assert 'Subch...\nFAILED tests/test_errors.py::test_render_error_invalid_html_template_var - As...\nFAILED tests/test_book.py::test_option_type_error_int_as_string - AssertionEr...\nFAILED tests/test_book.py::test_unnumbered_chapter_minus_syntax - assert 'Pre...\nFAILED tests/test_errors.py::test_template_error_formatting - AssertionError:...\nFAILED tests/test_book.py::test_rendering_inline_toc_option - AssertionError:...\nFAILED tests/test_html_single.py::test_image_base64_embedded - AssertionError...\nFAILED tests/test_epub.py::test_list_rendering - FileNotFoundError: [Errno 2]...\nFAILED tests/test_epub.py::test_epub_version_3_explicit - FileNotFoundError: ...\nFAILED tests/test_html_dir.py::test_html_dir_index_page_links_to_first_chapter\nFAILED tests/test_html_dir.py::test_html_dir_lang_attribute_propagated - Asse...\nFAILED tests/test_latex.py::test_basic_latex_structure_with_book_class - Asse...\nFAILED tests/test_html_dir.py::test_html_dir_blockquote_rendering - FileNotFo...\nFAILED tests/test_cli.py::test_stats_flag_shows_word_count - AssertionError: ...\nFAILED tests/test_book.py::test_option_resources_base_path_templates - assert...\nFAILED tests/test_errors.py::test_missing_css_file_in_config - AssertionError...\nFAILED tests/test_html_dir.py::test_html_dir_custom_css_added_to_stylesheet\nFAILED tests/test_book.py::test_option_path_output_base_path_applied - Assert...\nFAILED tests/test_html_dir.py::test_html_dir_emphasis_and_strong - FileNotFou...\nFAILED tests/test_html_dir.py::test_html_dir_chapter_title_in_browser_title_tag\nFAILED tests/test_book.py::test_multiple_output_formats - AssertionError: ass...\nFAILED tests/test_html_dir.py::test_html_dir_cover_image_on_index_page - File...\nFAILED tests/test_html_dir.py::test_html_dir_chapter_content_matches_markdown\nFAILED tests/test_errors.py::test_nonexistent_book_file - assert '' == \"CROWB...\nFAILED tests/test_html_dir.py::test_html_dir_error_when_output_path_is_file\nFAILED tests/test_book.py::test_option_epub_version_validation - AssertionErr...\nFAILED tests/test_epub.py::test_toc_extras_option - FileNotFoundError: [Errno...\nFAILED tests/test_errors.py::test_config_parser_error_yaml_syntax - Assertion...\nFAILED tests/test_errors.py::test_template_not_found_error_format - Assertion...\nFAILED tests/test_book.py::test_rendering_chapter_template_option - assert '*...\nFAILED tests/test_html_dir.py::test_html_dir_favicon_link_in_chapter_pages - ...\nFAILED tests/test_book.py::test_option_multiple_imports_chain - assert None i...\nFAILED tests/test_book.py::test_option_import_nonexistent_file - AssertionErr...\nFAILED tests/test_html_dir.py::test_html_dir_first_chapter_has_only_next_link\nFAILED tests/test_errors.py::test_invalid_template_name - AssertionError: ass...\nFAILED tests/test_html_dir.py::test_html_dir_viewport_meta_for_mobile - FileN...\nFAILED tests/test_html_dir.py::test_html_dir_inline_toc_on_index_when_enabled\nFAILED tests/test_errors.py::test_output_without_to_flag - AssertionError: as...\nFAILED tests/test_latex.py::test_unordered_list_to_itemize - FileNotFoundErro...\nFAILED tests/test_errors.py::test_missing_markdown_chapter - AssertionError: ...\nFAILED tests/test_html_dir.py::test_html_dir_menu_svg_is_valid - FileNotFound...\nFAILED tests/test_html_dir.py::test_html_dir_favicon_on_index_page - FileNotF...\nFAILED tests/test_epub.py::test_title_page_content - FileNotFoundError: [Errn...\nFAILED tests/test_html_dir.py::test_html_dir_creates_required_files - Asserti...\nFAILED tests/test_latex.py::test_language_mapping_to_babel - AssertionError: ...\nFAILED tests/test_html_dir.py::test_html_dir_json_ld_structured_data - FileNo...\nFAILED tests/test_latex.py::test_special_latex_characters_escaped - FileNotFo...\nFAILED tests/test_latex.py::test_custom_title_and_author_in_metadata - FileNo...\nFAILED tests/test_errors.py::test_invalid_integer_option_value - assert '' ==...\nFAILED tests/test_errors.py::test_create_mode_with_multiple_chapters - assert...\nFAILED tests/test_errors.py::test_missing_image_in_markdown - assert '' == \"C...\nFAILED tests/test_errors.py::test_verbose_mode_shows_debug_info - AssertionEr...\nFAILED tests/test_errors.py::test_invalid_flag - AssertionError: assert 0 == 2\nFAILED tests/test_errors.py::test_error_source_with_line_number_formatting - ...\nFAILED tests/test_errors.py::test_latex_render_error_format - AssertionError:...\nFAILED tests/test_errors.py::test_epub_zipper_error_format - AssertionError: ...\nFAILED tests/test_errors.py::test_empty_book_file - assert '' == 'CROWBOOK 0....\nFAILED tests/test_book.py::test_invalid_option_name_error - assert \"unrecogni...\nFAILED tests/test_epub.py::test_epub_version_2_default - FileNotFoundError: [...\nFAILED tests/test_html_dir.py::test_html_dir_image_references_copied_and_linked\nFAILED tests/test_html_single.py::test_viewport_meta_tag - AssertionError: Sh...\nFAILED tests/test_epub.py::test_language_code_propagation - AssertionError: T...\nFAILED tests/test_html_single.py::test_markdown_code_block_fenced - assert 0 ...\nFAILED tests/test_html_single.py::test_markdown_unordered_list - AssertionErr...\nFAILED tests/test_html_dir.py::test_html_dir_index_contains_toc_with_all_chapters\nFAILED tests/test_html_single.py::test_generator_meta_tag - AssertionError: S...\nFAILED tests/test_html_single.py::test_markdown_bold_italic_rendering - Asser...\nFAILED tests/test_html_single.py::test_css_embedded_in_style_tag - AssertionE...\nFAILED tests/test_latex.py::test_ordered_list_starting_number - FileNotFoundE...\nFAILED tests/test_html_single.py::test_empty_markdown_produces_valid_html - A...\nFAILED tests/test_html_dir.py::test_html_dir_css_contains_actual_styles - Fil...\nFAILED tests/test_latex.py::test_chapter_labels_for_cross_references - FileNo...\nFAILED tests/test_latex.py::test_tex_paper_size_setting - FileNotFoundError: ...\nFAILED tests/test_html_dir.py::test_html_dir_print_css_always_included - Asse...\nFAILED tests/test_latex.py::test_strikethrough_to_sout - FileNotFoundError: [...\nFAILED tests/test_latex.py::test_code_block_without_language - FileNotFoundEr...\nFAILED tests/test_html_single.py::test_special_html_characters_escaped - Asse...\nFAILED tests/test_latex.py::test_subsection_hierarchy - FileNotFoundError: [E...\nFAILED tests/test_epub.py::test_footnote_handling_epub3 - FileNotFoundError: ...\nFAILED tests/test_latex.py::test_tex_links_as_footnotes_disabled - FileNotFou...\nFAILED tests/test_latex.py::test_table_with_formatting - FileNotFoundError: [...\nFAILED tests/test_latex.py::test_tex_font_size_setting - FileNotFoundError: [...\nFAILED tests/test_latex.py::test_multiline_blockquote - FileNotFoundError: [E...\nFAILED tests/test_latex.py::test_unnumbered_chapter_with_asterisk - FileNotFo...\nFAILED tests/test_epub.py::test_guide_section_in_opf - FileNotFoundError: [Er...\nFAILED tests/test_html_dir.py::test_html_dir_codeblock_rendering - FileNotFou...\nFAILED tests/test_epub.py::test_ncx_navigation - FileNotFoundError: [Errno 2]...\nFAILED tests/test_html_single.py::test_code_block_without_language - Assertio...\nFAILED tests/test_latex.py::test_inline_elements_in_lists - FileNotFoundError...\nFAILED tests/test_html_single.py::test_markdown_blockquote - assert 0 >= 1\nFAILED tests/test_latex.py::test_tex_hyperref_disabled - FileNotFoundError: [...\nFAILED tests/test_latex.py::test_mixed_list_types - FileNotFoundError: [Errno...\nFAILED tests/test_epub.py::test_spine_references_manifest_items - FileNotFoun...\nFAILED tests/test_html_dir.py::test_html_dir_javascript_toggle_function_present\nFAILED tests/test_epub.py::test_images_in_content - FileNotFoundError: [Errno...\nFAILED tests/test_latex.py::test_link_to_href_with_url - FileNotFoundError: [...\nFAILED tests/test_latex.py::test_footnotes_rendered - FileNotFoundError: [Err...\nFAILED tests/test_latex.py::test_code_blocks_wrapped_in_environment - FileNot...\nFAILED tests/test_latex.py::test_maketitle_command_included - FileNotFoundErr...\nFAILED tests/test_latex.py::test_hidden_chapter - FileNotFoundError: [Errno 2...\nFAILED tests/test_html_dir.py::test_html_dir_error_when_output_is_file_not_directory\nFAILED tests/test_latex.py::test_rendering_initials_first_letter - FileNotFou...\nFAILED tests/test_html_single.py::test_table_of_contents_generated - Assertio...\nFAILED tests/test_latex.py::test_hardbreak_to_linebreak - FileNotFoundError: ...\nFAILED tests/test_latex.py::test_table_to_tabularx_environment - FileNotFound...\nFAILED tests/test_html_dir.py::test_html_dir_nested_resource_files_preserve_structure\nFAILED tests/test_html_dir.py::test_html_dir_resource_files_copied_to_out_path\nFAILED tests/test_html_dir.py::test_html_dir_navigation_without_chapter_numbers\nFAILED tests/test_latex.py::test_image_local_vs_remote_handling - FileNotFoun...\nFAILED tests/test_latex.py::test_description_list_rendering - FileNotFoundErr...\nFAILED tests/test_latex.py::test_nested_lists - FileNotFoundError: [Errno 2] ...\nFAILED tests/test_epub.py::test_missing_cover_error - AssertionError: Should ...\nFAILED tests/test_latex.py::test_horizontal_rule_to_mdrule - FileNotFoundErro...\nFAILED tests/test_latex.py::test_nested_enumerate_counter_levels - FileNotFou...\nFAILED tests/test_html_dir.py::test_html_dir_chapter_title_in_page_title_tag\nFAILED tests/test_html_single.py::test_syntax_highlighting_python_code - Asse...\nFAILED tests/test_html_dir.py::test_html_dir_chapter_without_header_gets_empty_title\nFAILED tests/test_latex.py::test_part_with_chapters - FileNotFoundError: [Err...\nFAILED tests/test_latex.py::test_inline_code_with_break_opportunities - FileN...\nFAILED tests/test_epub.py::test_paragraph_ids_in_content - FileNotFoundError:...\nFAILED tests/test_latex.py::test_initials_with_non_alphanumeric_first_character\nFAILED tests/test_latex.py::test_strikethrough_to_sout_command - FileNotFound...\nFAILED tests/test_epub.py::test_emphasis_and_strong - FileNotFoundError: [Err...\nFAILED tests/test_epub.py::test_inline_toc_option - FileNotFoundError: [Errno...\nFAILED tests/test_latex.py::test_ordered_list_to_enumerate - FileNotFoundErro...\nFAILED tests/test_epub.py::test_css_stylesheet_included - FileNotFoundError: ...\nFAILED tests/test_epub.py::test_unique_identifier_uuid - FileNotFoundError: [...\nFAILED tests/test_latex.py::test_article_class_uses_section_not_chapter - Fil...\nFAILED tests/test_html_dir.py::test_html_dir_prev_next_chapter_links - FileNo...\nFAILED tests/test_latex.py::test_markdown_emphasis_to_latex_commands - FileNo...\nFAILED tests/test_latex.py::test_inline_code_to_texttt - FileNotFoundError: [...\nFAILED tests/test_latex.py::test_blockquote_to_mdblockquote_environment - Fil...\nFAILED tests/test_latex.py::test_url_link_same_as_text - FileNotFoundError: [...\nFAILED tests/test_latex.py::test_chapter_number_specification_with_setcounter\nFAILED tests/test_latex.py::test_custom_pageref_template_for_internal_links\nFAILED tests/test_html_dir.py::test_html_dir_deletes_existing_directory - Fil...\nFAILED tests/test_html_dir.py::test_html_dir_special_characters_in_titles - F...\nFAILED tests/test_epub.py::test_code_blocks_in_content - FileNotFoundError: [...\nFAILED tests/test_html_dir.py::test_html_dir_no_inline_toc_when_disabled - Fi...\nFAILED tests/test_html_dir.py::test_html_dir_metadata_in_index_page - FileNot...\nFAILED tests/test_html_dir.py::test_html_dir_single_chapter_no_prev_next_links\nFAILED tests/test_latex.py::test_task_items_with_checkboxes - FileNotFoundErr...\nFAILED tests/test_latex.py::test_numbered_chapter_setcounter - FileNotFoundEr...\nFAILED tests/test_latex.py::test_ordered_list_deep_nesting_handling - FileNot...\nFAILED tests/test_latex.py::test_tex_template_add_custom_code - FileNotFoundE...\nFAILED tests/test_html_dir.py::test_html_dir_last_chapter_has_only_prev_link\nFAILED tests/test_html_dir.py::test_html_dir_author_title_subtitle_on_index\nFAILED tests/test_html_dir.py::test_html_dir_is_chapter_flag_in_template_data\nFAILED tests/test_latex.py::test_empty_emphasis - FileNotFoundError: [Errno 2...\nFAILED tests/test_epub.py::test_stylesheet_referenced_in_all_xhtml - FileNotF...\nFAILED tests/test_epub.py::test_metadata_in_opf - AssertionError: Traceback (...\nFAILED tests/test_latex.py::test_tex_stdpage_package_inclusion - FileNotFound...\nFAILED tests/test_html_dir.py::test_html_dir_print_css_separate_file - FileNo...\nFAILED tests/test_html_dir.py::test_html_dir_valid_html5_structure - FileNotF...\nFAILED tests/test_latex.py::test_inline_toc_option - FileNotFoundError: [Errn...\nFAILED tests/test_latex.py::test_tex_margin_customization - FileNotFoundError...\nFAILED tests/test_latex.py::test_internal_cross_reference_with_hyperref - Fil...\nFAILED tests/test_html_dir.py::test_html_dir_link_rendering - FileNotFoundErr...\nFAILED tests/test_html_dir.py::test_html_dir_index_page_no_next_link_for_single_chapter\nFAILED tests/test_latex.py::test_tex_margins_customization - FileNotFoundErro...\nFAILED tests/test_latex.py::test_xelatex_command_packages - FileNotFoundError...\nFAILED tests/test_latex.py::test_footnote_reference_and_definition - FileNotF...\nFAILED tests/test_latex.py::test_tex_font_size_option - FileNotFoundError: [E...\nFAILED tests/test_latex.py::test_hard_break_to_mdhardbreak - FileNotFoundErro...\nFAILED tests/test_latex.py::test_tectonic_command_uses_xelatex_packages - Fil...\nFAILED tests/test_latex.py::test_special_character_escaping_in_text - FileNot...\nFAILED tests/test_latex.py::test_cover_image_inclusion - FileNotFoundError: [...\nFAILED tests/test_latex.py::test_description_list_multiline_terms - FileNotFo...\nFAILED tests/test_latex.py::test_empty_paragraphs_handling - FileNotFoundErro...\nFAILED tests/test_latex.py::test_language_unknown_fallback_to_english - FileN...\nFAILED tests/test_latex.py::test_tex_paper_size_option - FileNotFoundError: [...\nFAILED tests/test_latex.py::test_article_class_symmetric_margins - FileNotFou...\nFAILED tests/test_latex.py::test_custom_chapter_and_part_names - FileNotFound...\nFAILED tests/test_latex.py::test_unnumbered_chapter_adds_to_toc - FileNotFoun...\nFAILED tests/test_latex.py::test_book_class_asymmetric_margins - FileNotFound...\nFAILED tests/test_latex.py::test_multiple_chapters_with_labels - FileNotFound...\nFAILED tests/test_html_dir.py::test_html_dir_anchor_ids_on_headings - FileNot...\nFAILED tests/test_latex.py::test_soft_break_to_space - FileNotFoundError: [Er...\nFAILED tests/test_markdown.py::test_line_breaks_soft_vs_hard - assert None is...\nFAILED tests/test_markdown.py::test_atx_headings - assert None is not None\nFAILED tests/test_markdown.py::test_autolink_email - AssertionError: Email au...\nFAILED tests/test_markdown.py::test_table_with_empty_cells - AssertionError: ...\nFAILED tests/test_markdown.py::test_mixed_content_document - AssertionError: ...\nFAILED tests/test_markdown.py::test_code_blocks_and_inline - assert 0 >= 1\nFAILED tests/test_markdown.py::test_escaping_special_characters - assert None...\nFAILED tests/test_markdown.py::test_deep_nesting - AssertionError: Expected a...\nFAILED tests/test_latex.py::test_multiple_languages_babel_selection - FileNot...\nFAILED tests/test_pdf.py::test_pdf_generation_with_custom_temp_dir - Assertio...\nFAILED tests/test_latex.py::test_part_marker_renders_empty_chapter - FileNotF...\nFAILED tests/test_markdown.py::test_malformed_markdown_missing_closing - Asse...\nFAILED tests/test_markdown.py::test_ordered_lists - AssertionError: No ordere...\nFAILED tests/test_markdown.py::test_code_block_preserves_whitespace - Asserti...\nFAILED tests/test_markdown.py::test_blockquote_nested - AssertionError: No ne...\nFAILED tests/test_markdown.py::test_list_with_code_blocks - AssertionError: L...\nFAILED tests/test_pdf.py::test_pdf_with_lualatex_command - AssertionError: as...\nFAILED tests/test_markdown.py::test_unicode_content - assert None is not None\nFAILED tests/test_markdown.py::test_table_basic - AssertionError: Expected at...\nFAILED tests/test_pdf.py::test_pdf_fake_latex_succeeds_but_no_result_file - A...\nFAILED tests/test_markdown.py::test_blockquote_simple - AssertionError: Expec...\nFAILED tests/test_markdown.py::test_task_lists_with_checked_unchecked - Asser...\nFAILED tests/test_markdown.py::test_links_reference - AssertionError: Referen...\nFAILED tests/test_markdown.py::test_images_inline - AssertionError: Expected ...\nFAILED tests/test_markdown.py::test_reference_link_case_insensitive - Asserti...\nFAILED tests/test_pdf.py::test_pdf_with_multiple_chapters - AssertionError: S...\nFAILED tests/test_markdown.py::test_blockquote_with_formatting - AssertionErr...\nFAILED tests/test_pdf.py::test_pdf_generation_with_fake_latex_multiple_chapters\nFAILED tests/test_latex.py::test_rendering_num_depth_controls_numbering - Fil...\nFAILED tests/test_latex.py::test_special_chars_in_code_blocks - FileNotFoundE...\nFAILED tests/test_markdown.py::test_multiple_paragraphs_in_list_item - assert...\nFAILED tests/test_latex.py::test_tex_title_option_controls_titlepage - FileNo...\nFAILED tests/test_latex.py::test_table_cell_alignment_and_structure - FileNot...\nFAILED tests/test_latex.py::test_multiple_chapters_from_single_file - FileNot...\nFAILED tests/test_pdf.py::test_pdf_with_footnotes_and_fake_latex - AssertionE...\nFAILED tests/test_pdf.py::test_pdf_with_many_images_exercises_zipper_nested_write\nFAILED tests/test_pdf.py::test_pdf_with_very_large_chapter_and_fake_latex - A...\nFAILED tests/test_markdown.py::test_complex_nested_structures - assert None i...\nFAILED tests/test_markdown.py::test_setext_headings - assert None is not None\nFAILED tests/test_latex.py::test_nested_formatting_combinations - FileNotFoun...\nFAILED tests/test_pdf.py::test_pdf_with_book_class_and_fake_latex - Assertion...\nFAILED tests/test_markdown.py::test_inline_html_handling - assert None is not...\nFAILED tests/test_markdown.py::test_code_fence_with_backticks_inside - Assert...\nFAILED tests/test_latex.py::test_hidden_chapter_not_in_toc - FileNotFoundErro...\nFAILED tests/test_markdown.py::test_emphasis_variations - assert None is not ...\nFAILED tests/test_latex.py::test_chapter_with_no_content - FileNotFoundError:...\nFAILED tests/test_markdown.py::test_footnote_references_and_definitions - Ass...\nFAILED tests/test_markdown.py::test_link_with_parentheses_in_url - AssertionE...\nFAILED tests/test_markdown.py::test_horizontal_rules - AssertionError: Expect...\nFAILED tests/test_markdown.py::test_task_lists - AssertionError: Expected 3 c...\nFAILED tests/test_markdown.py::test_description_list_multiple_terms_and_definitions\nFAILED tests/test_latex.py::test_code_block_without_syntax_highlighting - Fil...\nFAILED tests/test_markdown.py::test_unordered_lists - assert None is not None\nFAILED tests/test_latex.py::test_subsection_and_subsubsection_hierarchy - Fil...\nFAILED tests/test_markdown.py::test_table_structure_and_cells - AssertionErro...\nFAILED tests/test_markdown.py::test_strikethrough - AssertionError: Expected ...\nFAILED tests/test_markdown.py::test_links_inline - AssertionError: Expected a...\nFAILED tests/test_markdown.py::test_annotation_tokens_grammar_check - assert ...\nFAILED tests/test_markdown.py::test_strikethrough_nested_formatting - Asserti...\nFAILED tests/test_latex.py::test_mixed_list_with_nested_content - FileNotFoun...\nFAILED tests/test_resources.py::test_print_template_invalid_name_error - Asse...\nFAILED tests/test_markdown.py::test_nested_emphasis_combinations - assert Non...\nFAILED tests/test_resources.py::test_image_relative_path_resolution - Asserti...\nFAILED tests/test_markdown.py::test_code_block_with_multiple_languages - Asse...\nFAILED tests/test_markdown.py::test_is_container_method_coverage - assert Non...\nFAILED tests/test_pdf.py::test_pdf_with_pdflatex_command - AssertionError: as...\nFAILED tests/test_resources.py::test_image_case_sensitivity_extension - Asser...\nFAILED tests/test_resources.py::test_print_template_html_css - AssertionError...\nFAILED tests/test_markdown.py::test_very_long_line - assert None is not None\nFAILED tests/test_resources.py::test_image_embedding_epub_separate_file - Ass...\nFAILED tests/test_markdown.py::test_table_with_alignment - AssertionError: Ta...\nFAILED tests/test_resources.py::test_print_template_html_standalone_template\nFAILED tests/test_markdown.py::test_description_lists_with_nested_formatting\nFAILED tests/test_markdown.py::test_empty_document - AssertionError: Output s...\nFAILED tests/test_markdown.py::test_images_with_title - AssertionError: Image...\nFAILED tests/test_markdown.py::test_blockquote_with_list - AssertionError: Bl...\nFAILED tests/test_markdown.py::test_footnote_reference_without_definition - a...\nFAILED tests/test_resources.py::test_print_template_html_dir_template - Asser...\nFAILED tests/test_markdown.py::test_nested_lists - AssertionError: No nested ...\nFAILED tests/test_resources.py::test_image_missing_file_error - AssertionErro...\nFAILED tests/test_pdf.py::test_pdf_with_very_long_content_exercises_zipper_write\nFAILED tests/test_markdown.py::test_images_inline_vs_standalone - AssertionEr...\nFAILED tests/test_markdown.py::test_ordered_list_starting_number - AssertionE...\nFAILED tests/test_markdown.py::test_multiple_blank_lines - assert None is not...\nFAILED tests/test_pdf.py::test_pdf_with_images_exercises_zipper_nested_paths\nFAILED tests/test_pdf.py::test_pdf_generation_with_images_and_fake_latex - As...\nFAILED tests/test_resources.py::test_print_template_epub_chapter_xhtml - Asse...\nFAILED tests/test_resources.py::test_multiple_css_files_space_in_name_error\nFAILED tests/test_markdown.py::test_subscript_superscript_token_handling - As...\nFAILED tests/test_resources.py::test_remote_image_url_not_embedded - Assertio...\nFAILED tests/test_pdf.py::test_pdf_generation_without_latex_command_fails - A...\nFAILED tests/test_resources.py::test_multiple_images_different_formats - Asse...\nFAILED tests/test_resources.py::test_image_not_found_absolute_path - Assertio...\nFAILED tests/test_pdf.py::test_pdf_custom_latex_command - AssertionError: ass...\nFAILED tests/test_resources.py::test_link_resolution_with_fallback_extension\nFAILED tests/test_resources.py::test_print_template_tex_template - AssertionE...\nFAILED tests/test_pdf.py::test_pdf_with_special_characters_in_title - Asserti...\nFAILED tests/test_pdf.py::test_pdf_with_tables_and_fake_latex - AssertionErro...\nFAILED tests/test_markdown.py::test_container_identification_with_edge_cases\nFAILED tests/test_resources.py::test_css_add_option_inline_styles - Assertion...\nFAILED tests/test_markdown.py::test_emphasis_in_word - assert None is not None\nFAILED tests/test_markdown.py::test_links_autolink - AssertionError: Autolink...\nFAILED tests/test_resources.py::test_print_template_epub_css - AssertionError...\nFAILED tests/test_pdf.py::test_pdf_with_all_latex_options_and_fake_latex - As...\nFAILED tests/test_pdf.py::test_pdf_generation_attempts_three_latex_passes - A...\nFAILED tests/test_pdf.py::test_pdf_generation_success_path_with_fake_latex - ...\nFAILED tests/test_resources.py::test_epub_css_option_custom_styling - Asserti...\nFAILED tests/test_resources.py::test_multiple_resource_types_epub - Assertion...\nFAILED tests/test_resources.py::test_image_no_extension_epub_naming - Asserti...\nFAILED tests/test_resources.py::test_image_embedding_html_base64 - AssertionE...\nFAILED tests/test_resources.py::test_svg_image_mime_type_detection - Assertio...\nFAILED tests/test_markdown.py::test_consecutive_emphasis_markers - assert Non...\nFAILED tests/test_resources.py::test_resources_files_directory_walking - Asse...\nFAILED tests/test_resources.py::test_image_no_extension_base64_warning - Asse...\nFAILED tests/test_markdown.py::test_mixed_inline_code_and_emphasis - assert N...\nFAILED tests/test_markdown.py::test_is_code_method_coverage - AssertionError:...\nFAILED tests/test_seed.py::test_help_flag - AssertionError: Help should show ...\nFAILED tests/test_stats_lang.py::test_lang_catalan_chapter_label - AssertionE...\nFAILED tests/test_stats_lang.py::test_lang_russian_chapter_label - AssertionE...\nFAILED tests/test_stats_lang.py::test_stats_markdown_syntax_ignored_in_counts\nFAILED tests/test_resources.py::test_jpeg_image_mime_type_detection - Asserti...\nFAILED tests/test_stats_lang.py::test_stats_chars_word_ratio_precision - Asse...\nFAILED tests/test_resources.py::test_resources_files_missing_error - Assertio...\nFAILED tests/test_resources.py::test_custom_css_file_inclusion - AssertionErr...\nFAILED tests/test_stats_lang.py::test_stats_mixed_markdown_elements - Asserti...\nFAILED tests/test_resources.py::test_resources_files_special_file_type_error\nFAILED tests/test_seed.py::test_simple_book_html - AssertionError: Should pri...\nFAILED tests/test_stats_lang.py::test_stats_empty_book_nan_handling - Asserti...\nFAILED tests/test_stats_lang.py::test_stats_with_code_blocks_included - Asser...\nFAILED tests/test_pdf.py::test_pdf_fake_latex_fails_with_error_code - Asserti...\nFAILED tests/test_stats_lang.py::test_stats_single_character_word - Assertion...\nFAILED tests/test_stats_lang.py::test_stats_simple_book_exact_counts - Assert...\nFAILED tests/test_stats_lang.py::test_stats_with_images_excludes_alt_text - A...\nFAILED tests/test_stats_lang.py::test_stats_very_long_chapter_name_column_width\nFAILED tests/test_stats_lang.py::test_stats_varied_word_lengths_ratio_precision\nFAILED tests/test_stats_lang.py::test_stats_large_book_accurate_totals - Asse...\nFAILED tests/test_stats_lang.py::test_lang_french_chapter_label - AssertionEr...\nFAILED tests/test_resources.py::test_image_duplicate_reference_reuse - Assert...\nFAILED tests/test_resources.py::test_link_resolution_missing_file_warning - A...\nFAILED tests/test_stats_lang.py::test_stats_cjk_characters_word_counting - As...\nFAILED tests/test_stats_lang.py::test_stats_multiple_chapters_aggregation - A...\nFAILED tests/test_stats_lang.py::test_html_lang_attribute_french - AssertionE...\nFAILED tests/test_stats_lang.py::test_stats_special_characters_word_boundaries\nFAILED tests/test_resources.py::test_large_image_base64_encoding - AssertionE...\nFAILED tests/test_stats_lang.py::test_lang_spanish_chapter_label - AssertionE...\nFAILED tests/test_stats_lang.py::test_stats_emoji_multibyte_character_counting\nFAILED tests/test_stats_lang.py::test_stats_many_chapters_aggregation - Asser...\nFAILED tests/test_resources.py::test_resources_files_with_symlinks - Assertio...\nFAILED tests/test_stats_lang.py::test_stats_unicode_multibyte_char_counting\nFAILED tests/test_stats_lang.py::test_stats_single_word_chapter - AssertionEr...\nFAILED tests/test_stats_lang.py::test_stats_mixed_chapter_name_lengths_alignment\nFAILED tests/test_stats_lang.py::test_lang_locale_code_format_fr_FR - Asserti...\nFAILED tests/test_stats_lang.py::test_stats_single_letter_chapter_name_column_width\nFAILED tests/test_resources.py::test_epub_css_add_option_inline_content - Ass...\nFAILED tests/test_stats_lang.py::test_stats_huge_word_count_formatting - Asse...\nFAILED tests/test_stats_lang.py::test_stats_whitespace_only_content_nan_handling\nFAILED tests/test_stats_lang.py::test_lang_german_chapter_label - AssertionEr...\nFAILED tests/test_stats_lang.py::test_stats_duplicate_chapter_names_with_paths\nFAILED tests/test_stats_lang.py::test_stats_verbose_mode_no_advanced_warning\n======================== 453 failed, 53 passed in 5.10s ========================\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.16073547800004917, "output": "tests/test_book.py:1228: in test_option_type_error_bool_as_int\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_book.py:44: in test_basic_metadata_fields\n assert meta_author is not None\nE assert None is not Nonetests/test_epub.py:899: in test_chapter_numbering\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw58/test_chapter_numbering0/test.epub'tests/test_cli.py:375: in test_stdin_single_mode\n assert \"Test from stdin\" in content, \"Should contain stdin content\"\nE AssertionError: Should contain stdin content\nE assert 'Test from stdin' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'tests/test_book.py:530: in test_missing_markdown_file_error\n assert \"Could not find file 'missing_file.md' for book chapter\" in result.stderr\nE assert \"Could not find file 'missing_file.md' for book chapter\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_book.py:1134: in test_rendering_roman_numerals_option\n assert has_roman, \"Expected roman numerals in chapter headings\"\nE AssertionError: Expected roman numerals in chapter headings\nE assert Falsetests/test_book.py:1180: in test_option_type_error_array_as_string\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_book.py:1430: in test_option_import_merges_settings\n assert meta_author is not None\nE assert None is not Nonetests/test_book.py:1490: in test_option_custom_metadata_invalid_type\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_book.py:1276: in test_deprecated_option_with_alias\n assert \"WARNING\" in result.stderr\nE AssertionError: assert 'WARNING' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_cli.py:84: in test_missing_book_file_error\n assert output == (RESOURCES / \"missing_book.golden\").read_text()\nE assert 'CROWBOOK 0.17.0\\n' == \"CROWBOOK 0.1...k' for book\\n\"\nE \nE CROWBOOK 0.17.0\nE - ERROR Could not find file 'nonexistent.book' for booktests/test_cli.py:218: in test_output_to_stdout\n assert \"<!DOCTYPE html>\" in result.stdout, \"Should output HTML to stdout\"\nE AssertionError: Should output HTML to stdout\nE assert '<!DOCTYPE html>' in 'CROWBOOK 0.17.0\\n'\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '--single', 'test.md', '--to', 'html', '-o', '-'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdouttests/test_cli.py:472: in test_multiple_set_flags_error\n assert result.returncode != 0, \"Should reject multiple --set flags\"\nE AssertionError: Should reject multiple --set flags\nE assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--quiet', '--single', 'test.md', '--to', 'html', '-o', 'output.html', '--set', 'author', 'Alice', '--set', 'title', 'My Title'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncodetests/test_book.py:1539: in test_option_float_wrong_yaml_type\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_book.py:782: in test_html_css_add_option\n assert \"body { background-color: #f0f0f0; }\" in output\nE assert 'body { background-color: #f0f0f0; }' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Custom CSS</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test</h2><h1 class=\"title\">Custom CSS</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Content.</p>\\n</div></div></div></body></html>'tests/test_epub.py:821: in test_empty_book_error\n assert epub_path.exists(), \"EPUB file not created\"\nE AssertionError: EPUB file not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw57/test_empty_book_error0/test.epub').existstests/test_book.py:112: in test_additional_metadata_fields\n assert subtitle is not None, \"Missing subtitle element\"\nE AssertionError: Missing subtitle element\nE assert None is not Nonetests/test_cli.py:62: in test_list_options_flag\n assert \"output.epub\" in output, \"Should list EPUB output option\"\nE AssertionError: Should list EPUB output option\nE assert 'output.epub' in 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'tests/test_epub.py:451: in test_cover_image_handling\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw53/test_cover_image_handling0/test.epub'tests/test_book.py:1328: in test_option_strvec_invalid_element_type\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_book.py:958: in test_book_file_with_yaml_style_multiline_string\n assert \"This is a multi-line\" in output\nE assert 'This is a multi-line' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Test Book</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test</h2><h1 class=\"title\">Test Book</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Content.</p>\\n</div></div></div></body></html>'tests/test_epub.py:566: in test_multiple_chapters_toc\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw54/test_multiple_chapters_toc0/test.epub'tests/test_epub.py:671: in test_footnote_handling_epub2\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw55/test_footnote_handling_epub20/test.epub'tests/test_book.py:724: in test_tex_options_paper_size\n assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw10/test_tex_options_paper_size0/output.tex').existstests/test_book.py:1376: in test_option_strvec_invalid_output_format\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_epub.py:1252: in test_ncx_depth_metadata\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw62/test_ncx_depth_metadata0/test.epub'tests/test_book.py:901: in test_inline_toc_name_option\n assert \"Contents\" in output\nE assert 'Contents' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Test</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test</h2><h1 class=\"title\">Test</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">Content.</p>\\n</div><div id=\"chapter-1\" class=\"chapter\">\\n<h1 id=\\'link-2\\'><span class=\"chapter-header\">Chapter 2</span><br />Chapter Two</h1><p id=\"para-2\">Content.</p>\\n</div></div></div></body></html>'tests/test_epub.py:1165: in test_metadata_generator_crowbook\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw61/test_metadata_generator_crowbo0/test.epub'tests/test_epub.py:1084: in test_heading_ids_in_chapters\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw60/test_heading_ids_in_chapters0/test.epub'tests/test_epub.py:226: in test_spine_ordering\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_spine_ordering0/test.epub'tests/test_cli.py:139: in test_verbose_quiet_conflict\n assert result.returncode != 0, \"Should reject conflicting flags with non-zero exit\"\nE AssertionError: Should reject conflicting flags with non-zero exit\nE assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--verbose', '--quiet', '--single', 'test.md'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncodetests/test_cli.py:182: in test_single_mode_epub_output\n assert zipfile.is_zipfile(output_file), \"EPUB should be a valid zip file\"\nE AssertionError: EPUB should be a valid zip file\nE assert False\nE + where False = <function is_zipfile at 0x7f2d7ab925f0>(PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw37/test_single_mode_epub_output0/output.epub'))\nE + where <function is_zipfile at 0x7f2d7ab925f0> = <module 'zipfile' from '/usr/lib/python3.10/zipfile.py'>.is_zipfiletests/test_epub.py:121: in test_epub_version_3_explicit\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw50/test_epub_version_3_explicit0/test.epub'tests/test_cli.py:112: in test_verbose_flag_shows_debug_output\n assert \"[DEBUG]\" in output, \"Verbose should show DEBUG messages\"\nE AssertionError: Verbose should show DEBUG messages\nE assert '[DEBUG]' in 'CROWBOOK 0.17.0\\n'tests/test_book.py:1635: in test_unrecognized_option_error\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_epub.py:1502: in test_list_rendering\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw65/test_list_rendering0/test.epub'tests/test_cli.py:328: in test_create_book_with_files\n assert \"## List of chapters\" in output, \"Should have chapter list header\"\nE AssertionError: Should have chapter list header\nE assert '## List of chapters' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ newbook.book\\n'tests/test_cli.py:563: in test_force_emoji_flag\n assert \"--force-emoji\" in output, \"Should document the force-emoji flag\"\nE AssertionError: Should document the force-emoji flag\nE assert '--force-emoji' in 'CROWBOOK 0.17.0\\n'tests/test_cli.py:300: in test_print_template_html_css\n assert \"body {\" in output, \"Should have body CSS rules\"\nE AssertionError: Should have body CSS rules\nE assert 'body {' in 'CROWBOOK 0.17.0\\n'tests/test_book.py:479: in test_output_base_path_option\n assert html_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw6/test_output_base_path_option0/outputs/test.html').existstests/test_epub.py:40: in test_basic_epub_structure\n assert epub_path.exists(), \"EPUB file not created\"\nE AssertionError: EPUB file not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw49/test_basic_epub_structure0/test.epub').existstests/test_cli.py:263: in test_set_invalid_option_error\n assert output == (RESOURCES / \"invalid_set.golden\").read_text()\nE assert 'CROWBOOK 0.17.0\\n' == \"CROWBOOK 0.1...lid_option'\\n\"\nE \nE CROWBOOK 0.17.0\nE - ERROR Error in setting key invalid_option: Error converting BookOption: unrecognized key 'invalid_option'tests/test_epub.py:1410: in test_toc_extras_option\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw64/test_toc_extras_option0/test.epub'tests/test_epub.py:349: in test_xhtml_content_valid\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw52/test_xhtml_content_valid0/test.epub'tests/test_epub.py:758: in test_custom_css_addition\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw56/test_custom_css_addition0/test.epub'tests/test_epub.py:1338: in test_html_escaping_in_metadata\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw63/test_html_escaping_in_metadata0/test.epub'tests/test_epub.py:982: in test_manifest_items_have_ids\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw59/test_manifest_items_have_ids0/test.epub'tests/test_book.py:191: in test_book_with_empty_lines\n assert meta_author is not None\nE assert None is not Nonetests/test_cli.py:601: in test_autograph_mode_requires_stdin\n assert '<div id = \"autograph\">' in content, \\\nE AssertionError: Should include autograph div in output\nE assert '<div id = \"autograph\">' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Test Book</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test Author</h2><h1 class=\"title\">Test Book</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Content.</p>\\n</div></div></div></body></html>'tests/test_errors.py:209: in test_missing_cover_image\n assert \"Could not find file './missing_cover.jpg' for cover\" in result.stderr\nE assert \"Could not find file './missing_cover.jpg' for cover\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'cover_test.book', '--to', 'epub', '-o', 'test.epub'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:254: in test_conflicting_quiet_verbose_flags\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--quiet', '--verbose', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncodetests/test_errors.py:341: in test_pdf_rendering_latex_missing\n assert \"Error rendering pdf\" in result.stderr\nE AssertionError: assert 'Error rendering pdf' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'output_format.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_html_dir.py:80: in test_html_dir_chapter_file_naming_sequential\n assert (output_dir / \"chapter_000.html\").exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw89/test_html_dir_chapter_file_nam0/output') / 'chapter_000.html').existstests/test_errors.py:50: in test_malformed_yaml_configuration\n assert \"Error parsing configuration file\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'malformed.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:1071: in test_invalid_yaml_structure_error\n assert \"Error parsing configuration file:\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'yaml_struct.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:158: in test_output_directory_not_found\n assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'test.book', '--to', 'html', '-o', '/nonexistent_dir/output.html'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/workspace/executable\", line 72, in <module>\\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 46, in run\\n if self.options.get(\"output.html\"): open(self.options[\"output.html\"], \\'w\\', encoding=\\'utf-8\\').write(res)\\nFileNotFoundError: [Errno 2] No such file or directory: \\'/nonexistent_dir/output.html\\'\\n').returncodetests/test_html_dir.py:241: in test_html_dir_images_directory_created\n assert images_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw91/test_html_dir_images_directory0/output/images').existstests/test_html_dir.py:157: in test_html_dir_chapter_files_have_navigation_menu\n chapter_html = (result.workspace / \"output\" / chapter_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw90/test_html_dir_chapter_files_ha0/output/chapter_000.html'tests/test_errors.py:430: in test_multiple_errors_accumulation\n assert \"missing_chapter1.md\" in result.stderr\nE AssertionError: assert 'missing_chapter1.md' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'multi_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:1015: in test_multiple_chapter_errors_reported\n assert \"multi_missing.book:5:\" in result.stderr\nE AssertionError: assert 'multi_missing.book:5:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'multi_missing.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:89: in test_invalid_to_format\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'chapter.md', '--to', 'invalid_format'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncodetests/test_errors.py:300: in test_set_with_wrong_argument_count\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'test.book', '--set', 'title'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncodetests/test_errors.py:17: in test_no_arguments_error\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...y --help.\\n\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR You must pass the name of a book configuration file.\nE - For more information try --help.\nE -tests/test_errors.py:800: in test_file_not_found_with_description\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'file_not_found.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_html_dir.py:718: in test_html_dir_chapter_numbering_in_titles\n chapter_html = (output_dir / f\"chapter_{i:03d}.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw96/test_html_dir_chapter_numberin0/output/chapter_000.html'tests/test_html_dir.py:503: in test_html_dir_json_ld_structured_data\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw94/test_html_dir_json_ld_structur0/output/chapter_000.html'tests/test_errors.py:738: in test_zipper_error_epub_creation\n assert \"Error rendering epub:\" in result.stderr\nE AssertionError: assert 'Error rendering epub:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'zipper_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:681: in test_book_option_type_error_formatting\n assert \"Error converting BookOption:\" in result.stderr\nE AssertionError: assert 'Error converting BookOption:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'type_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:524: in test_output_to_stdout_with_dash\n assert \"<!DOCTYPE html>\" in result.stdout\nE AssertionError: assert '<!DOCTYPE html>' in 'CROWBOOK 0.17.0\\n'\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', 'stdout_test.book', '--to', 'html', '-o', '-'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdouttests/test_errors.py:130: in test_quiet_mode_suppresses_header\n assert result.stderr == golden\nE AssertionError: assert '' == 'ERROR missin...ook chapter\\n'\nE \nE - ERROR missing_chapter.book:5: Could not find file 'nonexistent_chapter.md' for book chaptertests/test_errors.py:850: in test_multiple_error_types_in_same_book\n assert \"nonexistent.option\" in result.stderr\nE AssertionError: assert 'nonexistent.option' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'multi_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:477: in test_invalid_boolean_option_value\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...valid value\\n'\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR rendering.highlight set to 'not_a_bool', not a valid valuetests/test_errors.py:956: in test_render_error_epub_missing_cover\n assert \"Error rendering epub:\" in result.stderr\nE AssertionError: assert 'Error rendering epub:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'missing_cover.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_html_dir.py:314: in test_html_dir_chapter_content_matches_markdown\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw92/test_html_dir_chapter_content_0/output/chapter_000.html'tests/test_html_dir.py:617: in test_html_dir_multiple_chapters_with_sections\n assert (output_dir / \"chapter_000.html\").exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw95/test_html_dir_multiple_chapter0/output') / 'chapter_000.html').existstests/test_html_dir.py:1082: in test_html_dir_blockquote_rendering\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw101/test_html_dir_blockquote_rende0/output/chapter_000.html'tests/test_errors.py:905: in test_render_error_pdf_without_latex\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'pdf_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_html_dir.py:853: in test_html_dir_index_next_link_to_first_chapter\n index_html = (result.workspace / \"output\" / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw98/test_html_dir_index_next_link_0/output/index.html'tests/test_html_dir.py:979: in test_html_dir_cleans_previous_output\n assert ch2_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw100/test_html_dir_cleans_previous_0/output/chapter_002.html').existstests/test_html_dir.py:1681: in test_html_dir_middle_chapter_has_both_prev_and_next\n middle_html = (output_dir / \"chapter_002.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw108/test_html_dir_middle_chapter_h0/output/chapter_002.html'tests/test_html_dir.py:425: in test_html_dir_toc_links_resolve_to_chapter_anchors\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw93/test_html_dir_toc_links_resolv0/output/index.html'tests/test_html_dir.py:1506: in test_html_dir_favicon_link_in_chapter_pages\n html_content = (output_dir / chapter_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw106/test_html_dir_favicon_link_in_0/output/chapter_000.html'tests/test_html_dir.py:1222: in test_html_dir_viewport_meta_for_mobile\n html_content = (result.workspace / \"output\" / html_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw103/test_html_dir_viewport_meta_fo0/output/index.html'tests/test_html_dir.py:1322: in test_html_dir_highlight_js_files_included\n assert highlight_js.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw104/test_html_dir_highlight_js_fil0/output/highlight.js').existstests/test_html_dir.py:1772: in test_html_dir_inline_toc_on_index_when_enabled\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw109/test_html_dir_inline_toc_on_in0/output/index.html'tests/test_html_dir.py:1856: in test_html_dir_error_when_output_path_is_file\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_html_dir.py:913: in test_html_dir_lang_attribute_propagated\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in <module>\nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in <genexpr>\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in <module>\\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in <genexpr>\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncodetests/test_html_dir.py:1154: in test_html_dir_emphasis_and_strong\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw102/test_html_dir_emphasis_and_str0/output/chapter_000.html'tests/test_html_dir.py:790: in test_html_dir_menu_svg_is_valid\n menu_svg = (result.workspace / \"output\" / \"menu.svg\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw97/test_html_dir_menu_svg_is_vali0/output/menu.svg'tests/test_html_dir.py:1588: in test_html_dir_first_chapter_has_only_next_link\n first_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw107/test_html_dir_first_chapter_ha0/output/chapter_000.html'tests/test_html_dir.py:1401: in test_html_dir_cover_image_on_index_page\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw105/test_html_dir_cover_image_on_i0/output/index.html'tests/test_html_dir.py:2008: in test_html_dir_favicon_on_index_page\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw112/test_html_dir_favicon_on_index0/output/index.html'tests/test_html_dir.py:2093: in test_html_dir_custom_css_added_to_stylesheet\n stylesheet = (output_dir / \"stylesheet.css\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw113/test_html_dir_custom_css_added0/output/stylesheet.css'tests/test_html_dir.py:2171: in test_html_dir_menu_svg_always_included\n assert menu_svg.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw114/test_html_dir_menu_svg_always_0/output/menu.svg').existstests/test_html_single.py:124: in test_markdown_headings_h1_to_h3\n assert \"Simple Test Book\" in h1s[0].get_text()\nE assert 'Simple Test Book' in ''\nE + where '' = get_text()\nE + where get_text = <h1 class=\"title\"></h1>.get_texttests/test_html_dir.py:2240: in test_html_dir_chapter_title_in_browser_title_tag\n ch1_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw115/test_html_dir_chapter_title_in0/output/chapter_000.html'tests/test_html_single.py:260: in test_markdown_ordered_list\n assert len(ols) >= 1\nE assert 0 >= 1\nE + where 0 = len([])tests/test_html_single.py:199: in test_markdown_links\n assert len(external_links) >= 1\nE assert 0 >= 1\nE + where 0 = len([])tests/test_html_single.py:79: in test_html_title_in_head\n assert title_tag.get_text(strip=True) == \"Simple Test Book\"\nE AssertionError: assert '' == 'Simple Test Book'\nE \nE - Simple Test Booktests/test_html_single.py:484: in test_html_horizontal_rule\n assert len(hrs) + len(p_rules) >= 1, \\\nE AssertionError: Should have at least one horizontal rule, found 0 <hr> and 0 <p class='rule'>\nE assert (0 + 0) >= 1\nE + where 0 = len([])\nE + and 0 = len([])tests/test_html_dir.py:1936: in test_html_dir_index_page_links_to_first_chapter\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw111/test_html_dir_index_page_links0/output/index.html'tests/test_html_single.py:431: in test_metadata_author_meta_tag\n assert author_meta is not None\nE assert None is not Nonetests/test_html_single.py:357: in test_markdown_table_rendering\n assert len(tables) >= 1\nE assert 0 >= 1\nE + where 0 = len([])tests/test_html_single.py:311: in test_markdown_code_inline\n assert len(code_tags) >= 1\nE assert 0 >= 1\nE + where 0 = len([])tests/test_html_single.py:576: in test_image_base64_embedded\n assert len(imgs) >= 1, \"Should have at least one img tag\"\nE AssertionError: Should have at least one img tag\nE assert 0 >= 1\nE + where 0 = len([])tests/test_html_single.py:693: in test_schema_org_metadata_json_ld\n assert len(json_ld_scripts) >= 1, \"Should have schema.org JSON-LD metadata\"\nE AssertionError: Should have schema.org JSON-LD metadata\nE assert 0 >= 1\nE + where 0 = len([])tests/test_book.py:1100: in test_unnumbered_part_syntax\n assert \"Introduction\" in output\nE assert 'Introduction' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with Unnumbered Part</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test</h2><h1 class=\"title\">Book with Unnumbered Part</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">Content.</p>\\n</div></div></div></body></html>'tests/test_cli.py:35: in test_help_flag_full_output\n assert \"USAGE:\" in output, \"Should have USAGE section\"\nE AssertionError: Should have USAGE section\nE assert 'USAGE:' in 'CROWBOOK 0.17.0\\n'tests/test_book.py:647: in test_rendering_highlight_option\n assert len(pre_tags) > 0\nE assert 0 > 0\nE + where 0 = len([])tests/test_book.py:1602: in test_list_options_flag\n assert \"OUTPUT OPTIONS\" in result.stdout.upper() or \"OUTPUT\" in result.stdout.upper()\nE AssertionError: assert ('OUTPUT OPTIONS' in 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' or 'OUTPUT' in 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n')\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' = <built-in method upper of str object at 0x7fdfce4a8090>()\nE + where <built-in method upper of str object at 0x7fdfce4a8090> = 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'.upper\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdout\nE + and 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' = <built-in method upper of str object at 0x7fdfce4a8090>()\nE + where <built-in method upper of str object at 0x7fdfce4a8090> = 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'.upper\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdouttests/test_book.py:700: in test_epub_version_option\n assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw9/test_epub_version_option0/output.epub').existstests/test_book.py:1717: in test_option_resources_base_path_templates\n assert \"margin: 2em\" in content or \"margin:2em\" in content\nE assert ('margin: 2em' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Test Book</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test Author</h2><h1 class=\"title\">Test Book</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Content.</p>\\n</div></div></div></body></html>' or 'margin:2em' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Test Book</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test Author</h2><h1 class=\"title\">Test Book</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter</h1><p id=\"para-1\">Content.</p>\\n</div></div></div></body></html>')tests/test_cli.py:543: in test_output_formats_html_dir\n assert output_dir.exists(), \"Should create output directory\"\nE AssertionError: Should create output directory\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw45/test_output_formats_html_dir0/html_output').existstests/test_book.py:871: in test_subchapter_double_dash_syntax\n assert \"Subchapter One\" in output\nE assert 'Subchapter One' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with Subchapters</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test</h2><h1 class=\"title\">Book with Subchapters</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Main Chapter</h1><p id=\"para-1\">Content.</p>\\n</div><div id=\"chapter-1\" class=\"chapter\">\\n<h1 id=\\'link-2\\'><span class=\"chapter-header\">Chapter 2</span><br />Another Chapter</h1><p id=\"para-2\">Content.</p>\\n</div></div></div></body></html>'tests/test_book.py:1773: in test_option_multiple_imports_chain\n assert meta_author is not None\nE assert None is not Nonetests/test_book.py:441: in test_rendering_inline_toc_option\n assert len(toc_elements) > 0, \"Expected TOC element in output\"\nE AssertionError: Expected TOC element in output\nE assert 0 > 0\nE + where 0 = len([])tests/test_book.py:366: in test_specific_chapter_number_syntax\n assert \"Chapter Five\" in output\nE assert 'Chapter Five' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with Specific Numbers</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test</h2><h1 class=\"title\">Book with Specific Numbers</h1></div></div></body></html>'tests/test_book.py:1882: in test_option_epub_version_validation\n assert output_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw31/test_option_epub_version_valid0/output.epub').existstests/test_book.py:303: in test_unnumbered_chapter_minus_syntax\n assert \"Preface\" in output\nE assert 'Preface' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Book with Unnumbered Chapters</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test</h2><h1 class=\"title\">Book with Unnumbered Chapters</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Main Chapter</h1><p id=\"para-1\">Main content.</p>\\n</div></div></div></body></html>'tests/test_errors.py:605: in test_error_with_line_number_precision\n assert \"line_test.book:6:\" in result.stderr\nE AssertionError: assert 'line_test.book:6:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'line_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:408: in test_invalid_yaml_in_book_config\n assert \"Error parsing configuration file\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'invalid_yaml.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:654: in test_invalid_book_option_error_formatting\n assert \"Error converting BookOption:\" in result.stderr\nE AssertionError: assert 'Error converting BookOption:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'invalid_option.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_book.py:79: in test_multiple_authors\n assert meta_author is not None\nE assert None is not Nonetests/test_book.py:1352: in test_option_strvec_not_array\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_cli.py:98: in test_quiet_flag_suppresses_banner\n assert combined == (RESOURCES / \"quiet_output.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == ''\nE \nE + CROWBOOK 0.17.0tests/test_book.py:1204: in test_option_type_error_string_as_int\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_cli.py:401: in test_stdin_book_mode\n assert \"Test Book\" in content, \"Should use title from stdin config\"\nE AssertionError: Should use title from stdin config\nE assert 'Test Book' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'tests/test_book.py:1156: in test_option_type_error_int_as_string\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_book.py:1252: in test_option_type_error_string_as_bool\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_book.py:1514: in test_option_float_invalid_string\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_html_single.py:849: in test_nested_lists\n assert len(uls) >= 2, f\"Should have nested unordered lists, got {len(uls)}\"\nE AssertionError: Should have nested unordered lists, got 0\nE assert 0 >= 2\nE + where 0 = len([])tests/test_cli.py:242: in test_set_single_option\n assert '<meta name=\"author\" content=\"Jane Doe\">' in content, \\\nE AssertionError: Should set author in meta tag\nE assert '<meta name=\"author\" content=\"Jane Doe\">' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Jane Doe</h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">This is the first chapter with **bold** text and *italic* text.</p>\\n<h2 id=\\'link-2\\'>Section 1.1</h2><p id=\"para-2\">A paragraph with some content.</p>\\n<p id=\"para-3\">- List item 1 - List item 2 - List item 3</p>\\n<h2 id=\\'link-3\\'>Section 1.2</h2><p id=\"para-4\">```rust fn main() { println!(\u201cHello, World!\u201d); } ```</p>\\n<p id=\"para-5\">More content here.</p>\\n</div></div></div></body></html>'tests/test_cli.py:494: in test_set_multiple_values_in_single_flag\n assert '<meta name=\"author\" content=\"Bob\">' in content, \"Should set author\"\nE AssertionError: Should set author\nE assert '<meta name=\"author\" content=\"Bob\">' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Bob</h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Test</h1><p id=\"para-1\">Content.</p>\\n</div></div></div></body></html>'tests/test_epub.py:854: in test_title_page_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw57/test_title_page_content0/test.epub'tests/test_cli.py:315: in test_print_template_invalid_name\n assert output == (RESOURCES / \"invalid_template.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...mplate name\\n'\nE \nE CROWBOOK 0.17.0\nE - ERROR invalid_template is not a valid template nametests/test_cli.py:73: in test_no_input_file_error\n assert result.stdout + result.stderr == (RESOURCES / \"no_input.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...y --help.\\n\\n'\nE \nE CROWBOOK 0.17.0\nE - ERROR You must pass the name of a book configuration file.\nE - For more information try --help.\nE -tests/test_latex.py:36: in test_basic_latex_structure_with_book_class\n assert output_file.exists(), \"LaTeX output file not created\"\nE AssertionError: LaTeX output file not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw15/test_basic_latex_structure_wit0/output.tex').existstests/test_cli.py:203: in test_single_mode_tex_output\n assert \"\\\\documentclass\" in content, \"Should have documentclass\"\nE AssertionError: Should have documentclass\nE assert '\\\\documentclass' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">This is the first chapter with **bold** text and *italic* text.</p>\\n<h2 id=\\'link-2\\'>Section 1.1</h2><p id=\"para-2\">A paragraph with some content.</p>\\n<p id=\"para-3\">- List item 1 - List item 2 - List item 3</p>\\n<h2 id=\\'link-3\\'>Section 1.2</h2><p id=\"para-4\">```rust fn main() { println!(\u201cHello, World!\u201d); } ```</p>\\n<p id=\"para-5\">More content here.</p>\\n</div></div></div></body></html>'tests/test_cli.py:161: in test_single_mode_html_output\n assert \"<pre>\" in content, \"Should have pre blocks for code\"\nE AssertionError: Should have pre blocks for code\nE assert '<pre>' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Chapter One</h1><p id=\"para-1\">This is the first chapter with **bold** text and *italic* text.</p>\\n<h2 id=\\'link-2\\'>Section 1.1</h2><p id=\"para-2\">A paragraph with some content.</p>\\n<p id=\"para-3\">- List item 1 - List item 2 - List item 3</p>\\n<h2 id=\\'link-3\\'>Section 1.2</h2><p id=\"para-4\">```rust fn main() { println!(\u201cHello, World!\u201d); } ```</p>\\n<p id=\"para-5\">More content here.</p>\\n</div></div></div></body></html>'tests/test_book.py:1305: in test_deprecated_option_removed_no_replacement\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_latex.py:204: in test_unordered_list_to_itemize\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw43/test_unordered_list_to_itemize0/output.tex'tests/test_cli.py:286: in test_stats_flag_shows_word_count\n assert \"216\" in output, \"Should show character count\"\nE AssertionError: Should show character count\nE assert '216' in 'CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\ntest.md 264 48 5.50\\n---------\\nTOTAL: 264 48 5.50\\n'tests/test_book.py:983: in test_output_list_format\n assert len(html_files) > 0, \"Expected at least one HTML file to be generated\"\nE AssertionError: Expected at least one HTML file to be generated\nE assert 0 > 0\nE + where 0 = len([])tests/test_cli.py:126: in test_no_fancy_flag_disables_ui\n assert result.stdout + result.stderr == (RESOURCES / \"no_fancy.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...output.html\\n'\nE \nE CROWBOOK 0.17.0\nE - [INFO] Succesfully generated HTML (standalone page): output.htmltests/test_cli.py:615: in test_invalid_output_format_error\n assert result.returncode != 0, \"Should reject invalid output format with non-zero exit\"\nE AssertionError: Should reject invalid output format with non-zero exit\nE assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--single', 'test.md', '--to', 'invalid_format'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncodetests/test_cli.py:351: in test_create_book_with_set_options\n assert \"author: John Doe\" in output, \"Should set author metadata\"\nE AssertionError: Should set author metadata\nE assert 'author: John Doe' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ book.book\\n'tests/test_book.py:1663: in test_option_path_output_base_path_applied\n assert output_file.exists(), f\"Expected output at {output_file}, files: {list((result.workspace / 'out').glob('*'))}\"\nE AssertionError: Expected output at /tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/result.html, files: [PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/.keep')]\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/result.html').existstests/test_book.py:754: in test_rendering_chapter_template_option\n assert \"***\" in output\nE assert '***' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Custom Chapter Template</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test</h2><h1 class=\"title\">Custom Chapter Template</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />First Chapter</h1><p id=\"para-1\">Content.</p>\\n</div><div id=\"chapter-1\" class=\"chapter\">\\n<h1 id=\\'link-2\\'><span class=\"chapter-header\">Chapter 2</span><br />Second Chapter</h1><p id=\"para-2\">Content.</p>\\n</div></div></div></body></html>'tests/test_errors.py:279: in test_set_invalid_option_key\n assert result.stderr == golden\nE assert '' == \"CROWBOOK 0.1...lid_option'\\n\"\nE \nE - CROWBOOK 0.17.0\nE - ERROR Error in setting key invalid_option: test.book:4: Error converting BookOption: unrecognized key 'invalid_option'tests/test_latex.py:378: in test_language_mapping_to_babel\n assert result.returncode == 0, f\"Failed for lang={lang_code}: {result.stderr}\"\nE AssertionError: Failed for lang=fr: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in <module>\nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in <genexpr>\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in <module>\\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in <genexpr>\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncodetests/test_latex.py:402: in test_custom_title_and_author_in_metadata\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw116/test_custom_title_and_author_i0/output.tex'tests/test_html_dir.py:32: in test_html_dir_creates_required_files\n assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw88/test_html_dir_creates_required0/output').existstests/test_errors.py:106: in test_output_without_to_flag\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'chapter.md', '-o', 'output.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncodetests/test_latex.py:432: in test_special_latex_characters_escaped\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw23/test_special_latex_characters_0/output.tex'tests/test_errors.py:30: in test_nonexistent_book_file\n assert result.stderr == golden\nE assert '' == \"CROWBOOK 0.1...k' for book\\n\"\nE \nE - CROWBOOK 0.17.0\nE - ERROR Could not find file 'nonexistent.book' for booktests/test_errors.py:771: in test_render_error_invalid_html_template_var\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'render_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_book.py:1398: in test_option_import_nonexistent_file\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:709: in test_template_error_formatting\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'template_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_book.py:224: in test_multiple_output_formats\n assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw2/test_multiple_output_formats0/output.epub').existstests/test_errors.py:452: in test_missing_css_file_in_config\n assert \"Could not find file\" in result.stderr\nE AssertionError: assert 'Could not find file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book', '--to', 'html', '-o', 'test.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:74: in test_missing_markdown_chapter\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...ook chapter\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR missing_chapter.book:5: Could not find file 'nonexistent_chapter.md' for book chaptertests/test_errors.py:233: in test_invalid_template_name\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...mplate name\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR nonexistent_template is not a valid template nametests/test_errors.py:1042: in test_template_not_found_error_format\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'template_missing.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:823: in test_config_parser_error_yaml_syntax\n assert \"Error parsing configuration file\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'config_parse.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:546: in test_create_mode_with_multiple_chapters\n assert (result.workspace / \"new_book.book\").exists()\nE assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_create_mode_with_multiple0') / 'new_book.book').exists\nE + where PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_create_mode_with_multiple0') = CompletedProcess(args=['/workspace/executable', 'new_book.book', '--create', 'ch1.md', 'ch2.md', 'ch3.md'], returncode=0, stdout='CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ ch3.md\\n', stderr='').workspacetests/test_errors.py:988: in test_latex_render_error_format\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'latex_render.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:879: in test_error_source_with_line_number_formatting\n assert \"source_test.book:6:\" in result.stderr\nE AssertionError: assert 'source_test.book:6:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'source_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_latex.py:497: in test_chapter_labels_for_cross_references\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw34/test_chapter_labels_for_cross_0/output.tex'tests/test_epub.py:85: in test_epub_version_2_default\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw49/test_epub_version_2_default0/test.epub'tests/test_errors.py:363: in test_verbose_mode_shows_debug_info\n assert \"[DEBUG] (1) crowbook::book:\" in result.stderr\nE AssertionError: assert '[DEBUG] (1) crowbook::book:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', '--verbose', 'verbose_test.book', '--to', 'html', '-o', 'test.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:501: in test_invalid_integer_option_value\n assert result.stderr == golden\nE assert '' == 'CROWBOOK 0.1...ot_an_int\")\\n'\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR int_test.book:5: Error converting BookOption: expected an integer as value for key 'rendering.num_depth', found String(\"not_an_int\")tests/test_errors.py:186: in test_missing_image_in_markdown\n assert result.stderr == golden\nE assert '' == \"CROWBOOK 0.1...' for image\\n\"\nE \nE - CROWBOOK 0.17.0\nE - ERROR chapter_img.md: Could not find file './nonexistent.png' for imagetests/test_latex.py:574: in test_strikethrough_to_sout\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw42/test_strikethrough_to_sout0/output.tex'tests/test_book.py:509: in test_invalid_option_name_error\n assert \"unrecognized key 'invalid.option.name'\" in result.stderr\nE assert \"unrecognized key 'invalid.option.name'\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:930: in test_epub_zipper_error_format\n assert \"Error rendering epub:\" in result.stderr\nE AssertionError: assert 'Error rendering epub:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'epub_zip.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_errors.py:138: in test_invalid_flag\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-flag'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncodetests/test_latex.py:469: in test_subsection_hierarchy\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw0/test_subsection_hierarchy0/output.tex'tests/test_latex.py:630: in test_unnumbered_chapter_with_asterisk\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw1/test_unnumbered_chapter_with_a0/output.tex'tests/test_latex.py:713: in test_tex_font_size_setting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw46/test_tex_font_size_setting0/output.tex'tests/test_latex.py:966: in test_inline_elements_in_lists\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw7/test_inline_elements_in_lists0/output.tex'tests/test_html_dir.py:114: in test_html_dir_index_contains_toc_with_all_chapters\n index_html = (result.workspace / \"output\" / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw89/test_html_dir_index_contains_t0/output/index.html'tests/test_errors.py:318: in test_empty_book_file\n assert result.stderr == golden\nE assert '' == 'CROWBOOK 0.1...argument?\\n\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR empty.book: Error parsing configuration file: \"could not parse %{file} as a book file.\"\nE - Maybe you meant to run crowbook with the --single argument?\nE -tests/test_latex.py:688: in test_tex_paper_size_setting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw24/test_tex_paper_size_setting0/output.tex'tests/test_epub.py:279: in test_ncx_navigation\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_ncx_navigation0/test.epub'tests/test_latex.py:873: in test_nested_lists\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw48/test_nested_lists0/output.tex'tests/test_latex.py:996: in test_code_block_without_language\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw25/test_code_block_without_langua0/output.tex'tests/test_html_dir.py:668: in test_html_dir_image_references_copied_and_linked\n assert len(image_files) >= 2 # icon and diagram\nE assert 0 >= 2\nE + where 0 = len([])tests/test_latex.py:905: in test_ordered_list_starting_number\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw11/test_ordered_list_starting_num0/output.tex'tests/test_epub.py:933: in test_guide_section_in_opf\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw58/test_guide_section_in_opf0/test.epub'tests/test_html_dir.py:268: in test_html_dir_css_contains_actual_styles\n stylesheet = (result.workspace / \"output\" / \"stylesheet.css\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw91/test_html_dir_css_contains_act0/output/stylesheet.css'tests/test_latex.py:663: in test_footnotes_rendered\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw19/test_footnotes_rendered0/output.tex'tests/test_epub.py:1372: in test_language_code_propagation\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in <module>\nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in <genexpr>\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in <module>\\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in <genexpr>\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncodetests/test_latex.py:803: in test_tex_hyperref_disabled\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw44/test_tex_hyperref_disabled0/output.tex'tests/test_html_dir.py:1042: in test_html_dir_codeblock_rendering\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw100/test_html_dir_codeblock_render0/output/chapter_000.html'tests/test_latex.py:769: in test_tex_links_as_footnotes_disabled\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw38/test_tex_links_as_footnotes_di0/output.tex'tests/test_epub.py:398: in test_css_stylesheet_included\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw52/test_css_stylesheet_included0/test.epub'tests/test_latex.py:936: in test_mixed_list_types\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw40/test_mixed_list_types0/output.tex'tests/test_epub.py:1030: in test_spine_references_manifest_items\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw59/test_spine_references_manifest0/test.epub'tests/test_latex.py:312: in test_link_to_href_with_url\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw75/test_link_to_href_with_url0/output.tex'tests/test_epub.py:718: in test_footnote_handling_epub3\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw55/test_footnote_handling_epub30/test.epub'tests/test_html_single.py:724: in test_viewport_meta_tag\n assert viewport_meta is not None, \"Should have viewport meta tag for responsive design\"\nE AssertionError: Should have viewport meta tag for responsive design\nE assert None is not Nonetests/test_html_single.py:221: in test_markdown_unordered_list\n assert len(uls) >= 1, f\"Expected at least 1 <ul> tag, got {len(uls)}\"\nE AssertionError: Expected at least 1 <ul> tag, got 0\nE assert 0 >= 1\nE + where 0 = len([])tests/test_latex.py:520: in test_maketitle_command_included\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw21/test_maketitle_command_include0/output.tex'tests/test_html_single.py:163: in test_markdown_bold_italic_rendering\n assert len(strong_tags) + len(b_tags) > 0, \"Should have bold formatting tags\"\nE AssertionError: Should have bold formatting tags\nE assert (0 + 0) > 0\nE + where 0 = len([])\nE + and 0 = len([])tests/test_latex.py:1084: in test_table_with_formatting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw37/test_table_with_formatting0/output.tex'tests/test_html_single.py:406: in test_css_embedded_in_style_tag\n assert \"body\" in css_content, \"CSS should contain body rules\"\nE AssertionError: CSS should contain body rules\nE assert 'body' in ''tests/test_html_single.py:982: in test_code_block_without_language\n assert len(pre_tags) >= 1, \"Should have pre tag for code block\"\nE AssertionError: Should have pre tag for code block\nE assert 0 >= 1\nE + where 0 = len([])tests/test_latex.py:1120: in test_hidden_chapter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw36/test_hidden_chapter0/output.tex'tests/test_html_dir.py:2206: in test_html_dir_print_css_always_included\n assert print_css.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw114/test_html_dir_print_css_always0/output/print.css').existstests/test_html_single.py:745: in test_generator_meta_tag\n assert generator_meta is not None, \"Should have generator meta tag\"\nE AssertionError: Should have generator meta tag\nE assert None is not Nonetests/test_epub.py:509: in test_images_in_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw53/test_images_in_content0/test.epub'tests/test_epub.py:625: in test_inline_toc_option\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw54/test_inline_toc_option0/test.epub'tests/test_html_dir.py:886: in test_html_dir_javascript_toggle_function_present\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw98/test_html_dir_javascript_toggl0/output/chapter_000.html'tests/test_html_single.py:780: in test_empty_markdown_produces_valid_html\n assert soup.find(\"title\").get_text(strip=True) == \"Empty Book\"\nE AssertionError: assert '' == 'Empty Book'\nE \nE - Empty Booktests/test_epub.py:1196: in test_unique_identifier_uuid\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw61/test_unique_identifier_uuid0/test.epub'tests/test_epub.py:1134: in test_paragraph_ids_in_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw60/test_paragraph_ids_in_content0/test.epub'tests/test_latex.py:1410: in test_rendering_initials_first_letter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw72/test_rendering_initials_first_0/output.tex'tests/test_latex.py:172: in test_code_blocks_wrapped_in_environment\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw4/test_code_blocks_wrapped_in_en0/output.tex'tests/test_html_dir.py:464: in test_html_dir_metadata_in_index_page\n index_html = (result.workspace / \"output\" / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw93/test_html_dir_metadata_in_inde0/output/index.html'tests/test_html_single.py:332: in test_markdown_code_block_fenced\n assert len(pre_tags) >= 1\nE assert 0 >= 1\nE + where 0 = len([])tests/test_latex.py:1026: in test_multiline_blockquote\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw33/test_multiline_blockquote0/output.tex'tests/test_latex.py:549: in test_hardbreak_to_linebreak\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw18/test_hardbreak_to_linebreak0/output.tex'tests/test_latex.py:1159: in test_part_with_chapters\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw20/test_part_with_chapters0/output.tex'tests/test_html_dir.py:196: in test_html_dir_prev_next_chapter_links\n ch0_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw90/test_html_dir_prev_next_chapte0/output/chapter_000.html'tests/test_latex.py:1339: in test_image_local_vs_remote_handling\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw47/test_image_local_vs_remote_han0/output.tex'tests/test_epub.py:1299: in test_stylesheet_referenced_in_all_xhtml\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw62/test_stylesheet_referenced_in_0/test.epub'tests/test_html_dir.py:752: in test_html_dir_special_characters_in_titles\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw96/test_html_dir_special_characte0/output/chapter_000.html'tests/test_latex.py:1376: in test_inline_code_with_break_opportunities\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw41/test_inline_code_with_break_op0/output.tex'tests/test_html_single.py:288: in test_markdown_blockquote\n assert len(blockquotes) >= 1\nE assert 0 >= 1\nE + where 0 = len([])tests/test_latex.py:1297: in test_description_list_rendering\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw35/test_description_list_renderin0/output.tex'tests/test_latex.py:144: in test_inline_code_to_texttt\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw5/test_inline_code_to_texttt0/output.tex'tests/test_html_single.py:606: in test_table_of_contents_generated\n assert nav is not None, \"Should have navigation/TOC element\"\nE AssertionError: Should have navigation/TOC element\nE assert None is not Nonetests/test_epub.py:1539: in test_emphasis_and_strong\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw65/test_emphasis_and_strong0/test.epub'tests/test_latex.py:1187: in test_special_character_escaping_in_text\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw39/test_special_character_escapin0/output.tex'tests/test_html_dir.py:947: in test_html_dir_error_when_output_is_file_not_directory\n assert \"already exists and is not a directory\" in result.stderr\nE AssertionError: assert 'already exists and is not a directory' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_latex.py:1588: in test_inline_toc_option\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw13/test_inline_toc_option0/output.tex'tests/test_html_single.py:1061: in test_special_html_characters_escaped\n assert \"<angle brackets>\" in text, \"Should preserve angle bracket text content\"\nE AssertionError: Should preserve angle bracket text content\nE assert '<angle brackets>' in \"\\n--- title: HTML Characters author: Test lang: en ---\\nChapter 1HTML Special CharactersText with and & ampersands.\\nA \u201cquote\u201d and 'apostrophe'.\\nCode: \\n\"tests/test_latex.py:342: in test_table_to_tabularx_environment\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw80/test_table_to_tabularx_environ0/output.tex'tests/test_epub.py:792: in test_missing_cover_error\n assert 'ERROR' in error_output, \"Should print ERROR for missing cover\"\nE AssertionError: Should print ERROR for missing cover\nE assert 'ERROR' in 'CROWBOOK 0.17.0\\n'tests/test_html_dir.py:1727: in test_html_dir_navigation_without_chapter_numbers\n first_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw108/test_html_dir_navigation_witho0/output/chapter_000.html'tests/test_latex.py:598: in test_numbered_chapter_setcounter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw17/test_numbered_chapter_setcount0/output.tex'tests/test_latex.py:85: in test_article_class_uses_section_not_chapter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw12/test_article_class_uses_sectio0/output.tex'tests/test_latex.py:259: in test_blockquote_to_mdblockquote_environment\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw3/test_blockquote_to_mdblockquot0/output.tex'tests/test_latex.py:288: in test_horizontal_rule_to_mdrule\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw79/test_horizontal_rule_to_mdrule0/output.tex'tests/test_html_dir.py:1974: in test_html_dir_index_page_no_next_link_for_single_chapter\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw111/test_html_dir_index_page_no_ne0/output/index.html'tests/test_latex.py:1781: in test_url_link_same_as_text\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw81/test_url_link_same_as_text0/output.tex'tests/test_latex.py:1055: in test_empty_emphasis\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw15/test_empty_emphasis0/output.tex'tests/test_latex.py:1812: in test_nested_enumerate_counter_levels\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw76/test_nested_enumerate_counter_0/output.tex'tests/test_html_dir.py:1119: in test_html_dir_link_rendering\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw101/test_html_dir_link_rendering0/output/chapter_000.html'tests/test_latex.py:1441: in test_tex_font_size_option\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw27/test_tex_font_size_option0/output.tex'tests/test_latex.py:740: in test_tex_margins_customization\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw30/test_tex_margins_customization0/output.tex'tests/test_html_dir.py:1190: in test_html_dir_chapter_title_in_page_title_tag\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw102/test_html_dir_chapter_title_in0/output/chapter_000.html'tests/test_html_dir.py:2133: in test_html_dir_nested_resource_files_preserve_structure\n assert jquery_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw113/test_html_dir_nested_resource_0/output/assets/lib/vendor/jquery.js').existstests/test_html_dir.py:1894: in test_html_dir_chapter_without_header_gets_empty_title\n assert (output_dir / \"chapter_000.html\").exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw110/test_html_dir_chapter_without_0/output') / 'chapter_000.html').existstests/test_html_dir.py:2285: in test_html_dir_is_chapter_flag_in_template_data\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw115/test_html_dir_is_chapter_flag_0/output/index.html'tests/test_html_dir.py:376: in test_html_dir_anchor_ids_on_headings\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw92/test_html_dir_anchor_ids_on_he0/output/chapter_000.html'tests/test_latex.py:1693: in test_strikethrough_to_sout_command\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw2/test_strikethrough_to_sout_com0/output.tex'tests/test_latex.py:1719: in test_hard_break_to_mdhardbreak\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw66/test_hard_break_to_mdhardbreak0/output.tex'tests/test_latex.py:1869: in test_initials_with_non_alphanumeric_first_character\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw87/test_initials_with_non_alphanu0/output.tex'tests/test_html_dir.py:1458: in test_html_dir_resource_files_copied_to_out_path\n assert assets_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw105/test_html_dir_resource_files_c0/output/assets').existstests/test_epub.py:1453: in test_code_blocks_in_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw64/test_code_blocks_in_content0/test.epub'tests/test_latex.py:1499: in test_tex_paper_size_option\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw10/test_tex_paper_size_option0/output.tex'tests/test_html_dir.py:1256: in test_html_dir_deletes_existing_directory\n old_file.write_text(\"stale content\")\n/usr/lib/python3.10/pathlib.py:1154: in write_text\n with self.open(mode='w', encoding=encoding, errors=errors, newline=newline) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw103/test_html_dir_deletes_existing0/output/old_stale_file.txt'tests/test_html_dir.py:1548: in test_html_dir_single_chapter_no_prev_next_links\n chapter_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw106/test_html_dir_single_chapter_n0/output/chapter_000.html'tests/test_latex.py:117: in test_markdown_emphasis_to_latex_commands\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw29/test_markdown_emphasis_to_late0/output.tex'tests/test_latex.py:1642: in test_tex_stdpage_package_inclusion\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw68/test_tex_stdpage_package_inclu0/output.tex'tests/test_epub.py:152: in test_metadata_in_opf\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in <module>\nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in <genexpr>\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in <module>\\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in <genexpr>\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncodetests/test_latex.py:1843: in test_ordered_list_deep_nesting_handling\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw67/test_ordered_list_deep_nesting0/output.tex'tests/test_latex.py:1668: in test_tex_template_add_custom_code\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw82/test_tex_template_add_custom_c0/output.tex'tests/test_latex.py:1944: in test_chapter_number_specification_with_setcounter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw83/test_chapter_number_specificat0/output.tex'tests/test_latex.py:1906: in test_custom_pageref_template_for_internal_links\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw71/test_custom_pageref_template_f0/output.tex'tests/test_html_dir.py:1634: in test_html_dir_last_chapter_has_only_prev_link\n last_html = (output_dir / \"chapter_002.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw107/test_html_dir_last_chapter_has0/output/chapter_002.html'tests/test_html_dir.py:1816: in test_html_dir_no_inline_toc_when_disabled\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw109/test_html_dir_no_inline_toc_wh0/output/index.html'tests/test_latex.py:1751: in test_internal_cross_reference_with_hyperref\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw22/test_internal_cross_reference_0/output.tex'tests/test_latex.py:1227: in test_footnote_reference_and_definition\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw43/test_footnote_reference_and_de0/output.tex'tests/test_html_dir.py:2049: in test_html_dir_author_title_subtitle_on_index\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw112/test_html_dir_author_title_sub0/output/index.html'tests/test_latex.py:232: in test_ordered_list_to_enumerate\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw31/test_ordered_list_to_enumerate0/output.tex'tests/test_html_single.py:800: in test_syntax_highlighting_python_code\n assert len(pre_tags) >= 1, \"Should have code blocks\"\nE AssertionError: Should have code blocks\nE assert 0 >= 1\nE + where 0 = len([])tests/test_latex.py:837: in test_multiple_chapters_with_labels\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw57/test_multiple_chapters_with_la0/output.tex'tests/test_latex.py:1557: in test_xelatex_command_packages\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw126/test_xelatex_command_packages0/output.tex'tests/test_latex.py:1259: in test_task_items_with_checkboxes\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw14/test_task_items_with_checkboxe0/output.tex'tests/test_latex.py:1528: in test_cover_image_inclusion\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw88/test_cover_image_inclusion0/output.tex'tests/test_html_dir.py:819: in test_html_dir_print_css_separate_file\n print_css = (result.workspace / \"output\" / \"print.css\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw97/test_html_dir_print_css_separa0/output/print.css'tests/test_html_dir.py:540: in test_html_dir_valid_html5_structure\n html_content = (result.workspace / \"output\" / html_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw94/test_html_dir_valid_html5_stru0/output/index.html'tests/test_latex.py:1470: in test_tex_margin_customization\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw116/test_tex_margin_customization0/output.tex'tests/test_latex.py:1976: in test_unnumbered_chapter_adds_to_toc\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw78/test_unnumbered_chapter_adds_t0/output.tex'tests/test_latex.py:2163: in test_language_unknown_fallback_to_english\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw74/test_language_unknown_fallback0/output.tex'tests/test_latex.py:2137: in test_book_class_asymmetric_margins\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw77/test_book_class_asymmetric_mar0/output.tex'tests/test_latex.py:2110: in test_article_class_symmetric_margins\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw84/test_article_class_symmetric_m0/output.tex'tests/test_latex.py:2283: in test_multiple_languages_babel_selection\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw73/test_multiple_languages_babel_0/output.tex'tests/test_latex.py:1615: in test_custom_chapter_and_part_names\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw23/test_custom_chapter_and_part_n0/output.tex'tests/test_latex.py:2189: in test_tectonic_command_uses_xelatex_packages\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw70/test_tectonic_command_uses_xel0/output.tex'tests/test_latex.py:2047: in test_part_marker_renders_empty_chapter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw86/test_part_marker_renders_empty0/output.tex'tests/test_latex.py:2379: in test_empty_paragraphs_handling\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw69/test_empty_paragraphs_handling0/output.tex'tests/test_latex.py:2344: in test_description_list_multiline_terms\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw85/test_description_list_multilin0/output.tex'tests/test_markdown.py:976: in test_autolink_email\n assert email_link is not None, \"Email autolink not found\"\nE AssertionError: Email autolink not found\nE assert None is not Nonetests/test_markdown.py:598: in test_escaping_special_characters\n assert chapter is not None\nE assert None is not Nonetests/test_markdown.py:1285: in test_table_with_empty_cells\n assert table is not None, \"Table not found\"\nE AssertionError: Table not found\nE assert None is not Nonetests/test_latex.py:2245: in test_soft_break_to_space\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw6/test_soft_break_to_space0/output.tex'tests/test_markdown.py:779: in test_code_block_preserves_whitespace\n assert pre is not None, \"Code block not found\"\nE AssertionError: Code block not found\nE assert None is not Nonetests/test_markdown.py:117: in test_code_blocks_and_inline\n assert len(code_tags) >= 1\nE assert 0 >= 1\nE + where 0 = len([])tests/test_markdown.py:267: in test_blockquote_simple\n assert len(blockquotes) >= 3, f\"Expected at least 3 blockquotes, found {len(blockquotes)}\"\nE AssertionError: Expected at least 3 blockquotes, found 0\nE assert 0 >= 3\nE + where 0 = len([])tests/test_markdown.py:730: in test_deep_nesting\n assert len(ul_tags) >= 3, f\"Expected at least 3 nested list levels, found {len(ul_tags)}\"\nE AssertionError: Expected at least 3 nested list levels, found 0\nE assert 0 >= 3\nE + where 0 = len([])tests/test_markdown.py:421: in test_images_inline\n assert len(images) >= 3, f\"Expected at least 3 images, found {len(images)}\"\nE AssertionError: Expected at least 3 images, found 0\nE assert 0 >= 3\nE + where 0 = len([])tests/test_markdown.py:1115: in test_multiple_paragraphs_in_list_item\n assert chapter is not None\nE assert None is not Nonetests/test_markdown.py:758: in test_malformed_markdown_missing_closing\n assert soup.find(\"html\") is not None\nE AssertionError: assert None is not None\nE + where None = find('html')\nE + where find = CROWBOOK 0.17.0\\n.findtests/test_markdown.py:56: in test_emphasis_variations\n assert chapter is not None\nE assert None is not Nonetests/test_latex.py:2503: in test_code_block_without_syntax_highlighting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw0/test_code_block_without_syntax0/output.tex'tests/test_markdown.py:340: in test_links_inline\n assert len(links) >= 3, f\"Expected at least 3 links, found {len(links)}\"\nE AssertionError: Expected at least 3 links, found 0\nE assert 0 >= 3\nE + where 0 = len([])tests/test_markdown.py:834: in test_setext_headings\n assert chapter is not None\nE assert None is not Nonetests/test_latex.py:2471: in test_tex_title_option_controls_titlepage\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw89/test_tex_title_option_controls0/output.tex'tests/test_markdown.py:872: in test_task_lists\n assert len(checkboxes) == 3, f\"Expected 3 checkboxes, found {len(checkboxes)}\"\nE AssertionError: Expected 3 checkboxes, found 0\nE assert 0 == 3\nE + where 0 = len([])tests/test_latex.py:2215: in test_nested_formatting_combinations\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw42/test_nested_formatting_combina0/output.tex'tests/test_latex.py:2011: in test_hidden_chapter_not_in_toc\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw34/test_hidden_chapter_not_in_toc0/output.tex'tests/test_latex.py:2533: in test_special_chars_in_code_blocks\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw24/test_special_chars_in_code_blo0/output.tex'tests/test_latex.py:2311: in test_table_cell_alignment_and_structure\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw46/test_table_cell_alignment_and_0/output.tex'tests/test_markdown.py:173: in test_unordered_lists\n assert chapter is not None\nE assert None is not Nonetests/test_latex.py:2570: in test_multiple_chapters_from_single_file\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw11/test_multiple_chapters_from_si0/output.tex'tests/test_markdown.py:315: in test_blockquote_with_formatting\n assert formatting_found, \"No blockquote with bold and italic formatting found\"\nE AssertionError: No blockquote with bold and italic formatting found\nE assert Falsetests/test_markdown.py:906: in test_line_breaks_soft_vs_hard\n assert chapter is not None\nE assert None is not Nonetests/test_markdown.py:215: in test_ordered_lists\n assert len(ol_tags) >= 1, \"No ordered lists found\"\nE AssertionError: No ordered lists found\nE assert 0 >= 1\nE + where 0 = len([])tests/test_markdown.py:23: in test_atx_headings\n assert chapter is not None\nE assert None is not Nonetests/test_latex.py:2408: in test_chapter_with_no_content\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw1/test_chapter_with_no_content0/output.tex'tests/test_markdown.py:674: in test_unicode_content\n assert chapter is not None\nE assert None is not Nonetests/test_latex.py:2440: in test_mixed_list_with_nested_content\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw7/test_mixed_list_with_nested_co0/output.tex'tests/test_markdown.py:1800: in test_complex_nested_structures\n assert chapter is not None\nE assert None is not Nonetests/test_markdown.py:1203: in test_code_fence_with_backticks_inside\n assert pre is not None, \"Code block not found\"\nE AssertionError: Code block not found\nE assert None is not Nonetests/test_pdf.py:72: in test_pdf_with_multiple_chapters\n assert \"Error rendering pdf:\" in result.stderr, \"Should attempt PDF generation\"\nE AssertionError: Should attempt PDF generation\nE assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_markdown.py:382: in test_links_reference\n assert ref_link is not None, \"Reference link not found\"\nE AssertionError: Reference link not found\nE assert None is not Nonetests/test_pdf.py:229: in test_pdf_with_lualatex_command\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_latex.py:2079: in test_rendering_num_depth_controls_numbering\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw49/test_rendering_num_depth_contr0/output.tex'tests/test_markdown.py:702: in test_very_long_line\n assert chapter is not None\nE assert None is not Nonetests/test_markdown.py:1176: in test_link_with_parentheses_in_url\n assert len(links) >= 2, f\"Expected at least 2 links, found {len(links)}\"\nE AssertionError: Expected at least 2 links, found 0\nE assert 0 >= 2\nE + where 0 = len([])tests/test_markdown.py:252: in test_nested_lists\n assert nested_found, \"No nested lists found in the output\"\nE AssertionError: No nested lists found in the output\nE assert Falsetests/test_markdown.py:931: in test_inline_html_handling\n assert chapter is not None\nE assert None is not Nonetests/test_markdown.py:448: in test_images_with_title\n assert title_img is not None, \"Image with title attribute not found\"\nE AssertionError: Image with title attribute not found\nE assert None is not Nonetests/test_markdown.py:497: in test_horizontal_rules\n assert len(rules) >= 3, f\"Expected at least 3 horizontal rules, found {len(rules)}\"\nE AssertionError: Expected at least 3 horizontal rules, found 0\nE assert 0 >= 3\nE + where 0 = len([])tests/test_markdown.py:1366: in test_footnote_references_and_definitions\n assert len(refs) == 2, f\"Expected 2 footnote references, found {len(refs)}\"\nE AssertionError: Expected 2 footnote references, found 0\nE assert 0 == 2\nE + where 0 = len([])tests/test_markdown.py:1235: in test_reference_link_case_insensitive\n assert ref_link is not None, \"Reference link not found\"\nE AssertionError: Reference link not found\nE assert None is not Nonetests/test_markdown.py:1410: in test_task_lists_with_checked_unchecked\n assert len(checkboxes) == 4, f\"Expected 4 checkboxes, found {len(checkboxes)}\"\nE AssertionError: Expected 4 checkboxes, found 0\nE assert 0 == 4\nE + where 0 = len([])tests/test_markdown.py:641: in test_mixed_content_document\n assert soup.find(\"h1\") is not None, \"H1 not found\"\nE AssertionError: H1 not found\nE assert None is not None\nE + where None = find('h1')\nE + where find = CROWBOOK 0.17.0\\n.findtests/test_markdown.py:533: in test_empty_document\n assert soup.find(\"html\") is not None, \"Output should contain HTML tag\"\nE AssertionError: Output should contain HTML tag\nE assert None is not None\nE + where None = find('html')\nE + where find = CROWBOOK 0.17.0\\n.findtests/test_pdf.py:362: in test_pdf_generation_with_custom_temp_dir\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_latex.py:2604: in test_subsection_and_subsubsection_hierarchy\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_subsection_and_subsubsect0/output.tex'tests/test_markdown.py:464: in test_table_basic\n assert len(tables) >= 2, f\"Expected at least 2 tables, found {len(tables)}\"\nE AssertionError: Expected at least 2 tables, found 0\nE assert 0 >= 2\nE + where 0 = len([])tests/test_markdown.py:294: in test_blockquote_nested\n assert nested_found, \"No nested blockquotes found\"\nE AssertionError: No nested blockquotes found\nE assert Falsetests/test_markdown.py:813: in test_list_with_code_blocks\n assert ul is not None, \"List not found\"\nE AssertionError: List not found\nE assert None is not Nonetests/test_markdown.py:1315: in test_description_lists_with_nested_formatting\n assert dl is not None, \"Description list not found\"\nE AssertionError: Description list not found\nE assert None is not Nonetests/test_markdown.py:1051: in test_table_with_alignment\n assert table is not None, \"Table not found\"\nE AssertionError: Table not found\nE assert None is not Nonetests/test_markdown.py:1709: in test_table_structure_and_cells\n assert len(tables) >= 2, f\"Expected at least 2 tables, found {len(tables)}\"\nE AssertionError: Expected at least 2 tables, found 0\nE assert 0 >= 2\nE + where 0 = len([])tests/test_pdf.py:573: in test_pdf_fake_latex_succeeds_but_no_result_file\n assert \"Error rendering pdf:\" in result.stderr, f\"Should report error, got: {result.stderr}\"\nE AssertionError: Should report error, got: \nE assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_markdown.py:1683: in test_strikethrough_nested_formatting\n assert len(del_tags) >= 3, f\"Expected at least 3 strikethrough sections, found {len(del_tags)}\"\nE AssertionError: Expected at least 3 strikethrough sections, found 0\nE assert 0 >= 3\nE + where 0 = len([])tests/test_markdown.py:1658: in test_annotation_tokens_grammar_check\n assert chapter is not None\nE assert None is not Nonetests/test_markdown.py:1595: in test_is_container_method_coverage\n assert chapter is not None\nE assert None is not Nonetests/test_markdown.py:92: in test_strikethrough\n assert len(del_tags) >= 3, f\"Expected at least 3 strikethrough sections, found {len(del_tags)}\"\nE AssertionError: Expected at least 3 strikethrough sections, found 0\nE assert 0 >= 3\nE + where 0 = len([])tests/test_resources.py:118: in test_image_missing_file_error\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE WARNING Crowbook exited successfully, but the following errors occurred:\nE ERROR Error rendering html: with_missing_image.md: Could not find file './nonexistent.png' for image\nE \nE Got:\nE \nE assert '' == \"CROWBOOK 0.1...' for image\\n\"\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR Error rendering html: with_missing_image.md: Could not find file './nonexistent.png' for imagetests/test_pdf.py:448: in test_pdf_generation_with_fake_latex_multiple_chapters\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw102/test_pdf_generation_with_fake_0/test.pdf').existstests/test_markdown.py:1257: in test_consecutive_emphasis_markers\n assert chapter is not None\nE assert None is not Nonetests/test_pdf.py:537: in test_pdf_with_very_large_chapter_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw2/test_pdf_with_very_large_chapt0/test.pdf').existstests/test_pdf.py:739: in test_pdf_with_footnotes_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw31/test_pdf_with_footnotes_and_fa0/test.pdf').existstests/test_markdown.py:1025: in test_emphasis_in_word\n assert chapter is not None\nE assert None is not Nonetests/test_markdown.py:1147: in test_blockquote_with_list\n assert blockquote is not None, \"Blockquote not found\"\nE AssertionError: Blockquote not found\nE assert None is not Nonetests/test_markdown.py:1453: in test_images_inline_vs_standalone\n assert len(imgs) == 2, f\"Expected 2 images, found {len(imgs)}\"\nE AssertionError: Expected 2 images, found 0\nE assert 0 == 2\nE + where 0 = len([])tests/test_pdf.py:304: in test_pdf_with_many_images_exercises_zipper_nested_write\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_resources.py:255: in test_image_relative_path_resolution\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])tests/test_resources.py:276: in test_print_template_invalid_name_error\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE ERROR invalid.template is not a valid template name\nE \nE Got:\nE \nE assert '' == 'CROWBOOK 0.1...mplate name\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR invalid.template is not a valid template nametests/test_markdown.py:1866: in test_code_block_with_multiple_languages\n assert len(pre_tags) == 4, f\"Expected 4 code blocks, found {len(pre_tags)}\"\nE AssertionError: Expected 4 code blocks, found 0\nE assert 0 == 4\nE + where 0 = len([])tests/test_markdown.py:1498: in test_subscript_superscript_token_handling\n assert len(sups) == 2, f\"Expected exactly 2 superscripts, found {len(sups)}\"\nE AssertionError: Expected exactly 2 superscripts, found 0\nE assert 0 == 2\nE + where 0 = len([])tests/test_markdown.py:2022: in test_description_list_multiple_terms_and_definitions\n assert dl is not None, \"Description list not found\"\nE AssertionError: Description list not found\nE assert None is not Nonetests/test_resources.py:66: in test_image_embedding_epub_separate_file\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw83/test_image_embedding_epub_sepa0/output.epub').existstests/test_resources.py:623: in test_image_case_sensitivity_extension\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])tests/test_markdown.py:997: in test_ordered_list_starting_number\n assert ol is not None, \"Ordered list not found\"\nE AssertionError: Ordered list not found\nE assert None is not Nonetests/test_pdf.py:696: in test_pdf_with_book_class_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw110/test_pdf_with_book_class_and_f0/test.pdf').existstests/test_markdown.py:1967: in test_container_identification_with_edge_cases\n assert chapter is not None\nE assert None is not Nonetests/test_markdown.py:1082: in test_nested_emphasis_combinations\n assert chapter is not None\nE assert None is not Nonetests/test_resources.py:472: in test_print_template_epub_chapter_xhtml\n assert len(template) > 100, \"Template too short\"\nE AssertionError: Template too short\nE assert 16 > 100\nE + where 16 = len('CROWBOOK 0.17.0\\n')tests/test_pdf.py:203: in test_pdf_with_pdflatex_command\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_resources.py:450: in test_print_template_html_standalone_template\n assert len(template) > 200, \"Template too short\"\nE AssertionError: Template too short\nE assert 16 > 200\nE + where 16 = len('CROWBOOK 0.17.0\\n')tests/test_resources.py:292: in test_print_template_html_dir_template\n assert len(template) > 200, \"Template too short\"\nE AssertionError: Template too short\nE assert 16 > 200\nE + where 16 = len('CROWBOOK 0.17.0\\n')tests/test_resources.py:174: in test_print_template_epub_css\n assert result.stdout == expected_css, \\\nE AssertionError: EPUB CSS template mismatch. Length: expected 3842, got 16\nE assert 'CROWBOOK 0.17.0\\n' == 'body {\\n ...al_code}}\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - body {\nE - font-family: \"Linux Libertine\", \"Georgia\", serif;\nE - text-align: justify;\nE - font-size: 100%;\nE - }...\nE \nE ...Full output truncated (217 lines hidden), use '-vv' to showtests/test_resources.py:160: in test_print_template_html_css\n assert result.stdout == expected_css, \\\nE AssertionError: HTML CSS template mismatch. Length: expected 6861, got 16\nE assert 'CROWBOOK 0.17.0\\n' == 'body {\\n ...al_code}}\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - body {\nE - font-family: \"Linux Libertine\", \"Georgia\", serif;\nE - text-align: justify;\nE - font-size: 100%;\nE - }...\nE \nE ...Full output truncated (427 lines hidden), use '-vv' to showtests/test_markdown.py:405: in test_links_autolink\n assert autolink is not None, \"Autolink not found\"\nE AssertionError: Autolink not found\nE assert None is not Nonetests/test_pdf.py:261: in test_pdf_with_very_long_content_exercises_zipper_write\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_markdown.py:560: in test_multiple_blank_lines\n assert chapter is not None\nE assert None is not Nonetests/test_resources.py:35: in test_image_embedding_html_base64\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])tests/test_markdown.py:1762: in test_footnote_reference_without_definition\n assert chapter is not None\nE assert None is not Nonetests/test_resources.py:211: in test_multiple_images_different_formats\n assert epub_file.exists(), \"output_multi.epub not created\"\nE AssertionError: output_multi.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw107/test_multiple_images_different0/output_multi.epub').existstests/test_resources.py:842: in test_resources_files_directory_walking\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw116/test_resources_files_directory0/output.epub').existstests/test_resources.py:751: in test_link_resolution_with_fallback_extension\n assert chapter1_file.exists(), \"chapter_000.html not created\"\nE AssertionError: chapter_000.html not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw94/test_link_resolution_with_fall0/html_output/chapter_000.html').existstests/test_pdf.py:785: in test_pdf_with_tables_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw50/test_pdf_with_tables_and_fake_0/test.pdf').existstests/test_pdf.py:496: in test_pdf_generation_with_images_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw115/test_pdf_generation_with_image0/test.pdf').existstests/test_resources.py:543: in test_multiple_css_files_space_in_name_error\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE WARNING Crowbook exited successfully, but the following errors occurred:\nE ERROR Error rendering html: book.book: Could not find file './custom.css custom2.css' for template 'html.css'\nE \nE Got:\nE \nE assert '' == \"CROWBOOK 0.1... 'html.css'\\n\"\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR Error rendering html: book.book: Could not find file './custom.css custom2.css' for template 'html.css'tests/test_resources.py:423: in test_remote_image_url_not_embedded\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])tests/test_pdf.py:140: in test_pdf_custom_latex_command\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_pdf.py:331: in test_pdf_with_special_characters_in_title\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_resources.py:509: in test_image_not_found_absolute_path\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE WARNING Crowbook exited successfully, but the following errors occurred:\nE ERROR Error rendering html: with_abs.md: Could not find file '/nonexistent/absolute/path.png' for image\nE \nE Got:\nE \nE assert '' == \"CROWBOOK 0.1...' for image\\n\"\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR Error rendering html: with_abs.md: Could not find file '/nonexistent/absolute/path.png' for imagetests/test_markdown.py:1551: in test_is_code_method_coverage\n assert len(code_tags) >= 2, f\"Expected at least 2 inline code elements, found {len(code_tags)}\"\nE AssertionError: Expected at least 2 inline code elements, found 0\nE assert 0 >= 2\nE + where 0 = len([])tests/test_pdf.py:36: in test_pdf_generation_without_latex_command_fails\n assert \"Error rendering pdf:\" in result.stderr, f\"Should report PDF error, got: {result.stderr}\"\nE AssertionError: Should report PDF error, got: \nE assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_markdown.py:1901: in test_mixed_inline_code_and_emphasis\n assert chapter is not None\nE assert None is not Nonetests/test_resources.py:188: in test_print_template_tex_template\n assert result.stdout == expected_tex, \\\nE AssertionError: LaTeX template mismatch. Length: expected 6543, got 16\nE assert 'CROWBOOK 0.17.0\\n' == '\\\\documentcl...document}\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - \\documentclass<# if has_tex_size #>[<<tex_size>>pt]<# endif #>{<<class>>}\nE - \nE - %% Package inclusion\nE - <# if xelatex #>\nE - % Unicode support if xelatex is used...\nE \nE ...Full output truncated (285 lines hidden), use '-vv' to showtests/test_pdf.py:114: in test_pdf_with_images_exercises_zipper_nested_paths\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_pdf.py:402: in test_pdf_generation_success_path_with_fake_latex\n assert pdf_file.exists(), \"Should create output PDF file\"\nE AssertionError: Should create output PDF file\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_pdf_generation_success_pa0/test.pdf').existstests/test_resources.py:998: in test_svg_image_mime_type_detection\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])tests/test_resources.py:370: in test_epub_css_option_custom_styling\n assert epub_file.exists(), \"output_epub_css.epub not created\"\nE AssertionError: output_epub_css.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw43/test_epub_css_option_custom_st0/output_epub_css.epub').existstests/test_resources.py:699: in test_image_no_extension_epub_naming\n assert \"doesn't have an extension\" in result.stderr, \\\nE AssertionError: Expected extension warning not found in stderr: \nE assert \"doesn't have an extension\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_resources.py:1302: in test_multiple_resource_types_epub\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw85/test_multiple_resource_types_e0/output.epub').existstests/test_resources.py:336: in test_css_add_option_inline_styles\n assert \"Linux Libertine\" in html_content, \"Default CSS not included\"\nE AssertionError: Default CSS not included\nE assert 'Linux Libertine' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>CSS Add Test</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test</h2><h1 class=\"title\">CSS Add Test</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Test with Image</h1><p id=\"para-1\">Here is a test image:</p>\\n<p id=\"para-2\">![Test Image](test.png)</p>\\n<p id=\"para-3\">End of chapter.</p>\\n</div></div></div></body></html>'tests/test_resources.py:660: in test_image_no_extension_base64_warning\n assert \"could not guess mime type\" in result.stderr, \\\nE AssertionError: Expected mime type warning not found in stderr: \nE assert 'could not guess mime type' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_resources.py:1066: in test_jpeg_image_mime_type_detection\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])tests/test_pdf.py:653: in test_pdf_with_all_latex_options_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw66/test_pdf_with_all_latex_option0/test.pdf').existstests/test_resources.py:1147: in test_resources_files_with_symlinks\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw69/test_resources_files_with_syml0/output.epub').existstests/test_stats_lang.py:48: in test_stats_multiple_chapters_aggregation\n assert result.stdout == (RESOURCES / \"stats_multi.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.29\\n' == 'Chapter ... 7.18\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE Chapter Chars Words Chars/Word\nE ---------\nE - chapter1.md 237 35 6.77\nE - chapter2.md 141 18 7.83\nE - chapter3.md 31 4 7.75...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to showtests/test_stats_lang.py:174: in test_lang_russian_chapter_label\n assert \"\u0413\u043b\u0430\u0432\u0430 1\" in html_content, \"Russian chapter label not found\"\nE AssertionError: Russian chapter label not found\nE assert '\u0413\u043b\u0430\u0432\u0430 1' in '<!DOCTYPE html><html lang=\"ru\"><head><meta charset=\"utf-8\"><title>\u0420\u0443\u0441\u0441\u043a\u0430\u044f \u041a\u043d\u0438\u0433\u0430</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test Author</h2><h1 class=\"title\">\u0420\u0443\u0441\u0441\u043a\u0430\u044f \u041a\u043d\u0438\u0433\u0430</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />\u041f\u0435\u0440\u0432\u0430\u044f \u0413\u043b\u0430\u0432\u0430</h1><p id=\"para-1\">\u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435.</p>\\n</div></div></div></body></html>'tests/test_resources.py:1192: in test_resources_files_special_file_type_error\n assert result.returncode != 0 or \"error\" in result.stderr.lower(), \\\nE AssertionError: Expected error for special file type, got: \nE assert (0 != 0 or 'error' in '')\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\nE + and '' = <built-in method lower of str object at 0x7f6874aa8030>()\nE + where <built-in method lower of str object at 0x7f6874aa8030> = ''.lower\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_resources.py:801: in test_link_resolution_missing_file_warning\n assert \"Resources: could not find an in-book match for link missing.txt or missing.md\" in result.stderr, \\\nE AssertionError: Expected full link match warning not found in stderr: \nE assert 'Resources: could not find an in-book match for link missing.txt or missing.md' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_seed.py:49: in test_help_flag\n assert \"USAGE:\" in output or \"Usage:\" in output, \"Help should show usage\"\nE AssertionError: Help should show usage\nE assert ('USAGE:' in 'CROWBOOK 0.17.0\\n' or 'Usage:' in 'CROWBOOK 0.17.0\\n')tests/test_resources.py:145: in test_custom_css_file_inclusion\n assert \"background-color: #f0f0f0;\" in html_content, \"Custom CSS background not found\"\nE AssertionError: Custom CSS background not found\nE assert 'background-color: #f0f0f0;' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>Test Book with CSS</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test Author</h2><h1 class=\"title\">Test Book with CSS</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Test with Image</h1><p id=\"para-1\">Here is a test image:</p>\\n<p id=\"para-2\">![Test Image](test.png)</p>\\n<p id=\"para-3\">End of chapter.</p>\\n</div></div></div></body></html>'tests/test_pdf.py:175: in test_pdf_generation_attempts_three_latex_passes\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_resources.py:573: in test_epub_css_add_option_inline_content\n assert epub_file.exists(), \"output_epub_css_add.epub not created\"\nE AssertionError: output_epub_css_add.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw57/test_epub_css_add_option_inlin0/output_epub_css_add.epub').existstests/test_resources.py:933: in test_image_duplicate_reference_reuse\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_image_duplicate_reference0/output.epub').existstests/test_stats_lang.py:199: in test_lang_catalan_chapter_label\n assert \"Cap\u00edtol 1\" in html_content, \"Catalan chapter label not found\"\nE AssertionError: Catalan chapter label not found\nE assert 'Cap\u00edtol 1' in '<!DOCTYPE html><html lang=\"ca\"><head><meta charset=\"utf-8\"><title>Llibre Catal\u00e0</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test Author</h2><h1 class=\"title\">Llibre Catal\u00e0</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Primer Cap\u00edtol</h1><p id=\"para-1\">Contingut de prova.</p>\\n</div></div></div></body></html>'tests/test_pdf.py:611: in test_pdf_fake_latex_fails_with_error_code\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_resources.py:897: in test_resources_files_missing_error\n assert \"error reading file ./nonexistent.txt: No such file or directory\" in result.stderr, \\\nE AssertionError: Expected exact file not found error in stderr: \nE assert 'error reading file ./nonexistent.txt: No such file or directory' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_resources.py:1246: in test_large_image_base64_encoding\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])tests/test_stats_lang.py:257: in test_stats_large_book_accurate_totals\n assert result.stdout == (RESOURCES / \"stats_large.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 7.17\\n' == 'Chapter ... 7.22\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? ++\nE ---------\nE - large1.md 16486 2602 6.34...\nE \nE ...Full output truncated (11 lines hidden), use '-vv' to showtests/test_stats_lang.py:515: in test_stats_very_long_chapter_name_column_width\n assert result.stdout == (RESOURCES / \"stats_long_name.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.67\\n' == 'Chapter ... 6.15\\n\\n'\nE \nE - Chapter Chars Words Chars/Word\nE + CROWBOOK 0.17.0\nE + Chapter Chars Words Chars/Word\nE ---------\nE - very_long_chapter_name_that_exceeds_normal_width_expectations.md 80 13 6.15\nE + very_long_chapter_name_that_exceeds_normal_width_expectations.md 85 15 5.67...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_stats_lang.py:92: in test_lang_french_chapter_label\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in <module>\nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in <genexpr>\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '/workspace/eval/test_resources/test_stats_lang/french.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in <module>\\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in <genexpr>\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncodetests/test_stats_lang.py:241: in test_stats_with_images_excludes_alt_text\n assert result.stdout == (RESOURCES / \"stats_images.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.79\\n' == 'Chapter ... 7.11\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - images_content.md 64 9 7.11...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_stats_lang.py:474: in test_stats_chars_word_ratio_precision\n assert \"6.77\" in output, \"Expected chars/word ratio 6.77 not found\"\nE AssertionError: Expected chars/word ratio 6.77 not found\nE assert '6.77' in 'CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\nchapter1.md 256 43 5.95\\nchapter2.md 148 21 7.05\\nchapter3.md 36 6 6.00\\n---------\\nTOTAL: 440 70 6.29\\n'tests/test_stats_lang.py:578: in test_stats_varied_word_lengths_ratio_precision\n assert result.stdout == (RESOURCES / \"stats_varied.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.55\\n' == 'Chapter ... 7.44\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - varied_lengths.md 67 9 7.44...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_stats_lang.py:673: in test_stats_cjk_characters_word_counting\n assert result.stdout == (RESOURCES / \"stats_cjk.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 9.25\\n' == 'Chapter ... 16.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ---\nE + Chapter Chars Words Chars/Word\nE ---------\nE - cjk_content.md 32 2 16.00...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_stats_lang.py:547: in test_stats_single_character_word\n assert result.stdout == (RESOURCES / \"stats_single_char.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 2.00\\n' == 'Chapter ... 1.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ---\nE + Chapter Chars Words Chars/Word\nE ---------\nE - single_char.md 1 1 1.00...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_stats_lang.py:33: in test_stats_simple_book_exact_counts\n assert result.stdout == (RESOURCES / \"stats_simple.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.95\\n' == 'Chapter ... 6.77\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE Chapter Chars Words Chars/Word\nE ---------\nE - chapter1.md 237 35 6.77\nE + chapter1.md 256 43 5.95\nE ---------...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_stats_lang.py:642: in test_stats_special_characters_word_boundaries\n assert result.stdout == (RESOURCES / \"stats_special_chars.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 7.47\\n' == 'Chapter ... 8.23\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - special_chars.md 107 13 8.23...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_stats_lang.py:657: in test_stats_markdown_syntax_ignored_in_counts\n assert result.stdout == (RESOURCES / \"stats_markdown_formatting.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.62\\n' == 'Chapter ... 7.40\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -----------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - markdown_formatting.md 74 10 7.40...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_stats_lang.py:63: in test_stats_empty_book_nan_handling\n assert result.stdout == (RESOURCES / \"stats_empty.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 0.00\\n' == 'Chapter ... NaN\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? +++\nE ---------\nE - empty.md 0 0 NaN...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_stats_lang.py:78: in test_stats_with_code_blocks_included\n assert result.stdout == (RESOURCES / \"stats_code.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 7.00\\n' == 'Chapter ... 8.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - code_content.md 104 13 8.00...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_stats_lang.py:149: in test_lang_spanish_chapter_label\n assert \"Cap\u00edtulo 1\" in html_content, \"Spanish chapter label not found\"\nE AssertionError: Spanish chapter label not found\nE assert 'Cap\u00edtulo 1' in '<!DOCTYPE html><html lang=\"es\"><head><meta charset=\"utf-8\"><title>Libro Espa\u00f1ol</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test Author</h2><h1 class=\"title\">Libro Espa\u00f1ol</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Cap\u00edtulo Primero</h1><p id=\"para-1\">Este es un contenido de prueba.</p>\\n</div></div></div></body></html>'tests/test_seed.py:90: in test_simple_book_html\n assert \"CROWBOOK\" in result.stderr, \"Should print crowbook banner\"\nE AssertionError: Should print crowbook banner\nE assert 'CROWBOOK' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book', '--to', 'html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderrtests/test_stats_lang.py:626: in test_stats_many_chapters_aggregation\n assert result.stdout == (RESOURCES / \"stats_many_chapters.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.22\\n' == 'Chapter ... 6.94\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE Chapter Chars Words Chars/Word\nE ---------\nE - short.md 2 1 2.00\nE ? ^ ^\nE + short.md 3 1 3.00...\nE \nE ...Full output truncated (15 lines hidden), use '-vv' to showtests/test_stats_lang.py:417: in test_stats_mixed_markdown_elements\n assert result.stdout == (RESOURCES / \"stats_mixed.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.98\\n' == 'Chapter ... 7.81\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - mixed_content.md 242 31 7.81...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_stats_lang.py:287: in test_html_lang_attribute_french\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in <module>\nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in <genexpr>\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '/workspace/eval/test_resources/test_stats_lang/french.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in <module>\\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in <genexpr>\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncodetests/test_stats_lang.py:594: in test_stats_emoji_multibyte_character_counting\n assert result.stdout == (RESOURCES / \"stats_emoji.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 5.50\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ---\nE + Chapter Chars Words Chars/Word\nE ---------\nE - emoji_heavy.md 55 10 5.50...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_stats_lang.py:531: in test_stats_whitespace_only_content_nan_handling\n assert result.stdout == (RESOURCES / \"stats_whitespace.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 0.00\\n' == 'Chapter ... NaN\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - whitespace_only.md 0 0 NaN...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_stats_lang.py:610: in test_stats_mixed_chapter_name_lengths_alignment\n assert result.stdout == (RESOURCES / \"stats_mixed_lengths.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.72\\n' == 'Chapter ... 5.91\\n\\n'\nE \nE - Chapter Chars Words Chars/Word\nE + CROWBOOK 0.17.0\nE + Chapter Chars Words Chars/Word\nE ---------\nE - short.md 2 1 2.00\nE - medium.md 54 9 6.00...\nE \nE ...Full output truncated (8 lines hidden), use '-vv' to showtests/test_stats_lang.py:401: in test_lang_locale_code_format_fr_FR\n assert \"Chapitre 1\" in html_content, \"French chapter label not found for fr_FR locale\"\nE AssertionError: French chapter label not found for fr_FR locale\nE assert 'Chapitre 1' in '<!DOCTYPE html><html lang=\"fr_FR\"><head><meta charset=\"utf-8\"><title>French with Locale</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test Author</h2><h1 class=\"title\">French with Locale</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Test Locale</h1><p id=\"para-1\">Content en fran\u00e7ais.</p>\\n</div></div></div></body></html>'tests/test_stats_lang.py:124: in test_lang_german_chapter_label\n assert \"Kapitel 1\" in html_content, \"German chapter label not found\"\nE AssertionError: German chapter label not found\nE assert 'Kapitel 1' in '<!DOCTYPE html><html lang=\"de\"><head><meta charset=\"utf-8\"><title>Deutsches Buch</title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\">Test Author</h2><h1 class=\"title\">Deutsches Buch</h1><div id=\"chapter-0\" class=\"chapter\">\\n<h1 id=\\'link-1\\'><span class=\"chapter-header\">Chapter 1</span><br />Kapitel Eins</h1><p id=\"para-1\">Dies ist ein Test auf Deutsch.</p>\\n</div></div></div></body></html>'tests/test_stats_lang.py:713: in test_stats_single_letter_chapter_name_column_width\n assert result.stdout == (RESOURCES / \"stats_single_letter_name.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.50\\n' == 'Chapter C... 8.50\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? +++++++\nE ---------\nE - x.md 17 2 8.50...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_stats_lang.py:273: in test_stats_unicode_multibyte_char_counting\n assert result.stdout == (RESOURCES / \"stats_unicode.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.24\\n' == 'Chapter ... 8.45\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - unicode_content.md 93 11 8.45...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_stats_lang.py:730: in test_stats_duplicate_chapter_names_with_paths\n assert result.stdout == (RESOURCES / \"stats_duplicate_names.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.19\\n' == 'Chapter ... 7.10\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - chapter1.md 237 35 6.77...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to showtests/test_stats_lang.py:691: in test_stats_verbose_mode_no_advanced_warning\n assert \"CROWBOOK 0.17.0\" in result.stderr\nE AssertionError: assert 'CROWBOOK 0.17.0' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', '-v', '--stats', '/workspace/eval/test_resources/test_stats_lang/simple.book'], returncode=0, stdout='CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\nchapter1.md 256 43 5.95\\n---------\\nTOTAL: 256 43 5.95\\n', stderr='').stderrtests/test_stats_lang.py:433: in test_stats_single_word_chapter\n assert result.stdout == (RESOURCES / \"stats_minimal.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 4.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? +\nE ---------\nE - minimal.md 4 1 4.00...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_stats_lang.py:562: in test_stats_huge_word_count_formatting\n assert result.stdout == (RESOURCES / \"stats_huge.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 5.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - huge_content.md 49999 10000 5.00...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show", "returncode": 0, "exception_info": "", "branch": "frozen-scaffold-testgen-20260410_095554"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.12977242199997363, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/test-johnby-create_args_tests__claude-4-5-sonnet-genai-20260305_191938", "wall_time": 0.055592668000031153, "output": "Removing eval/.pytest_cache/\nRemoving eval/tests/__pycache__/\nPrevious HEAD position was d97b57c State update (completions=22)\nHEAD is now at 62addb0 create-tests result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04597069400000464, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04758586200000536, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.04606515500000796, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04457029100001364, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.753794909000021, "output": "Installing pytest dependencies...\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [85 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_argument_parsing.py::TestBasicExecution::test_no_arguments_shows_error \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_force_emoji_flag_variants[-f] \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_no_fancy_flag_variants[-n] \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_single_flag_variants[-s] \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-odt] \neval/tests/test_argument_parsing.py::TestValueTakingFlags::test_output_flag_missing_value[-o] \neval/tests/test_argument_parsing.py::TestUnknownFlags::test_unknown_short_flag \neval/tests/test_argument_parsing.py::TestSetFlag::test_set_flag_no_values \neval/tests/test_argument_parsing.py::TestFlagCombinations::test_combined_short_flags_valid \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_single_flag_variants[--single] \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_force_emoji_flag_variants[--force-emoji] \neval/tests/test_argument_parsing.py::TestValueTakingFlags::test_print_template_flag_missing_value \neval/tests/test_argument_parsing.py::TestFlagCombinations::test_combined_short_flags_invalid \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-html.dir] \neval/tests/test_argument_parsing.py::TestCreateFlag::test_create_flag_single_file \neval/tests/test_argument_parsing.py::TestSetFlag::test_set_flag_two_values \neval/tests/test_argument_parsing.py::TestOutputAndToRequirements::test_output_requires_to \neval/tests/test_argument_parsing.py::TestEdgeCaseArguments::test_negative_sign_as_value \neval/tests/test_argument_parsing.py::TestCreateFlag::test_create_flag_multiple_files \neval/tests/test_argument_parsing.py::TestSetFlag::test_set_flag_one_value \neval/tests/test_argument_parsing.py::TestEdgeCaseArguments::test_equals_in_long_flag \neval/tests/test_argument_parsing.py::TestOutputAndToRequirements::test_to_without_output \neval/tests/test_argument_parsing.py::TestSingleFlag::test_single_flag_without_file \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-pdf] \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_verbose_flag_variants[-v] \neval/tests/test_argument_parsing.py::TestMultiplePositionalArguments::test_two_positional_arguments_error \neval/tests/test_argument_parsing.py::TestOutputFlag::test_output_flag_with_value[-o-output.html] \neval/tests/test_argument_parsing.py::TestValueTakingFlags::test_to_flag_missing_value[-t] \neval/tests/test_argument_parsing.py::TestPositionalArguments::test_book_file_before_flags \neval/tests/test_argument_parsing.py::TestSpecialCharactersInValues::test_output_with_special_chars \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_shows_possible_values \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-tex] \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_quiet_flag_variants[--quiet] \neval/tests/test_argument_parsing.py::TestOutputFlag::test_output_flag_with_value[--output=output.html-None] \neval/tests/test_argument_parsing.py::TestVersionFlag::test_version_short_flag \neval/tests/test_argument_parsing.py::TestLangFlag::test_lang_flag_with_values[--lang-en] \neval/tests/test_argument_parsing.py::TestUnknownFlags::test_unknown_long_flag \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_stats_flag_variants[--stats] \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_autograph_flag_variants[--autograph] \neval/tests/test_argument_parsing.py::TestBasicExecution::test_nonexistent_file_shows_error \neval/tests/test_argument_parsing.py::TestLangFlag::test_lang_flag_with_values[--lang-de] \neval/tests/test_argument_parsing.py::TestPositionalArguments::test_book_file_after_flags \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_quiet_flag_variants[-q] \neval/tests/test_argument_parsing.py::TestSpecialCharactersInValues::test_output_with_spaces \neval/tests/test_argument_parsing.py::TestEmptyValues::test_output_empty_string \neval/tests/test_argument_parsing.py::TestValueTakingFlags::test_output_flag_missing_value[--output] \neval/tests/test_argument_parsing.py::TestMultipleFlagOccurrences::test_multiple_output_flags \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[--to-epub] \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_list_options_flag_variants[--list-options] \neval/tests/test_argument_parsing.py::TestFlagCombinations::test_verbose_and_quiet_long_flags_conflict \neval/tests/test_argument_parsing.py::TestValueTakingFlags::test_create_flag_missing_value[-c] \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[--to-html] \neval/tests/test_argument_parsing.py::TestVersionFlag::test_version_long_flag \neval/tests/test_argument_parsing.py::TestLangFlag::test_lang_flag_with_values[-L-fr] \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_autograph_flag_variants[-a] \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[--to=html-None] \neval/tests/test_argument_parsing.py::TestSetFlagMultipleValues::test_set_multiple_pairs \neval/tests/test_argument_parsing.py::TestLangFlag::test_lang_flag_with_values[-L-en] \neval/tests/test_argument_parsing.py::TestEdgeCaseArguments::test_equals_in_short_flag_invalid \neval/tests/test_argument_parsing.py::TestValueTakingFlags::test_create_flag_missing_value[--create] \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_no_fancy_flag_variants[--no-fancy] \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_invalid_format \neval/tests/test_argument_parsing.py::TestValueTakingFlags::test_lang_flag_missing_value[-L] \neval/tests/test_argument_parsing.py::TestVerboseWithOtherFlags::test_verbose_with_list_options \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[--to-pdf] \neval/tests/test_argument_parsing.py::TestFlagCombinations::test_verbose_and_quiet_conflict \neval/tests/test_argument_parsing.py::TestOutputAndToRequirements::test_output_and_to_together \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_verbose_flag_variants[--verbose] \neval/tests/test_argument_parsing.py::TestMultipleFlagOccurrences::test_multiple_to_flags \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_stats_flag_variants[-S] \neval/tests/test_argument_parsing.py::TestOutputFlag::test_output_flag_with_value[--output-output.html] \neval/tests/test_argument_parsing.py::TestDoubleHyphenSeparator::test_double_hyphen_alone \neval/tests/test_argument_parsing.py::TestValueTakingFlags::test_lang_flag_missing_value[--lang] \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-epub] \neval/tests/test_argument_parsing.py::TestVerboseWithOtherFlags::test_verbose_with_version \neval/tests/test_argument_parsing.py::TestCreateAndSingleCombination::test_create_and_single_together \neval/tests/test_argument_parsing.py::TestValueTakingFlags::test_to_flag_missing_value[--to] \neval/tests/test_argument_parsing.py::TestFlagCombinations::test_quiet_and_verbose_conflict \neval/tests/test_argument_parsing.py::TestBooleanFlags::test_list_options_flag_variants[-l] \neval/tests/test_argument_parsing.py::TestUnknownFlags::test_typo_in_flag \neval/tests/test_argument_parsing.py::TestDoubleHyphenSeparator::test_double_hyphen_with_flag_like_argument \neval/tests/test_argument_parsing.py::TestSingleFlag::test_single_flag_with_markdown \neval/tests/test_argument_parsing.py::TestMultiplePositionalArguments::test_three_positional_arguments_error \neval/tests/test_argument_parsing.py::TestEmptyValues::test_lang_empty_string \n[gw69] [ 1%] PASSED eval/tests/test_argument_parsing.py::TestLangFlag::test_lang_flag_with_values[--lang-de] \n[gw75] [ 2%] PASSED eval/tests/test_argument_parsing.py::TestEmptyValues::test_lang_empty_string \neval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-html] \n[gw41] [ 3%] PASSED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[--to-epub] \n[gw15] [ 4%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_single_flag_variants[-s] \n[gw17] [ 5%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_force_emoji_flag_variants[-f] \n[gw10] [ 7%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_quiet_flag_variants[--quiet] \n[gw16] [ 8%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_single_flag_variants[--single] \n[gw66] [ 9%] PASSED eval/tests/test_argument_parsing.py::TestLangFlag::test_lang_flag_with_values[-L-en] \n[gw18] [ 10%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_force_emoji_flag_variants[--force-emoji] \n[gw39] [ 11%] PASSED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-odt] \n[gw74] [ 12%] PASSED eval/tests/test_argument_parsing.py::TestEmptyValues::test_output_empty_string \n[gw3] [ 14%] PASSED eval/tests/test_argument_parsing.py::TestVersionFlag::test_version_short_flag \n[gw80] [ 15%] PASSED eval/tests/test_argument_parsing.py::TestEdgeCaseArguments::test_negative_sign_as_value \n[gw36] [ 16%] PASSED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-pdf] \n[gw11] [ 17%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_no_fancy_flag_variants[-n] \n[gw68] [ 18%] PASSED eval/tests/test_argument_parsing.py::TestLangFlag::test_lang_flag_with_values[--lang-en] \n[gw14] [ 20%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_autograph_flag_variants[--autograph] \n[gw35] [ 21%] PASSED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-epub] \n[gw21] [ 22%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_list_options_flag_variants[-l] \n[gw12] [ 23%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_no_fancy_flag_variants[--no-fancy] \n[gw64] [ 24%] PASSED eval/tests/test_argument_parsing.py::TestSingleFlag::test_single_flag_with_markdown \n[gw2] [ 25%] PASSED eval/tests/test_argument_parsing.py::TestVersionFlag::test_version_long_flag \n[gw50] [ 27%] PASSED eval/tests/test_argument_parsing.py::TestCreateFlag::test_create_flag_single_file \n[gw70] [ 28%] PASSED eval/tests/test_argument_parsing.py::TestMultipleFlagOccurrences::test_multiple_to_flags \n[gw40] [ 29%] PASSED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-html.dir] \n[gw43] [ 30%] PASSED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[--to-html] \n[gw42] [ 31%] PASSED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[--to-pdf] \n[gw65] [ 32%] PASSED eval/tests/test_argument_parsing.py::TestSingleFlag::test_single_flag_without_file \n[gw44] [ 34%] PASSED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[--to=html-None] \n[gw51] [ 35%] PASSED eval/tests/test_argument_parsing.py::TestCreateFlag::test_create_flag_multiple_files \n[gw20] [ 36%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_stats_flag_variants[--stats] \n[gw38] [ 37%] PASSED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-tex] \n[gw79] [ 38%] PASSED eval/tests/test_argument_parsing.py::TestSetFlagMultipleValues::test_set_multiple_pairs \n[gw22] [ 40%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_list_options_flag_variants[--list-options] \n[gw49] [ 41%] PASSED eval/tests/test_argument_parsing.py::TestSetFlag::test_set_flag_two_values \n[gw9] [ 42%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_quiet_flag_variants[-q] \n[gw76] [ 43%] PASSED eval/tests/test_argument_parsing.py::TestCreateAndSingleCombination::test_create_and_single_together \n[gw37] [ 44%] PASSED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_valid_formats[-t-html] \n[gw78] [ 45%] PASSED eval/tests/test_argument_parsing.py::TestVerboseWithOtherFlags::test_verbose_with_version \n[gw55] [ 47%] PASSED eval/tests/test_argument_parsing.py::TestFlagCombinations::test_combined_short_flags_valid \n[gw19] [ 48%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_stats_flag_variants[-S] \n[gw82] [ 49%] PASSED eval/tests/test_argument_parsing.py::TestEdgeCaseArguments::test_equals_in_short_flag_invalid \n[gw13] [ 50%] PASSED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_autograph_flag_variants[-a] \n[gw77] [ 51%] PASSED eval/tests/test_argument_parsing.py::TestVerboseWithOtherFlags::test_verbose_with_list_options \n[gw71] [ 52%] PASSED eval/tests/test_argument_parsing.py::TestMultipleFlagOccurrences::test_multiple_output_flags \n[gw67] [ 54%] PASSED eval/tests/test_argument_parsing.py::TestLangFlag::test_lang_flag_with_values[-L-fr] \n[gw83] [ 55%] FAILED eval/tests/test_argument_parsing.py::TestMultiplePositionalArguments::test_two_positional_arguments_error \n[gw27] [ 56%] FAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_lang_flag_missing_value[-L] \n[gw0] [ 57%] FAILED eval/tests/test_argument_parsing.py::TestBasicExecution::test_no_arguments_shows_error \n[gw48] [ 58%] FAILED eval/tests/test_argument_parsing.py::TestSetFlag::test_set_flag_one_value \n[gw8] [ 60%] FAILED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_verbose_flag_variants[--verbose] \n[gw63] [ 61%] FAILED eval/tests/test_argument_parsing.py::TestPositionalArguments::test_book_file_before_flags \n[gw34] [ 62%] FAILED eval/tests/test_argument_parsing.py::TestOutputFlag::test_output_flag_with_value[--output=output.html-None] \n[gw54] [ 63%] FAILED eval/tests/test_argument_parsing.py::TestFlagCombinations::test_verbose_and_quiet_long_flags_conflict \n[gw24] [ 64%] FAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_output_flag_missing_value[--output] \n[gw52] [ 65%] FAILED eval/tests/test_argument_parsing.py::TestFlagCombinations::test_verbose_and_quiet_conflict \n[gw26] [ 67%] FAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_to_flag_missing_value[--to] \n[gw4] [ 68%] FAILED eval/tests/test_argument_parsing.py::TestUnknownFlags::test_unknown_long_flag \n[gw7] [ 69%] FAILED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_verbose_flag_variants[-v] \n[gw81] [ 70%] FAILED eval/tests/test_argument_parsing.py::TestEdgeCaseArguments::test_equals_in_long_flag \n[gw6] [ 71%] FAILED eval/tests/test_argument_parsing.py::TestUnknownFlags::test_typo_in_flag \n[gw31] [ 72%] FAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_print_template_flag_missing_value \n[gw56] [ 74%] FAILED eval/tests/test_argument_parsing.py::TestFlagCombinations::test_combined_short_flags_invalid \n[gw46] [ 75%] FAILED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_shows_possible_values \n[gw5] [ 76%] FAILED eval/tests/test_argument_parsing.py::TestUnknownFlags::test_unknown_short_flag \n[gw73] [ 77%] FAILED eval/tests/test_argument_parsing.py::TestSpecialCharactersInValues::test_output_with_special_chars \n[gw62] [ 78%] FAILED eval/tests/test_argument_parsing.py::TestPositionalArguments::test_book_file_after_flags \n[gw32] [ 80%] FAILED eval/tests/test_argument_parsing.py::TestOutputFlag::test_output_flag_with_value[-o-output.html] \n[gw25] [ 81%] FAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_to_flag_missing_value[-t] \n[gw72] [ 82%] FAILED eval/tests/test_argument_parsing.py::TestSpecialCharactersInValues::test_output_with_spaces \n[gw1] [ 83%] FAILED eval/tests/test_argument_parsing.py::TestBasicExecution::test_nonexistent_file_shows_error \n[gw58] [ 84%] FAILED eval/tests/test_argument_parsing.py::TestOutputAndToRequirements::test_to_without_output \n[gw61] [ 85%] FAILED eval/tests/test_argument_parsing.py::TestDoubleHyphenSeparator::test_double_hyphen_with_flag_like_argument \n[gw28] [ 87%] FAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_lang_flag_missing_value[--lang] \n[gw53] [ 88%] FAILED eval/tests/test_argument_parsing.py::TestFlagCombinations::test_quiet_and_verbose_conflict \n[gw23] [ 89%] FAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_output_flag_missing_value[-o] \n[gw59] [ 90%] FAILED eval/tests/test_argument_parsing.py::TestOutputAndToRequirements::test_output_and_to_together \n[gw60] [ 91%] FAILED eval/tests/test_argument_parsing.py::TestDoubleHyphenSeparator::test_double_hyphen_alone \n[gw57] [ 92%] FAILED eval/tests/test_argument_parsing.py::TestOutputAndToRequirements::test_output_requires_to \n[gw47] [ 94%] FAILED eval/tests/test_argument_parsing.py::TestSetFlag::test_set_flag_no_values \n[gw30] [ 95%] FAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_create_flag_missing_value[--create] \n[gw45] [ 96%] FAILED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_invalid_format \n[gw33] [ 97%] FAILED eval/tests/test_argument_parsing.py::TestOutputFlag::test_output_flag_with_value[--output-output.html] \n[gw84] [ 98%] FAILED eval/tests/test_argument_parsing.py::TestMultiplePositionalArguments::test_three_positional_arguments_error \n[gw29] [100%] FAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_create_flag_missing_value[-c] \n\n=================================== FAILURES ===================================\n_____ TestMultiplePositionalArguments.test_two_positional_arguments_error ______\n[gw83] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_two_positional_arguments_error(self):\n \"\"\"Multiple positional arguments should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"book1.md\", \"book2.md\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined.lower()\nE AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:607: AssertionError\n____________ TestValueTakingFlags.test_lang_flag_missing_value[-L] _____________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '-L'\n\n @pytest.mark.parametrize(\"flag\", [\"-L\", \"--lang\"])\n def test_lang_flag_missing_value(self, flag):\n \"\"\"Lang flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:188: AssertionError\n_______________ TestBasicExecution.test_no_arguments_shows_error _______________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_no_arguments_shows_error(self):\n \"\"\"Running without arguments should show an error.\"\"\"\n stdout, stderr, returncode = run_executable()\n combined = stdout + stderr\n> assert \"You must pass the name of a book configuration file\" in combined\nE AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:42: AssertionError\n_____________________ TestSetFlag.test_set_flag_one_value ______________________\n[gw48] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_set_flag_one_value(self):\n \"\"\"--set with only one value should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--set\", \"key\")\n combined = stdout + stderr\n> assert \"2 values required\" in combined or \"only 1 was provided\" in combined\nE AssertionError: assert ('2 values required' in 'CROWBOOK 0.17.0\\n' or 'only 1 was provided' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:286: AssertionError\n____________ TestBooleanFlags.test_verbose_flag_variants[--verbose] ____________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '--verbose'\n\n @pytest.mark.parametrize(\"flag\", [\"-v\", \"--verbose\"])\n def test_verbose_flag_variants(self, flag):\n \"\"\"Test verbose flag variants.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n # Should still require book file\n> assert \"You must pass the name of a book configuration file\" in combined\nE AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:109: AssertionError\n_____________ TestPositionalArguments.test_book_file_before_flags ______________\n[gw63] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_book_file_before_flags(self):\n \"\"\"Book file can be specified before flags.\"\"\"\n stdout, stderr, returncode = run_executable(\"nonexistent.book\", \"-v\")\n combined = stdout + stderr\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:424: AssertionError\n____ TestOutputFlag.test_output_flag_with_value[--output=output.html-None] _____\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '--output=output.html', value = None\n\n @pytest.mark.parametrize(\"flag,value\", [\n (\"-o\", \"output.html\"),\n (\"--output\", \"output.html\"),\n (\"--output=output.html\", None),\n ])\n def test_output_flag_with_value(self, flag, value):\n \"\"\"Output flag with value should be accepted (but requires --to).\"\"\"\n if value:\n stdout, stderr, returncode = run_executable(flag, value)\n else:\n stdout, stderr, returncode = run_executable(flag)\n \n combined = stdout + stderr\n # Should complain about missing --to\n> assert \"--to\" in combined or \"You must pass\" in combined\nE AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:224: AssertionError\n_______ TestFlagCombinations.test_verbose_and_quiet_long_flags_conflict ________\n[gw54] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_verbose_and_quiet_long_flags_conflict(self):\n \"\"\"--verbose and --quiet (long forms) should conflict.\"\"\"\n stdout, stderr, returncode = run_executable(\"--verbose\", \"--quiet\")\n combined = stdout + stderr\n> assert \"cannot be used with\" in combined or \"conflict\" in combined.lower()\nE AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:340: AssertionError\n________ TestValueTakingFlags.test_output_flag_missing_value[--output] _________\n[gw24] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '--output'\n\n @pytest.mark.parametrize(\"flag\", [\"-o\", \"--output\"])\n def test_output_flag_missing_value(self, flag):\n \"\"\"Output flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\nE + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\n\neval/tests/test_argument_parsing.py:172: AssertionError\n_____________ TestFlagCombinations.test_verbose_and_quiet_conflict _____________\n[gw52] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_verbose_and_quiet_conflict(self):\n \"\"\"--verbose and --quiet should conflict.\"\"\"\n stdout, stderr, returncode = run_executable(\"-v\", \"-q\")\n combined = stdout + stderr\n> assert \"cannot be used with\" in combined or \"conflict\" in combined.lower()\nE AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:326: AssertionError\n____________ TestValueTakingFlags.test_to_flag_missing_value[--to] _____________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '--to'\n\n @pytest.mark.parametrize(\"flag\", [\"-t\", \"--to\"])\n def test_to_flag_missing_value(self, flag):\n \"\"\"To flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:180: AssertionError\n___________________ TestUnknownFlags.test_unknown_long_flag ____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_unknown_long_flag(self):\n \"\"\"Unknown long flag should produce error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--unknown-flag\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined or \"unrecognized\" in combined.lower()\nE AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:81: AssertionError\n_______________ TestBooleanFlags.test_verbose_flag_variants[-v] ________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '-v'\n\n @pytest.mark.parametrize(\"flag\", [\"-v\", \"--verbose\"])\n def test_verbose_flag_variants(self, flag):\n \"\"\"Test verbose flag variants.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n # Should still require book file\n> assert \"You must pass the name of a book configuration file\" in combined\nE AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:109: AssertionError\n________________ TestEdgeCaseArguments.test_equals_in_long_flag ________________\n[gw81] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_equals_in_long_flag(self):\n \"\"\"Long flag with equals sign.\"\"\"\n stdout, stderr, returncode = run_executable(\"--to=html\")\n combined = stdout + stderr\n # Should parse correctly\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:589: AssertionError\n______________________ TestUnknownFlags.test_typo_in_flag ______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_typo_in_flag(self):\n \"\"\"Typo in flag name should produce error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--verbos\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined or \"unrecognized\" in combined.lower()\nE AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:96: AssertionError\n_________ TestValueTakingFlags.test_print_template_flag_missing_value __________\n[gw31] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_print_template_flag_missing_value(self):\n \"\"\"Print-template flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--print-template\")\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:203: AssertionError\n____________ TestFlagCombinations.test_combined_short_flags_invalid ____________\n[gw56] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_combined_short_flags_invalid(self):\n \"\"\"Invalid combined short flags should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"-abc\")\n combined = stdout + stderr\n # -a is valid (autograph), but -b is not\n> assert \"unexpected argument\" in combined.lower()\nE AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:356: AssertionError\n________________ TestToFlag.test_to_flag_shows_possible_values _________________\n[gw46] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_to_flag_shows_possible_values(self):\n \"\"\"Error for invalid --to should show possible values.\"\"\"\n stdout, stderr, returncode = run_executable(\"-t\", \"invalid\")\n combined = stdout + stderr\n> assert \"possible values\" in combined.lower()\nE AssertionError: assert 'possible values' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:267: AssertionError\n___________________ TestUnknownFlags.test_unknown_short_flag ___________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_unknown_short_flag(self):\n \"\"\"Unknown short flag should produce error.\"\"\"\n stdout, stderr, returncode = run_executable(\"-z\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined or \"unrecognized\" in combined.lower()\nE AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:89: AssertionError\n_________ TestSpecialCharactersInValues.test_output_with_special_chars _________\n[gw73] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_output_with_special_chars(self):\n \"\"\"Output file with special characters.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"file@#$.html\", \"-t\", \"html\")\n combined = stdout + stderr\n # Should accept filename with special chars\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:508: AssertionError\n______________ TestPositionalArguments.test_book_file_after_flags ______________\n[gw62] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_book_file_after_flags(self):\n \"\"\"Book file can be specified after flags.\"\"\"\n stdout, stderr, returncode = run_executable(\"-v\", \"nonexistent.book\")\n combined = stdout + stderr\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:416: AssertionError\n__________ TestOutputFlag.test_output_flag_with_value[-o-output.html] __________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '-o', value = 'output.html'\n\n @pytest.mark.parametrize(\"flag,value\", [\n (\"-o\", \"output.html\"),\n (\"--output\", \"output.html\"),\n (\"--output=output.html\", None),\n ])\n def test_output_flag_with_value(self, flag, value):\n \"\"\"Output flag with value should be accepted (but requires --to).\"\"\"\n if value:\n stdout, stderr, returncode = run_executable(flag, value)\n else:\n stdout, stderr, returncode = run_executable(flag)\n \n combined = stdout + stderr\n # Should complain about missing --to\n> assert \"--to\" in combined or \"You must pass\" in combined\nE AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:224: AssertionError\n_____________ TestValueTakingFlags.test_to_flag_missing_value[-t] ______________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '-t'\n\n @pytest.mark.parametrize(\"flag\", [\"-t\", \"--to\"])\n def test_to_flag_missing_value(self, flag):\n \"\"\"To flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:180: AssertionError\n____________ TestSpecialCharactersInValues.test_output_with_spaces _____________\n[gw72] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_output_with_spaces(self):\n \"\"\"Output file with spaces in name.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"my file.html\", \"-t\", \"html\")\n combined = stdout + stderr\n # Should accept filename with spaces\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:500: AssertionError\n_____________ TestBasicExecution.test_nonexistent_file_shows_error _____________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_nonexistent_file_shows_error(self):\n \"\"\"Running with nonexistent file should show an error.\"\"\"\n stdout, stderr, returncode = run_executable(\"nonexistent.book\")\n combined = stdout + stderr\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:49: AssertionError\n______________ TestOutputAndToRequirements.test_to_without_output ______________\n[gw58] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_to_without_output(self):\n \"\"\"--to flag can be used without --output.\"\"\"\n stdout, stderr, returncode = run_executable(\"-t\", \"html\")\n combined = stdout + stderr\n # Should complain about missing book, not about missing output\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:376: AssertionError\n_____ TestDoubleHyphenSeparator.test_double_hyphen_with_flag_like_argument _____\n[gw61] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_double_hyphen_with_flag_like_argument(self):\n \"\"\"Arguments after -- should be treated as positional.\"\"\"\n stdout, stderr, returncode = run_executable(\"--\", \"--verbose\")\n combined = stdout + stderr\n # Should treat --verbose as filename\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:404: AssertionError\n__________ TestValueTakingFlags.test_lang_flag_missing_value[--lang] ___________\n[gw28] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '--lang'\n\n @pytest.mark.parametrize(\"flag\", [\"-L\", \"--lang\"])\n def test_lang_flag_missing_value(self, flag):\n \"\"\"Lang flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:188: AssertionError\n_____________ TestFlagCombinations.test_quiet_and_verbose_conflict _____________\n[gw53] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_quiet_and_verbose_conflict(self):\n \"\"\"--quiet and --verbose should conflict (reversed order).\"\"\"\n stdout, stderr, returncode = run_executable(\"-q\", \"-v\")\n combined = stdout + stderr\n> assert \"cannot be used with\" in combined or \"conflict\" in combined.lower()\nE AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:333: AssertionError\n___________ TestValueTakingFlags.test_output_flag_missing_value[-o] ____________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '-o'\n\n @pytest.mark.parametrize(\"flag\", [\"-o\", \"--output\"])\n def test_output_flag_missing_value(self, flag):\n \"\"\"Output flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\nE + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\n\neval/tests/test_argument_parsing.py:172: AssertionError\n___________ TestOutputAndToRequirements.test_output_and_to_together ____________\n[gw59] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_output_and_to_together(self):\n \"\"\"--output and --to together should work.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"test.html\", \"-t\", \"html\")\n combined = stdout + stderr\n # Should complain about missing book file only\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:384: AssertionError\n______________ TestDoubleHyphenSeparator.test_double_hyphen_alone ______________\n[gw60] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_double_hyphen_alone(self):\n \"\"\"Double hyphen alone should still require book file.\"\"\"\n stdout, stderr, returncode = run_executable(\"--\")\n combined = stdout + stderr\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:396: AssertionError\n_____________ TestOutputAndToRequirements.test_output_requires_to ______________\n[gw57] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_output_requires_to(self):\n \"\"\"--output flag requires --to flag.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"test.html\")\n combined = stdout + stderr\n> assert \"--to\" in combined\nE AssertionError: assert '--to' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:367: AssertionError\n_____________________ TestSetFlag.test_set_flag_no_values ______________________\n[gw47] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_set_flag_no_values(self):\n \"\"\"--set without values should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--set\")\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n' = ()\nE + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n'.lower\n\neval/tests/test_argument_parsing.py:279: AssertionError\n________ TestValueTakingFlags.test_create_flag_missing_value[--create] _________\n[gw30] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '--create'\n\n @pytest.mark.parametrize(\"flag\", [\"-c\", \"--create\"])\n def test_create_flag_missing_value(self, flag):\n \"\"\"Create flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE assert ('value is required' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n' or 'requires' in 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n')\nE + where 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'.lower\n\neval/tests/test_argument_parsing.py:196: AssertionError\n____________________ TestToFlag.test_to_flag_invalid_format ____________________\n[gw45] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_to_flag_invalid_format(self):\n \"\"\"--to flag with invalid format should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"-t\", \"invalid\")\n combined = stdout + stderr\n> assert \"invalid value\" in combined.lower()\nE AssertionError: assert 'invalid value' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:259: AssertionError\n_______ TestOutputFlag.test_output_flag_with_value[--output-output.html] _______\n[gw33] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '--output', value = 'output.html'\n\n @pytest.mark.parametrize(\"flag,value\", [\n (\"-o\", \"output.html\"),\n (\"--output\", \"output.html\"),\n (\"--output=output.html\", None),\n ])\n def test_output_flag_with_value(self, flag, value):\n \"\"\"Output flag with value should be accepted (but requires --to).\"\"\"\n if value:\n stdout, stderr, returncode = run_executable(flag, value)\n else:\n stdout, stderr, returncode = run_executable(flag)\n \n combined = stdout + stderr\n # Should complain about missing --to\n> assert \"--to\" in combined or \"You must pass\" in combined\nE AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:224: AssertionError\n____ TestMultiplePositionalArguments.test_three_positional_arguments_error _____\n[gw84] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_three_positional_arguments_error(self):\n \"\"\"Three positional arguments should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"book1.md\", \"book2.md\", \"book3.md\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined.lower()\nE AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:614: AssertionError\n___________ TestValueTakingFlags.test_create_flag_missing_value[-c] ____________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \nflag = '-c'\n\n @pytest.mark.parametrize(\"flag\", [\"-c\", \"--create\"])\n def test_create_flag_missing_value(self, flag):\n \"\"\"Create flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE assert ('value is required' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n' or 'requires' in 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n')\nE + where 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'.lower\n\neval/tests/test_argument_parsing.py:196: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_argument_parsing.py::TestMultiplePositionalArguments::test_two_positional_arguments_error\nFAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_lang_flag_missing_value[-L]\nFAILED eval/tests/test_argument_parsing.py::TestBasicExecution::test_no_arguments_shows_error\nFAILED eval/tests/test_argument_parsing.py::TestSetFlag::test_set_flag_one_value\nFAILED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_verbose_flag_variants[--verbose]\nFAILED eval/tests/test_argument_parsing.py::TestPositionalArguments::test_book_file_before_flags\nFAILED eval/tests/test_argument_parsing.py::TestOutputFlag::test_output_flag_with_value[--output=output.html-None]\nFAILED eval/tests/test_argument_parsing.py::TestFlagCombinations::test_verbose_and_quiet_long_flags_conflict\nFAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_output_flag_missing_value[--output]\nFAILED eval/tests/test_argument_parsing.py::TestFlagCombinations::test_verbose_and_quiet_conflict\nFAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_to_flag_missing_value[--to]\nFAILED eval/tests/test_argument_parsing.py::TestUnknownFlags::test_unknown_long_flag\nFAILED eval/tests/test_argument_parsing.py::TestBooleanFlags::test_verbose_flag_variants[-v]\nFAILED eval/tests/test_argument_parsing.py::TestEdgeCaseArguments::test_equals_in_long_flag\nFAILED eval/tests/test_argument_parsing.py::TestUnknownFlags::test_typo_in_flag\nFAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_print_template_flag_missing_value\nFAILED eval/tests/test_argument_parsing.py::TestFlagCombinations::test_combined_short_flags_invalid\nFAILED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_shows_possible_values\nFAILED eval/tests/test_argument_parsing.py::TestUnknownFlags::test_unknown_short_flag\nFAILED eval/tests/test_argument_parsing.py::TestSpecialCharactersInValues::test_output_with_special_chars\nFAILED eval/tests/test_argument_parsing.py::TestPositionalArguments::test_book_file_after_flags\nFAILED eval/tests/test_argument_parsing.py::TestOutputFlag::test_output_flag_with_value[-o-output.html]\nFAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_to_flag_missing_value[-t]\nFAILED eval/tests/test_argument_parsing.py::TestSpecialCharactersInValues::test_output_with_spaces\nFAILED eval/tests/test_argument_parsing.py::TestBasicExecution::test_nonexistent_file_shows_error\nFAILED eval/tests/test_argument_parsing.py::TestOutputAndToRequirements::test_to_without_output\nFAILED eval/tests/test_argument_parsing.py::TestDoubleHyphenSeparator::test_double_hyphen_with_flag_like_argument\nFAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_lang_flag_missing_value[--lang]\nFAILED eval/tests/test_argument_parsing.py::TestFlagCombinations::test_quiet_and_verbose_conflict\nFAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_output_flag_missing_value[-o]\nFAILED eval/tests/test_argument_parsing.py::TestOutputAndToRequirements::test_output_and_to_together\nFAILED eval/tests/test_argument_parsing.py::TestDoubleHyphenSeparator::test_double_hyphen_alone\nFAILED eval/tests/test_argument_parsing.py::TestOutputAndToRequirements::test_output_requires_to\nFAILED eval/tests/test_argument_parsing.py::TestSetFlag::test_set_flag_no_values\nFAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_create_flag_missing_value[--create]\nFAILED eval/tests/test_argument_parsing.py::TestToFlag::test_to_flag_invalid_format\nFAILED eval/tests/test_argument_parsing.py::TestOutputFlag::test_output_flag_with_value[--output-output.html]\nFAILED eval/tests/test_argument_parsing.py::TestMultiplePositionalArguments::test_three_positional_arguments_error\nFAILED eval/tests/test_argument_parsing.py::TestValueTakingFlags::test_create_flag_missing_value[-c]\n======================== 39 failed, 46 passed in 4.13s =========================\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.1548194879999869, "output": "self = <test_argument_parsing.TestSetFlag object at 0x7f7779131930>\n\n def test_set_flag_no_values(self):\n \"\"\"--set without values should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--set\")\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n' = <built-in method lower of str object at 0x7f7779191030>()\nE + where <built-in method lower of str object at 0x7f7779191030> = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n'.lower\n\neval/tests/test_argument_parsing.py:279: AssertionErrorself = <test_argument_parsing.TestValueTakingFlags object at 0x7f94a960ca90>\n\n def test_print_template_flag_missing_value(self):\n \"\"\"Print-template flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--print-template\")\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7f94a96d7aa0>()\nE + where <built-in method lower of str object at 0x7f94a96d7aa0> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:203: AssertionErrorself = <test_argument_parsing.TestFlagCombinations object at 0x7fc21b3ad2d0>\n\n def test_combined_short_flags_invalid(self):\n \"\"\"Invalid combined short flags should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"-abc\")\n combined = stdout + stderr\n # -a is valid (autograph), but -b is not\n> assert \"unexpected argument\" in combined.lower()\nE AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7fc21b473be0>()\nE + where <built-in method lower of str object at 0x7fc21b473be0> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:356: AssertionErrorself = <test_argument_parsing.TestOutputAndToRequirements object at 0x7f5fa4fc1690>\n\n def test_output_requires_to(self):\n \"\"\"--output flag requires --to flag.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"test.html\")\n combined = stdout + stderr\n> assert \"--to\" in combined\nE AssertionError: assert '--to' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:367: AssertionErrorself = <test_argument_parsing.TestSetFlag object at 0x7fdf9ac1b490>\n\n def test_set_flag_one_value(self):\n \"\"\"--set with only one value should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--set\", \"key\")\n combined = stdout + stderr\n> assert \"2 values required\" in combined or \"only 1 was provided\" in combined\nE AssertionError: assert ('2 values required' in 'CROWBOOK 0.17.0\\n' or 'only 1 was provided' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:286: AssertionErrorself = <test_argument_parsing.TestEdgeCaseArguments object at 0x7fdd76c1e1d0>\n\n def test_equals_in_long_flag(self):\n \"\"\"Long flag with equals sign.\"\"\"\n stdout, stderr, returncode = run_executable(\"--to=html\")\n combined = stdout + stderr\n # Should parse correctly\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:589: AssertionErrorself = <test_argument_parsing.TestOutputAndToRequirements object at 0x7f4858a06440>\n\n def test_to_without_output(self):\n \"\"\"--to flag can be used without --output.\"\"\"\n stdout, stderr, returncode = run_executable(\"-t\", \"html\")\n combined = stdout + stderr\n # Should complain about missing book, not about missing output\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:376: AssertionErrorself = <test_argument_parsing.TestBasicExecution object at 0x7fc40c3517e0>\n\n def test_no_arguments_shows_error(self):\n \"\"\"Running without arguments should show an error.\"\"\"\n stdout, stderr, returncode = run_executable()\n combined = stdout + stderr\n> assert \"You must pass the name of a book configuration file\" in combined\nE AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:42: AssertionErrorself = <test_argument_parsing.TestBooleanFlags object at 0x7f95ad7e5cf0>\nflag = '-v'\n\n @pytest.mark.parametrize(\"flag\", [\"-v\", \"--verbose\"])\n def test_verbose_flag_variants(self, flag):\n \"\"\"Test verbose flag variants.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n # Should still require book file\n> assert \"You must pass the name of a book configuration file\" in combined\nE AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:109: AssertionErrorself = <test_argument_parsing.TestUnknownFlags object at 0x7fb0fb21ea70>\n\n def test_unknown_short_flag(self):\n \"\"\"Unknown short flag should produce error.\"\"\"\n stdout, stderr, returncode = run_executable(\"-z\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined or \"unrecognized\" in combined.lower()\nE AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7fb0fb2ffb40>()\nE + where <built-in method lower of str object at 0x7fb0fb2ffb40> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:89: AssertionErrorself = <test_argument_parsing.TestMultiplePositionalArguments object at 0x7fac6e5195a0>\n\n def test_two_positional_arguments_error(self):\n \"\"\"Multiple positional arguments should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"book1.md\", \"book2.md\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined.lower()\nE AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7fac6e5b7af0>()\nE + where <built-in method lower of str object at 0x7fac6e5b7af0> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:607: AssertionErrorself = <test_argument_parsing.TestOutputFlag object at 0x7f399d2167d0>\nflag = '-o', value = 'output.html'\n\n @pytest.mark.parametrize(\"flag,value\", [\n (\"-o\", \"output.html\"),\n (\"--output\", \"output.html\"),\n (\"--output=output.html\", None),\n ])\n def test_output_flag_with_value(self, flag, value):\n \"\"\"Output flag with value should be accepted (but requires --to).\"\"\"\n if value:\n stdout, stderr, returncode = run_executable(flag, value)\n else:\n stdout, stderr, returncode = run_executable(flag)\n \n combined = stdout + stderr\n # Should complain about missing --to\n> assert \"--to\" in combined or \"You must pass\" in combined\nE AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:224: AssertionErrorself = <test_argument_parsing.TestValueTakingFlags object at 0x7f2012c2f040>\nflag = '-t'\n\n @pytest.mark.parametrize(\"flag\", [\"-t\", \"--to\"])\n def test_to_flag_missing_value(self, flag):\n \"\"\"To flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7f2012d03e10>()\nE + where <built-in method lower of str object at 0x7f2012d03e10> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:180: AssertionErrorself = <test_argument_parsing.TestPositionalArguments object at 0x7f40cd0b8280>\n\n def test_book_file_before_flags(self):\n \"\"\"Book file can be specified before flags.\"\"\"\n stdout, stderr, returncode = run_executable(\"nonexistent.book\", \"-v\")\n combined = stdout + stderr\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:424: AssertionErrorself = <test_argument_parsing.TestSpecialCharactersInValues object at 0x7f8b74ff2020>\n\n def test_output_with_special_chars(self):\n \"\"\"Output file with special characters.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"file@#$.html\", \"-t\", \"html\")\n combined = stdout + stderr\n # Should accept filename with special chars\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:508: AssertionErrorself = <test_argument_parsing.TestToFlag object at 0x7f0fb7298dc0>\n\n def test_to_flag_shows_possible_values(self):\n \"\"\"Error for invalid --to should show possible values.\"\"\"\n stdout, stderr, returncode = run_executable(\"-t\", \"invalid\")\n combined = stdout + stderr\n> assert \"possible values\" in combined.lower()\nE AssertionError: assert 'possible values' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7f0fb735fc80>()\nE + where <built-in method lower of str object at 0x7f0fb735fc80> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:267: AssertionErrorself = <test_argument_parsing.TestOutputFlag object at 0x7fac7261ec20>\nflag = '--output=output.html', value = None\n\n @pytest.mark.parametrize(\"flag,value\", [\n (\"-o\", \"output.html\"),\n (\"--output\", \"output.html\"),\n (\"--output=output.html\", None),\n ])\n def test_output_flag_with_value(self, flag, value):\n \"\"\"Output flag with value should be accepted (but requires --to).\"\"\"\n if value:\n stdout, stderr, returncode = run_executable(flag, value)\n else:\n stdout, stderr, returncode = run_executable(flag)\n \n combined = stdout + stderr\n # Should complain about missing --to\n> assert \"--to\" in combined or \"You must pass\" in combined\nE AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:224: AssertionErrorself = <test_argument_parsing.TestUnknownFlags object at 0x7fcabbce66e0>\n\n def test_unknown_long_flag(self):\n \"\"\"Unknown long flag should produce error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--unknown-flag\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined or \"unrecognized\" in combined.lower()\nE AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7fcabbb25a20>()\nE + where <built-in method lower of str object at 0x7fcabbb25a20> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:81: AssertionErrorself = <test_argument_parsing.TestBasicExecution object at 0x7f79637e9660>\n\n def test_nonexistent_file_shows_error(self):\n \"\"\"Running with nonexistent file should show an error.\"\"\"\n stdout, stderr, returncode = run_executable(\"nonexistent.book\")\n combined = stdout + stderr\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:49: AssertionErrorself = <test_argument_parsing.TestSpecialCharactersInValues object at 0x7fe628167dc0>\n\n def test_output_with_spaces(self):\n \"\"\"Output file with spaces in name.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"my file.html\", \"-t\", \"html\")\n combined = stdout + stderr\n # Should accept filename with spaces\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:500: AssertionErrorself = <test_argument_parsing.TestValueTakingFlags object at 0x7f74490bbfa0>\nflag = '--output'\n\n @pytest.mark.parametrize(\"flag\", [\"-o\", \"--output\"])\n def test_output_flag_missing_value(self, flag):\n \"\"\"Output flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = <built-in method lower of str object at 0x7f7449128f30>()\nE + where <built-in method lower of str object at 0x7f7449128f30> = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\n\neval/tests/test_argument_parsing.py:172: AssertionErrorself = <test_argument_parsing.TestFlagCombinations object at 0x7f69cc0219c0>\n\n def test_verbose_and_quiet_long_flags_conflict(self):\n \"\"\"--verbose and --quiet (long forms) should conflict.\"\"\"\n stdout, stderr, returncode = run_executable(\"--verbose\", \"--quiet\")\n combined = stdout + stderr\n> assert \"cannot be used with\" in combined or \"conflict\" in combined.lower()\nE AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7f69cc0e7af0>()\nE + where <built-in method lower of str object at 0x7f69cc0e7af0> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:340: AssertionErrorself = <test_argument_parsing.TestValueTakingFlags object at 0x7f1be55578b0>\nflag = '-c'\n\n @pytest.mark.parametrize(\"flag\", [\"-c\", \"--create\"])\n def test_create_flag_missing_value(self, flag):\n \"\"\"Create flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE assert ('value is required' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n' or 'requires' in 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n')\nE + where 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n' = <built-in method lower of str object at 0x7f1be5304d40>()\nE + where <built-in method lower of str object at 0x7f1be5304d40> = 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'.lower\n\neval/tests/test_argument_parsing.py:196: AssertionErrorself = <test_argument_parsing.TestValueTakingFlags object at 0x7f9f28283820>\nflag = '--create'\n\n @pytest.mark.parametrize(\"flag\", [\"-c\", \"--create\"])\n def test_create_flag_missing_value(self, flag):\n \"\"\"Create flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE assert ('value is required' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n' or 'requires' in 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n')\nE + where 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n' = <built-in method lower of str object at 0x7f9f23f40df0>()\nE + where <built-in method lower of str object at 0x7f9f23f40df0> = 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'.lower\n\neval/tests/test_argument_parsing.py:196: AssertionErrorself = <test_argument_parsing.TestToFlag object at 0x7f40a1772680>\n\n def test_to_flag_invalid_format(self):\n \"\"\"--to flag with invalid format should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"-t\", \"invalid\")\n combined = stdout + stderr\n> assert \"invalid value\" in combined.lower()\nE AssertionError: assert 'invalid value' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7f40a1837b90>()\nE + where <built-in method lower of str object at 0x7f40a1837b90> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:259: AssertionErrorself = <test_argument_parsing.TestValueTakingFlags object at 0x7f2ceae16170>\nflag = '-L'\n\n @pytest.mark.parametrize(\"flag\", [\"-L\", \"--lang\"])\n def test_lang_flag_missing_value(self, flag):\n \"\"\"Lang flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7f2ceaf66150>()\nE + where <built-in method lower of str object at 0x7f2ceaf66150> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:188: AssertionErrorself = <test_argument_parsing.TestFlagCombinations object at 0x7fca441ce350>\n\n def test_verbose_and_quiet_conflict(self):\n \"\"\"--verbose and --quiet should conflict.\"\"\"\n stdout, stderr, returncode = run_executable(\"-v\", \"-q\")\n combined = stdout + stderr\n> assert \"cannot be used with\" in combined or \"conflict\" in combined.lower()\nE AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7fca44293cd0>()\nE + where <built-in method lower of str object at 0x7fca44293cd0> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:326: AssertionErrorself = <test_argument_parsing.TestOutputAndToRequirements object at 0x7f7dc8d01000>\n\n def test_output_and_to_together(self):\n \"\"\"--output and --to together should work.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"test.html\", \"-t\", \"html\")\n combined = stdout + stderr\n # Should complain about missing book file only\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:384: AssertionErrorself = <test_argument_parsing.TestBooleanFlags object at 0x7f8bbf011b40>\nflag = '--verbose'\n\n @pytest.mark.parametrize(\"flag\", [\"-v\", \"--verbose\"])\n def test_verbose_flag_variants(self, flag):\n \"\"\"Test verbose flag variants.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n # Should still require book file\n> assert \"You must pass the name of a book configuration file\" in combined\nE AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:109: AssertionErrorself = <test_argument_parsing.TestDoubleHyphenSeparator object at 0x7f1fadba9bd0>\n\n def test_double_hyphen_alone(self):\n \"\"\"Double hyphen alone should still require book file.\"\"\"\n stdout, stderr, returncode = run_executable(\"--\")\n combined = stdout + stderr\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:396: AssertionErrorself = <test_argument_parsing.TestValueTakingFlags object at 0x7f636ba0e0b0>\nflag = '--lang'\n\n @pytest.mark.parametrize(\"flag\", [\"-L\", \"--lang\"])\n def test_lang_flag_missing_value(self, flag):\n \"\"\"Lang flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7f636bacfd20>()\nE + where <built-in method lower of str object at 0x7f636bacfd20> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:188: AssertionErrorself = <test_argument_parsing.TestValueTakingFlags object at 0x7f11b0d920b0>\nflag = '-o'\n\n @pytest.mark.parametrize(\"flag\", [\"-o\", \"--output\"])\n def test_output_flag_missing_value(self, flag):\n \"\"\"Output flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = <built-in method lower of str object at 0x7f11b0e00f30>()\nE + where <built-in method lower of str object at 0x7f11b0e00f30> = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\n\neval/tests/test_argument_parsing.py:172: AssertionErrorself = <test_argument_parsing.TestValueTakingFlags object at 0x7f1ad27d66b0>\nflag = '--to'\n\n @pytest.mark.parametrize(\"flag\", [\"-t\", \"--to\"])\n def test_to_flag_missing_value(self, flag):\n \"\"\"To flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7f1ad28b7c80>()\nE + where <built-in method lower of str object at 0x7f1ad28b7c80> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:180: AssertionErrorself = <test_argument_parsing.TestPositionalArguments object at 0x7f2250b8fd90>\n\n def test_book_file_after_flags(self):\n \"\"\"Book file can be specified after flags.\"\"\"\n stdout, stderr, returncode = run_executable(\"-v\", \"nonexistent.book\")\n combined = stdout + stderr\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:416: AssertionErrorself = <test_argument_parsing.TestFlagCombinations object at 0x7f79e7b0c100>\n\n def test_quiet_and_verbose_conflict(self):\n \"\"\"--quiet and --verbose should conflict (reversed order).\"\"\"\n stdout, stderr, returncode = run_executable(\"-q\", \"-v\")\n combined = stdout + stderr\n> assert \"cannot be used with\" in combined or \"conflict\" in combined.lower()\nE AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7f79e7b25a20>()\nE + where <built-in method lower of str object at 0x7f79e7b25a20> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:333: AssertionErrorself = <test_argument_parsing.TestUnknownFlags object at 0x7fdca8a8d5d0>\n\n def test_typo_in_flag(self):\n \"\"\"Typo in flag name should produce error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--verbos\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined or \"unrecognized\" in combined.lower()\nE AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7fdca8b67be0>()\nE + where <built-in method lower of str object at 0x7fdca8b67be0> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:96: AssertionErrorself = <test_argument_parsing.TestDoubleHyphenSeparator object at 0x7fe7b8f35e40>\n\n def test_double_hyphen_with_flag_like_argument(self):\n \"\"\"Arguments after -- should be treated as positional.\"\"\"\n stdout, stderr, returncode = run_executable(\"--\", \"--verbose\")\n combined = stdout + stderr\n # Should treat --verbose as filename\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:404: AssertionErrorself = <test_argument_parsing.TestMultiplePositionalArguments object at 0x7fad0d5e3d00>\n\n def test_three_positional_arguments_error(self):\n \"\"\"Three positional arguments should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"book1.md\", \"book2.md\", \"book3.md\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined.lower()\nE AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7fad0d67bb90>()\nE + where <built-in method lower of str object at 0x7fad0d67bb90> = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:614: AssertionErrorself = <test_argument_parsing.TestOutputFlag object at 0x7fd10e416e60>\nflag = '--output', value = 'output.html'\n\n @pytest.mark.parametrize(\"flag,value\", [\n (\"-o\", \"output.html\"),\n (\"--output\", \"output.html\"),\n (\"--output=output.html\", None),\n ])\n def test_output_flag_with_value(self, flag, value):\n \"\"\"Output flag with value should be accepted (but requires --to).\"\"\"\n if value:\n stdout, stderr, returncode = run_executable(flag, value)\n else:\n stdout, stderr, returncode = run_executable(flag)\n \n combined = stdout + stderr\n # Should complain about missing --to\n> assert \"--to\" in combined or \"You must pass\" in combined\nE AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:224: AssertionError", "returncode": 0, "exception_info": "", "branch": "test-johnby-create_args_tests__claude-4-5-sonnet-genai-20260305_191938"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.045909530000017185, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/test-johnby-create_args_tests__gpt-5-2-genai-20260310_152710", "wall_time": 0.049216898999986824, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nRemoving file2.html\nRemoving file@#$.html\nRemoving my file.html\nRemoving output.html\nRemoving test.html\nPrevious HEAD position was 62addb0 create-tests result\nHEAD is now at d86cc68 create-tests result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.046038878999979715, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.047009737999985646, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.04619011400001227, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.043148127999984354, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 5.911839208999993, "output": "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [34 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_argparse_validation.py::test_value_flags_require_value[args1-expected_parts1] \neval/tests/test_argparse_validation.py::test_value_flags_require_value[args0-expected_parts0] \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args3-CROWBOOK] \neval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args0-expected_parts0] \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args9-CROWBOOK] \neval/tests/test_argparse_validation.py::test_enum_validation_for_to[args0-expected_parts0] \neval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args1-expected_parts1] \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args7-CROWBOOK] \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args8-CROWBOOK] \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args6-CROWBOOK] \neval/tests/test_argparse_validation.py::test_create_requires_at_least_one_value \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args5-CROWBOOK] \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args2-CROWBOOK] \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args11-CROWBOOK] \neval/tests/test_argparse_validation.py::test_output_without_to_produces_required_argument_error \neval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args2-expected_parts2] \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args1-CROWBOOK] \neval/tests/test_argparse_validation.py::test_value_flags_require_value[args4-expected_parts4] \neval/tests/test_argparse_validation.py::test_enum_validation_for_to[args1-expected_parts1] \neval/tests/test_argparse_validation.py::test_unknown_flag_is_rejected[args0-expected_parts0] \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args13-CROWBOOK] \neval/tests/test_argparse_validation.py::test_value_flags_require_value[args5-expected_parts5] \neval/tests/test_argparse_validation.py::test_double_dash_treats_following_as_positional_not_flag \neval/tests/test_argparse_validation.py::test_unknown_flag_suggests_double_dash_to_pass_as_value \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args4-CROWBOOK] \neval/tests/test_argparse_validation.py::test_set_requires_at_least_two_values \neval/tests/test_argparse_validation.py::test_combined_short_flags_are_accepted \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args12-CROWBOOK] \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args10-CROWBOOK] \neval/tests/test_argparse_validation.py::test_unknown_flag_is_rejected[args1-expected_parts1] \neval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args3-expected_parts3] \neval/tests/test_argparse_validation.py::test_value_flags_require_value[args2-expected_parts2] \neval/tests/test_argparse_validation.py::test_value_flags_require_value[args3-expected_parts3] \neval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args0-CROWBOOK] \n[gw11] [ 2%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args3-CROWBOOK] \n[gw14] [ 5%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args6-CROWBOOK] \n[gw21] [ 8%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args13-CROWBOOK] \n[gw18] [ 11%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args10-CROWBOOK] \n[gw17] [ 14%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args9-CROWBOOK] \n[gw8] [ 17%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args0-CROWBOOK] \n[gw15] [ 20%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args7-CROWBOOK] \n[gw19] [ 23%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args11-CROWBOOK] \n[gw10] [ 26%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args2-CROWBOOK] \n[gw20] [ 29%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args12-CROWBOOK] \n[gw13] [ 32%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args5-CROWBOOK] \n[gw9] [ 35%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args1-CROWBOOK] \n[gw12] [ 38%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args4-CROWBOOK] \n[gw22] [ 41%] PASSED eval/tests/test_argparse_validation.py::test_combined_short_flags_are_accepted \n[gw16] [ 44%] PASSED eval/tests/test_argparse_validation.py::test_boolean_flags_parse_without_needing_values[args8-CROWBOOK] \n[gw4] [ 47%] FAILED eval/tests/test_argparse_validation.py::test_unknown_flag_is_rejected[args0-expected_parts0] \n[gw24] [ 50%] FAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args1-expected_parts1] \n[gw6] [ 52%] FAILED eval/tests/test_argparse_validation.py::test_unknown_flag_suggests_double_dash_to_pass_as_value \n[gw33] [ 55%] FAILED eval/tests/test_argparse_validation.py::test_set_requires_at_least_two_values \n[gw31] [ 58%] FAILED eval/tests/test_argparse_validation.py::test_output_without_to_produces_required_argument_error \n[gw7] [ 61%] FAILED eval/tests/test_argparse_validation.py::test_double_dash_treats_following_as_positional_not_flag \n[gw32] [ 64%] FAILED eval/tests/test_argparse_validation.py::test_create_requires_at_least_one_value \n[gw27] [ 67%] FAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args4-expected_parts4] \n[gw25] [ 70%] FAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args2-expected_parts2] \n[gw26] [ 73%] FAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args3-expected_parts3] \n[gw28] [ 76%] FAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args5-expected_parts5] \n[gw1] [ 79%] FAILED eval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args1-expected_parts1] \n[gw3] [ 82%] FAILED eval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args3-expected_parts3] \n[gw0] [ 85%] FAILED eval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args0-expected_parts0] \n[gw30] [ 88%] FAILED eval/tests/test_argparse_validation.py::test_enum_validation_for_to[args1-expected_parts1] \n[gw23] [ 91%] FAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args0-expected_parts0] \n[gw29] [ 94%] FAILED eval/tests/test_argparse_validation.py::test_enum_validation_for_to[args0-expected_parts0] \n[gw5] [ 97%] FAILED eval/tests/test_argparse_validation.py::test_unknown_flag_is_rejected[args1-expected_parts1] \n[gw2] [100%] FAILED eval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args2-expected_parts2] \n\n=================================== FAILURES ===================================\n_____________ test_unknown_flag_is_rejected[args0-expected_parts0] _____________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['--no-such-flag']\nexpected_parts = [\"unexpected argument '--no-such-flag' found\", 'Usage: executable']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--no-such-flag\"], [\"unexpected argument '--no-such-flag' found\", \"Usage: executable\"]),\n ([\"--nonexistent-flag\"], [\"unexpected argument '--nonexistent-flag' found\", \"Usage: executable\"]),\n ],\n )\n def test_unknown_flag_is_rejected(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:59: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"unexpected argument '--no-such-flag' found\", 'Usage: executable']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"unexpected argument '--no-such-flag' found\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"unexpected argument '--no-such-flag' found\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n____________ test_value_flags_require_value[args1-expected_parts1] _____________\n[gw24] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['-t']\nexpected_parts = [\"a value is required for '--to '\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"a value is required for '--to '\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--to '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--to '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n___________ test_unknown_flag_suggests_double_dash_to_pass_as_value ____________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_unknown_flag_suggests_double_dash_to_pass_as_value():\n rc, text = combined_output(run([\"--no-such-flag\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"tip: to pass '--no-such-flag' as a value, use '-- --no-such-flag'\" in text\nE assert \"tip: to pass '--no-such-flag' as a value, use '-- --no-such-flag'\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:66: AssertionError\n____________________ test_set_requires_at_least_two_values _____________________\n[gw33] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_set_requires_at_least_two_values():\n rc, text = combined_output(run([\"--set\", \"foo\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"2 values required by '--set ...'; only 1 was provided\" in text\nE assert \"2 values required by '--set ...'; only 1 was provided\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:165: AssertionError\n___________ test_output_without_to_produces_required_argument_error ____________\n[gw31] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_output_without_to_produces_required_argument_error():\n rc, text = combined_output(run([\"-o=out.html\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"required arguments were not provided\" in text\nE AssertionError: assert 'required arguments were not provided' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:150: AssertionError\n___________ test_double_dash_treats_following_as_positional_not_flag ___________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_double_dash_treats_following_as_positional_not_flag():\n rc, text = combined_output(run([\"--\", \"--no-such-flag\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n # Now it is treated as BOOK path, so the error changes.\n assert \"unexpected argument\" not in text\n> assert \"Could not find file '--no-such-flag' for book\" in text\nE assert \"Could not find file '--no-such-flag' for book\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:75: AssertionError\n___________________ test_create_requires_at_least_one_value ____________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_create_requires_at_least_one_value():\n rc, text = combined_output(run([\"-c\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"a value is required for '--create ...'\" in text\nE assert \"a value is required for '--create ...'\" in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'\n\neval/tests/test_argparse_validation.py:158: AssertionError\n____________ test_value_flags_require_value[args4-expected_parts4] _____________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['--print-template']\nexpected_parts = [\"a value is required for '--print-template '\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"a value is required for '--print-template '\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--print-template '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--print-template '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n____________ test_value_flags_require_value[args2-expected_parts2] _____________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['--output']\nexpected_parts = [\"a value is required for '--output '\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\nparts = [\"a value is required for '--output '\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--output '\" in output:\nE usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\nE [--set SET [SET ...]]\nE [book]\nE executable: error: argument -o/--output: expected one argument\nE \nE assert \"a value is required for '--output '\" in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n____________ test_value_flags_require_value[args3-expected_parts3] _____________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['-o'], expected_parts = [\"a value is required for '--output '\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\nparts = [\"a value is required for '--output '\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--output '\" in output:\nE usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\nE [--set SET [SET ...]]\nE [book]\nE executable: error: argument -o/--output: expected one argument\nE \nE assert \"a value is required for '--output '\" in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n____________ test_value_flags_require_value[args5-expected_parts5] _____________\n[gw28] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['--lang'], expected_parts = [\"a value is required for '--lang '\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n', parts = [\"a value is required for '--lang '\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--lang '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--lang '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n______ test_missing_book_positional_reports_error[args1-expected_parts1] _______\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['-t', 'html']\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n______ test_missing_book_positional_reports_error[args3-expected_parts3] _______\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['-t', 'html', '-o', 'out.html']\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n______ test_missing_book_positional_reports_error[args0-expected_parts0] _______\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = []\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n______________ test_enum_validation_for_to[args1-expected_parts1] ______________\n[gw30] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['-t', 'nope']\nexpected_parts = [\"invalid value 'nope' for '--to '\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\", \"nope\"], [\"invalid value 'nope' for '--to '\", \"possible values:\"]),\n ([\"-t\", \"nope\"], [\"invalid value 'nope' for '--to '\", \"possible values:\"]),\n ],\n )\n def test_enum_validation_for_to(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:143: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"invalid value 'nope' for '--to '\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"invalid value 'nope' for '--to '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"invalid value 'nope' for '--to '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n____________ test_value_flags_require_value[args0-expected_parts0] _____________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['--to']\nexpected_parts = [\"a value is required for '--to '\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"a value is required for '--to '\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--to '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--to '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n______________ test_enum_validation_for_to[args0-expected_parts0] ______________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['--to', 'nope']\nexpected_parts = [\"invalid value 'nope' for '--to '\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\", \"nope\"], [\"invalid value 'nope' for '--to '\", \"possible values:\"]),\n ([\"-t\", \"nope\"], [\"invalid value 'nope' for '--to '\", \"possible values:\"]),\n ],\n )\n def test_enum_validation_for_to(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:143: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"invalid value 'nope' for '--to '\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"invalid value 'nope' for '--to '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"invalid value 'nope' for '--to '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n_____________ test_unknown_flag_is_rejected[args1-expected_parts1] _____________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['--nonexistent-flag']\nexpected_parts = [\"unexpected argument '--nonexistent-flag' found\", 'Usage: executable']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--no-such-flag\"], [\"unexpected argument '--no-such-flag' found\", \"Usage: executable\"]),\n ([\"--nonexistent-flag\"], [\"unexpected argument '--nonexistent-flag' found\", \"Usage: executable\"]),\n ],\n )\n def test_unknown_flag_is_rejected(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:59: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"unexpected argument '--nonexistent-flag' found\", 'Usage: executable']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"unexpected argument '--nonexistent-flag' found\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"unexpected argument '--nonexistent-flag' found\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n______ test_missing_book_positional_reports_error[args2-expected_parts2] _______\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\nargs = ['--to', 'html']\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_argparse_validation.py::test_unknown_flag_is_rejected[args0-expected_parts0]\nFAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args1-expected_parts1]\nFAILED eval/tests/test_argparse_validation.py::test_unknown_flag_suggests_double_dash_to_pass_as_value\nFAILED eval/tests/test_argparse_validation.py::test_set_requires_at_least_two_values\nFAILED eval/tests/test_argparse_validation.py::test_output_without_to_produces_required_argument_error\nFAILED eval/tests/test_argparse_validation.py::test_double_dash_treats_following_as_positional_not_flag\nFAILED eval/tests/test_argparse_validation.py::test_create_requires_at_least_one_value\nFAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args4-expected_parts4]\nFAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args2-expected_parts2]\nFAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args3-expected_parts3]\nFAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args5-expected_parts5]\nFAILED eval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args1-expected_parts1]\nFAILED eval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args3-expected_parts3]\nFAILED eval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args0-expected_parts0]\nFAILED eval/tests/test_argparse_validation.py::test_enum_validation_for_to[args1-expected_parts1]\nFAILED eval/tests/test_argparse_validation.py::test_value_flags_require_value[args0-expected_parts0]\nFAILED eval/tests/test_argparse_validation.py::test_enum_validation_for_to[args0-expected_parts0]\nFAILED eval/tests/test_argparse_validation.py::test_unknown_flag_is_rejected[args1-expected_parts1]\nFAILED eval/tests/test_argparse_validation.py::test_missing_book_positional_reports_error[args2-expected_parts2]\n======================== 19 failed, 15 passed in 4.06s =========================\npytest exit status: 1\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.14951333400000522, "output": "args = []\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrorargs = ['-t', 'html']\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrordef test_create_requires_at_least_one_value():\n rc, text = combined_output(run([\"-c\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"a value is required for '--create <files>...'\" in text\nE assert \"a value is required for '--create <files>...'\" in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'\n\neval/tests/test_argparse_validation.py:158: AssertionErrorargs = ['--to', 'nope']\nexpected_parts = [\"invalid value 'nope' for '--to <to>'\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\", \"nope\"], [\"invalid value 'nope' for '--to <to>'\", \"possible values:\"]),\n ([\"-t\", \"nope\"], [\"invalid value 'nope' for '--to <to>'\", \"possible values:\"]),\n ],\n )\n def test_enum_validation_for_to(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:143: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"invalid value 'nope' for '--to <to>'\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"invalid value 'nope' for '--to <to>'\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"invalid value 'nope' for '--to <to>'\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrordef test_output_without_to_produces_required_argument_error():\n rc, text = combined_output(run([\"-o=out.html\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"required arguments were not provided\" in text\nE AssertionError: assert 'required arguments were not provided' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:150: AssertionErrorargs = ['--to', 'html']\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrorargs = ['--print-template']\nexpected_parts = [\"a value is required for '--print-template <print-template>'\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output <output>'\"]),\n ([\"-o\"], [\"a value is required for '--output <output>'\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template <print-template>'\"]),\n ([\"--lang\"], [\"a value is required for '--lang <lang>'\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"a value is required for '--print-template <print-template>'\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--print-template <print-template>'\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--print-template <print-template>'\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrorargs = ['-t', 'nope']\nexpected_parts = [\"invalid value 'nope' for '--to <to>'\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\", \"nope\"], [\"invalid value 'nope' for '--to <to>'\", \"possible values:\"]),\n ([\"-t\", \"nope\"], [\"invalid value 'nope' for '--to <to>'\", \"possible values:\"]),\n ],\n )\n def test_enum_validation_for_to(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:143: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"invalid value 'nope' for '--to <to>'\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"invalid value 'nope' for '--to <to>'\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"invalid value 'nope' for '--to <to>'\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrorargs = ['--no-such-flag']\nexpected_parts = [\"unexpected argument '--no-such-flag' found\", 'Usage: executable']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--no-such-flag\"], [\"unexpected argument '--no-such-flag' found\", \"Usage: executable\"]),\n ([\"--nonexistent-flag\"], [\"unexpected argument '--nonexistent-flag' found\", \"Usage: executable\"]),\n ],\n )\n def test_unknown_flag_is_rejected(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:59: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"unexpected argument '--no-such-flag' found\", 'Usage: executable']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"unexpected argument '--no-such-flag' found\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"unexpected argument '--no-such-flag' found\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrorargs = ['--lang'], expected_parts = [\"a value is required for '--lang <lang>'\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output <output>'\"]),\n ([\"-o\"], [\"a value is required for '--output <output>'\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template <print-template>'\"]),\n ([\"--lang\"], [\"a value is required for '--lang <lang>'\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n', parts = [\"a value is required for '--lang <lang>'\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--lang <lang>'\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--lang <lang>'\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrordef test_double_dash_treats_following_as_positional_not_flag():\n rc, text = combined_output(run([\"--\", \"--no-such-flag\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n # Now it is treated as BOOK path, so the error changes.\n assert \"unexpected argument\" not in text\n> assert \"Could not find file '--no-such-flag' for book\" in text\nE assert \"Could not find file '--no-such-flag' for book\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:75: AssertionErrordef test_unknown_flag_suggests_double_dash_to_pass_as_value():\n rc, text = combined_output(run([\"--no-such-flag\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"tip: to pass '--no-such-flag' as a value, use '-- --no-such-flag'\" in text\nE assert \"tip: to pass '--no-such-flag' as a value, use '-- --no-such-flag'\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:66: AssertionErrordef test_set_requires_at_least_two_values():\n rc, text = combined_output(run([\"--set\", \"foo\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"2 values required by '--set <set> <set>...'; only 1 was provided\" in text\nE assert \"2 values required by '--set <set> <set>...'; only 1 was provided\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:165: AssertionErrorargs = ['--to']\nexpected_parts = [\"a value is required for '--to <to>'\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output <output>'\"]),\n ([\"-o\"], [\"a value is required for '--output <output>'\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template <print-template>'\"]),\n ([\"--lang\"], [\"a value is required for '--lang <lang>'\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"a value is required for '--to <to>'\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--to <to>'\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--to <to>'\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrorargs = ['--nonexistent-flag']\nexpected_parts = [\"unexpected argument '--nonexistent-flag' found\", 'Usage: executable']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--no-such-flag\"], [\"unexpected argument '--no-such-flag' found\", \"Usage: executable\"]),\n ([\"--nonexistent-flag\"], [\"unexpected argument '--nonexistent-flag' found\", \"Usage: executable\"]),\n ],\n )\n def test_unknown_flag_is_rejected(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:59: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"unexpected argument '--nonexistent-flag' found\", 'Usage: executable']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"unexpected argument '--nonexistent-flag' found\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"unexpected argument '--nonexistent-flag' found\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrorargs = ['-t', 'html', '-o', 'out.html']\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrorargs = ['--output']\nexpected_parts = [\"a value is required for '--output <output>'\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output <output>'\"]),\n ([\"-o\"], [\"a value is required for '--output <output>'\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template <print-template>'\"]),\n ([\"--lang\"], [\"a value is required for '--lang <lang>'\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\nparts = [\"a value is required for '--output <output>'\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--output <output>'\" in output:\nE usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\nE [--set SET [SET ...]]\nE [book]\nE executable: error: argument -o/--output: expected one argument\nE \nE assert \"a value is required for '--output <output>'\" in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrorargs = ['-t']\nexpected_parts = [\"a value is required for '--to <to>'\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output <output>'\"]),\n ([\"-o\"], [\"a value is required for '--output <output>'\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template <print-template>'\"]),\n ([\"--lang\"], [\"a value is required for '--lang <lang>'\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"a value is required for '--to <to>'\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--to <to>'\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--to <to>'\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionErrorargs = ['-o'], expected_parts = [\"a value is required for '--output <output>'\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to <to>'\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output <output>'\"]),\n ([\"-o\"], [\"a value is required for '--output <output>'\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template <print-template>'\"]),\n ([\"--lang\"], [\"a value is required for '--lang <lang>'\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\nparts = [\"a value is required for '--output <output>'\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--output <output>'\" in output:\nE usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\nE [--set SET [SET ...]]\nE [book]\nE executable: error: argument -o/--output: expected one argument\nE \nE assert \"a value is required for '--output <output>'\" in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError", "returncode": 0, "exception_info": "", "branch": "test-johnby-create_args_tests__gpt-5-2-genai-20260310_152710"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.04793767099999968, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/test-johnby-create_io_tests__gpt-5-2-genai-20260306_164759", "wall_time": 0.05112655900001073, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nRemoving out.html\nPrevious HEAD position was d86cc68 create-tests result\nHEAD is now at 462d454 create-tests result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04721977899998819, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.0459333360000187, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.05029175199996416, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04480236599999898, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 5.00078909299998, "output": "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [8 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_errors_io.py::test_nonexistent_book_file_errors_to_stderr_exit_0 \neval/tests/test_help_and_meta_io.py::test_version_to_stdout_and_exit_0 \neval/tests/test_single_render_io.py::test_single_epub_to_stdout_is_zip_bytes_and_warns_on_stderr \neval/tests/test_help_and_meta_io.py::test_help_to_stdout_and_exit_0 \neval/tests/test_single_render_io.py::test_single_html_with_output_file_creates_file_no_stdout \neval/tests/test_errors_io.py::test_no_args_errors_to_stderr_exit_0 \neval/tests/test_help_and_meta_io.py::test_print_template_goes_to_stdout \neval/tests/test_help_and_meta_io.py::test_list_options_prints_to_stdout \n[gw1] [ 12%] FAILED eval/tests/test_errors_io.py::test_nonexistent_book_file_errors_to_stderr_exit_0 \n[gw3] [ 25%] PASSED eval/tests/test_help_and_meta_io.py::test_version_to_stdout_and_exit_0 \n[gw4] [ 37%] FAILED eval/tests/test_help_and_meta_io.py::test_list_options_prints_to_stdout \n[gw5] [ 50%] FAILED eval/tests/test_help_and_meta_io.py::test_print_template_goes_to_stdout \n[gw0] [ 62%] FAILED eval/tests/test_errors_io.py::test_no_args_errors_to_stderr_exit_0 \n[gw2] [ 75%] FAILED eval/tests/test_help_and_meta_io.py::test_help_to_stdout_and_exit_0 \n[gw7] [ 87%] FAILED eval/tests/test_single_render_io.py::test_single_epub_to_stdout_is_zip_bytes_and_warns_on_stderr \n[gw6] [100%] FAILED eval/tests/test_single_render_io.py::test_single_html_with_output_file_creates_file_no_stdout \n\n=================================== FAILURES ===================================\n______________ test_nonexistent_book_file_errors_to_stderr_exit_0 ______________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_nonexistent_book_file_errors_to_stderr_exit_0():\n with TempFiles() as tf:\n missing = tf.p(\"missing.book\")\n res = run(str(missing))\n assert res.returncode == 0\n> assert res.stdout == b\"\"\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\nE \nE Full diff:\nE - b''\nE + (b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_errors_io.py:17: AssertionError\n______________________ test_list_options_prints_to_stdout ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_list_options_prints_to_stdout():\n res = run(\"--list-options\")\n assert res.returncode == 0\n assert b\"METADATA\" in res.stdout\n> assert b\"CROWBOOK\" in res.stderr\nE AssertionError: assert b'CROWBOOK' in b''\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stderr\n\neval/tests/test_help_and_meta_io.py:22: AssertionError\n______________________ test_print_template_goes_to_stdout ______________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_print_template_goes_to_stdout():\n res = run(\"--print-template\", \"html.css\")\n assert res.returncode == 0\n> assert b\"body\" in res.stdout\nE AssertionError: assert b'body' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_help_and_meta_io.py:29: AssertionError\n_____________________ test_no_args_errors_to_stderr_exit_0 _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_no_args_errors_to_stderr_exit_0():\n res = run()\n assert res.returncode == 0\n> assert res.stdout == b\"\"\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\nE \nE Full diff:\nE - b''\nE + (b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_errors_io.py:7: AssertionError\n________________________ test_help_to_stdout_and_exit_0 ________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_to_stdout_and_exit_0():\n res = run(\"--help\")\n assert res.returncode == 0\n> assert b\"USAGE:\" in res.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_help_and_meta_io.py:7: AssertionError\n_________ test_single_epub_to_stdout_is_zip_bytes_and_warns_on_stderr __________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_epub_to_stdout_is_zip_bytes_and_warns_on_stderr():\n with TempFiles() as tf:\n md = tf.create(\"a.md\", \"# Hi\\n\")\n res = run(\"-s\", str(md), \"-t\", \"epub\")\n assert res.returncode == 0\n> assert res.stdout[:2] == b\"PK\" # zip local file header\nE AssertionError: assert b'CR' == b'PK'\nE \nE At index 0 diff: b'C' != b'P'\nE \nE Full diff:\nE - b'PK'\nE + b'CR'\n\neval/tests/test_single_render_io.py:38: AssertionError\n___________ test_single_html_with_output_file_creates_file_no_stdout ___________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_single_html_with_output_file_creates_file_no_stdout():\n with TempFiles() as tf:\n md = tf.create(\n \"story.md\",\n \"\"\"\\\n ---\n author: Me\n title: Test\n output: [html]\n ---\n \n # Hello\n \n Some *text*.\n \"\"\",\n )\n out = tf.p(\"out.html\")\n res = run(\"-s\", str(md), \"-t\", \"html\", \"-o\", str(out))\n assert res.returncode == 0\n> assert res.stdout == b\"\"\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\nE \nE Full diff:\nE - b''\nE + (b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_single_render_io.py:24: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_errors_io.py::test_nonexistent_book_file_errors_to_stderr_exit_0\nFAILED eval/tests/test_help_and_meta_io.py::test_list_options_prints_to_stdout\nFAILED eval/tests/test_help_and_meta_io.py::test_print_template_goes_to_stdout\nFAILED eval/tests/test_errors_io.py::test_no_args_errors_to_stderr_exit_0 - A...\nFAILED eval/tests/test_help_and_meta_io.py::test_help_to_stdout_and_exit_0 - ...\nFAILED eval/tests/test_single_render_io.py::test_single_epub_to_stdout_is_zip_bytes_and_warns_on_stderr\nFAILED eval/tests/test_single_render_io.py::test_single_html_with_output_file_creates_file_no_stdout\n========================= 7 failed, 1 passed in 4.02s ==========================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.1917350269999929, "output": "def test_single_epub_to_stdout_is_zip_bytes_and_warns_on_stderr():\n with TempFiles() as tf:\n md = tf.create(\"a.md\", \"# Hi\\n\")\n res = run(\"-s\", str(md), \"-t\", \"epub\")\n assert res.returncode == 0\n> assert res.stdout[:2] == b\"PK\" # zip local file header\nE AssertionError: assert b'CR' == b'PK'\nE \nE At index 0 diff: b'C' != b'P'\nE \nE Full diff:\nE - b'PK'\nE + b'CR'\n\neval/tests/test_single_render_io.py:38: AssertionErrordef test_single_html_with_output_file_creates_file_no_stdout():\n with TempFiles() as tf:\n md = tf.create(\n \"story.md\",\n \"\"\"\\\n ---\n author: Me\n title: Test\n output: [html]\n ---\n \n # Hello\n \n Some *text*.\n \"\"\",\n )\n out = tf.p(\"out.html\")\n res = run(\"-s\", str(md), \"-t\", \"html\", \"-o\", str(out))\n assert res.returncode == 0\n> assert res.stdout == b\"\"\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\nE \nE Full diff:\nE - b''\nE + (b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_single_render_io.py:24: AssertionErrordef test_nonexistent_book_file_errors_to_stderr_exit_0():\n with TempFiles() as tf:\n missing = tf.p(\"missing.book\")\n res = run(str(missing))\n assert res.returncode == 0\n> assert res.stdout == b\"\"\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\nE \nE Full diff:\nE - b''\nE + (b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_errors_io.py:17: AssertionErrordef test_help_to_stdout_and_exit_0():\n res = run(\"--help\")\n assert res.returncode == 0\n> assert b\"USAGE:\" in res.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_help_and_meta_io.py:7: AssertionErrordef test_no_args_errors_to_stderr_exit_0():\n res = run()\n assert res.returncode == 0\n> assert res.stdout == b\"\"\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\nE \nE Full diff:\nE - b''\nE + (b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_errors_io.py:7: AssertionErrordef test_list_options_prints_to_stdout():\n res = run(\"--list-options\")\n assert res.returncode == 0\n assert b\"METADATA\" in res.stdout\n> assert b\"CROWBOOK\" in res.stderr\nE AssertionError: assert b'CROWBOOK' in b''\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stderr\n\neval/tests/test_help_and_meta_io.py:22: AssertionErrordef test_print_template_goes_to_stdout():\n res = run(\"--print-template\", \"html.css\")\n assert res.returncode == 0\n> assert b\"body\" in res.stdout\nE AssertionError: assert b'body' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_help_and_meta_io.py:29: AssertionError", "returncode": 0, "exception_info": "", "branch": "test-johnby-create_io_tests__gpt-5-2-genai-20260306_164759"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.04890179400001671, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/test-johnby-create_subcommand_tests__claude-4-5-sonnet-genai-20260306_061933", "wall_time": 0.052073613999993995, "output": "Removing .pytest_cache/\nRemoving eval/__pycache__/\nRemoving eval/results.xml\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was 462d454 create-tests result\nHEAD is now at b4c356c create-tests result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04829013299996632, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.044558814000026814, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.04185486799997307, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.0433131060000278, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.601341967999986, "output": "Installing test dependencies...\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/eval\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [30 items]\n\nscheduling tests via LoadScheduling\n\ntests/test_subcommand_routing.py::TestNoSubcommandArchitecture::test_help_shows_no_subcommands \ntests/test_subcommand_routing.py::TestFlagOrdering::test_quiet_flag_before_file \ntests/test_subcommand_routing.py::TestNoSubcommandArchitecture::test_version_flag_works \ntests/test_subcommand_routing.py::TestFlagOrdering::test_multiple_flags \ntests/test_subcommand_routing.py::TestErrorMessages::test_conflicting_flags_error \ntests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[show] \ntests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[help] \ntests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[list] \ntests/test_subcommand_routing.py::TestSpecialModes::test_print_template_mode \ntests/test_subcommand_routing.py::TestNoSubcommandAliases::test_no_short_subcommand_aliases \ntests/test_subcommand_routing.py::TestArgumentHandling::test_list_options_flag \ntests/test_subcommand_routing.py::TestSingleCommandInterface::test_invalid_format_to_flag \ntests/test_subcommand_routing.py::TestSingleCommandInterface::test_single_mode_flag \ntests/test_subcommand_routing.py::TestNoSubcommandArchitecture::test_no_args_shows_error_not_subcommand_list \ntests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[init] \ntests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[build] \ntests/test_subcommand_routing.py::TestSpecialModes::test_stats_mode \ntests/test_subcommand_routing.py::TestSingleCommandInterface::test_output_flag_requires_to_flag \ntests/test_subcommand_routing.py::TestSpecialModes::test_create_flag_mode \ntests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[remove] \ntests/test_subcommand_routing.py::TestHelpConsistency::test_no_subcommand_help_pattern \ntests/test_subcommand_routing.py::TestErrorMessages::test_missing_required_argument \ntests/test_subcommand_routing.py::TestFlagOrdering::test_verbose_flag_before_file \ntests/test_subcommand_routing.py::TestSingleCommandInterface::test_to_flag_with_valid_format \ntests/test_subcommand_routing.py::TestNoSubcommandArchitecture::test_help_flag_works \ntests/test_subcommand_routing.py::TestErrorMessages::test_multiple_values_for_single_value_flag \ntests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[add] \ntests/test_subcommand_routing.py::TestArgumentHandling::test_unknown_flag_produces_error \ntests/test_subcommand_routing.py::TestHelpConsistency::test_help_output_consistent \ntests/test_subcommand_routing.py::test_readme_mentions_no_subcommands \n[gw29] [ 3%] PASSED tests/test_subcommand_routing.py::test_readme_mentions_no_subcommands \n[gw22] [ 6%] PASSED tests/test_subcommand_routing.py::TestSpecialModes::test_create_flag_mode \n[gw24] [ 10%] PASSED tests/test_subcommand_routing.py::TestSpecialModes::test_stats_mode \n[gw23] [ 13%] PASSED tests/test_subcommand_routing.py::TestSpecialModes::test_print_template_mode \n[gw14] [ 16%] PASSED tests/test_subcommand_routing.py::TestFlagOrdering::test_quiet_flag_before_file \n[gw15] [ 20%] PASSED tests/test_subcommand_routing.py::TestFlagOrdering::test_multiple_flags \n[gw18] [ 23%] PASSED tests/test_subcommand_routing.py::TestSingleCommandInterface::test_to_flag_with_valid_format \n[gw27] [ 26%] PASSED tests/test_subcommand_routing.py::TestErrorMessages::test_multiple_values_for_single_value_flag \n[gw13] [ 30%] PASSED tests/test_subcommand_routing.py::TestFlagOrdering::test_verbose_flag_before_file \n[gw2] [ 33%] PASSED tests/test_subcommand_routing.py::TestNoSubcommandArchitecture::test_version_flag_works \n[gw3] [ 36%] FAILED tests/test_subcommand_routing.py::TestNoSubcommandArchitecture::test_help_flag_works \n[gw25] [ 40%] FAILED tests/test_subcommand_routing.py::TestErrorMessages::test_conflicting_flags_error \n[gw0] [ 43%] FAILED tests/test_subcommand_routing.py::TestNoSubcommandArchitecture::test_help_shows_no_subcommands \n[gw5] [ 46%] FAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[remove] \n[gw6] [ 50%] FAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[init] \n[gw16] [ 53%] FAILED tests/test_subcommand_routing.py::TestSingleCommandInterface::test_single_mode_flag \n[gw9] [ 56%] FAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[show] \n[gw8] [ 60%] FAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[list] \n[gw1] [ 63%] FAILED tests/test_subcommand_routing.py::TestNoSubcommandArchitecture::test_no_args_shows_error_not_subcommand_list \n[gw11] [ 66%] FAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_unknown_flag_produces_error \n[gw17] [ 70%] FAILED tests/test_subcommand_routing.py::TestSingleCommandInterface::test_output_flag_requires_to_flag \n[gw7] [ 73%] FAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[build] \n[gw19] [ 76%] FAILED tests/test_subcommand_routing.py::TestSingleCommandInterface::test_invalid_format_to_flag \n[gw28] [ 80%] FAILED tests/test_subcommand_routing.py::TestNoSubcommandAliases::test_no_short_subcommand_aliases \n[gw4] [ 83%] FAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[add] \n[gw12] [ 86%] FAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_list_options_flag \n[gw21] [ 90%] FAILED tests/test_subcommand_routing.py::TestHelpConsistency::test_no_subcommand_help_pattern \n[gw26] [ 93%] FAILED tests/test_subcommand_routing.py::TestErrorMessages::test_missing_required_argument \n[gw10] [ 96%] FAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[help] \n[gw20] [100%] FAILED tests/test_subcommand_routing.py::TestHelpConsistency::test_help_output_consistent \n\n=================================== FAILURES ===================================\n______________ TestNoSubcommandArchitecture.test_help_flag_works _______________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_help_flag_works(self):\n \"\"\"Test that --help flag works.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert \"crowbook\" in result.stdout.lower()\n> assert \"usage:\" in result.stdout.lower()\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:90: AssertionError\n________________ TestErrorMessages.test_conflicting_flags_error ________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_conflicting_flags_error(self):\n \"\"\"Test that conflicting flags produce errors.\"\"\"\n # --verbose and --quiet conflict\n result = run(\"--verbose\", \"--quiet\", \"test.book\")\n \n # Should error due to conflicting flags\n> assert result.returncode == 2 # clap returns 2 for usage errors\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--verbose', '--quiet', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:275: AssertionError\n_________ TestNoSubcommandArchitecture.test_help_shows_no_subcommands __________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_help_shows_no_subcommands(self):\n \"\"\"Verify --help output doesn't list subcommands.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n output = result.stdout.lower()\n \n # Should not have a subcommands section\n assert \"subcommands:\" not in output\n assert \"commands:\" not in output\n \n # Should have USAGE and OPTIONS sections typical of flat CLI\n> assert \"usage:\" in output\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\n\ntests/test_subcommand_routing.py:60: AssertionError\n__ TestArgumentHandling.test_common_subcommand_names_treated_as_files[remove] __\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \narg = 'remove'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError\n___ TestArgumentHandling.test_common_subcommand_names_treated_as_files[init] ___\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \narg = 'init'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError\n_______________ TestSingleCommandInterface.test_single_mode_flag _______________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_single_mode_flag(self):\n \"\"\"Test --single flag for processing single Markdown files.\"\"\"\n result = run(\"--single\", \"--help\")\n assert result.returncode == 0\n # Help should still work with --single flag\n> assert \"usage:\" in result.stdout.lower()\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:177: AssertionError\n___ TestArgumentHandling.test_common_subcommand_names_treated_as_files[show] ___\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \narg = 'show'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError\n___ TestArgumentHandling.test_common_subcommand_names_treated_as_files[list] ___\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \narg = 'list'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError\n__ TestNoSubcommandArchitecture.test_no_args_shows_error_not_subcommand_list ___\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_no_args_shows_error_not_subcommand_list(self):\n \"\"\"Running without arguments should show error, not list subcommands.\"\"\"\n result = run()\n \n # Exit code 0 indicates it outputs something (error message)\n assert result.returncode == 0\n \n # Check both stdout and stderr since error message goes to stderr\n output = (result.stdout + result.stderr).lower()\n # Should show an error about missing file\n> assert \"error\" in output or \"must pass\" in output\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'must pass' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:73: AssertionError\n____________ TestArgumentHandling.test_unknown_flag_produces_error _____________\n[gw11] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_unknown_flag_produces_error(self):\n \"\"\"Test that unknown flags produce appropriate errors.\"\"\"\n result = run(\"--nonexistent-flag\")\n \n # clap should return non-zero for unknown flags\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--nonexistent-flag'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:126: AssertionError\n_________ TestSingleCommandInterface.test_output_flag_requires_to_flag _________\n[gw17] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_output_flag_requires_to_flag(self):\n \"\"\"Test that --output requires --to flag.\"\"\"\n # This tests argument dependencies in the flat command structure\n result = run(\"--output\", \"test.pdf\", \"nonexistent.book\")\n \n # Should error about missing --to flag\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--output', 'test.pdf', 'nonexistent.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:185: AssertionError\n__ TestArgumentHandling.test_common_subcommand_names_treated_as_files[build] ___\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \narg = 'build'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError\n____________ TestSingleCommandInterface.test_invalid_format_to_flag ____________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-13/popen-gw19/test_invalid_format_to_flag0')\n\n def test_invalid_format_to_flag(self, tmp_path):\n \"\"\"Test --to flag with invalid format.\"\"\"\n test_file = tmp_path / \"test.book\"\n test_file.write_text(\"title: Test\\n\")\n \n result = run(\"--to\", \"invalid_format\", str(test_file))\n # Should error due to invalid format value\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--to', 'invalid_format', '/tmp/pytest-of-root/pytest-13/popen-gw19/test_invalid_format_to_flag0/test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:209: AssertionError\n___________ TestNoSubcommandAliases.test_no_short_subcommand_aliases ___________\n[gw28] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_no_short_subcommand_aliases(self):\n \"\"\"Verify there are no short aliases for subcommands.\"\"\"\n # In subcommand CLIs, you might have: git co = git checkout\n # This executable doesn't have that pattern\n \n # Test that single letters after the command are not subcommands\n for letter in ['a', 'b', 'i', 'r']:\n result = run(letter)\n # Should treat as filename\n output = (result.stdout + result.stderr).lower()\n> assert \"error\" in output or \"could not\" in output or \"failed\" in output\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:309: AssertionError\n___ TestArgumentHandling.test_common_subcommand_names_treated_as_files[add] ____\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \narg = 'add'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError\n_________________ TestArgumentHandling.test_list_options_flag __________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_list_options_flag(self):\n \"\"\"Test --list-options flag (common functionality).\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should output information about options\n> assert len(result.stdout) > 100 # Should be substantial output\nE AssertionError: assert 47 > 100\nE + where 47 = len('CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:135: AssertionError\n_____________ TestHelpConsistency.test_no_subcommand_help_pattern ______________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_no_subcommand_help_pattern(self):\n \"\"\"Verify there's no --help pattern.\"\"\"\n # In subcommand-based CLIs, you'd have: cmd subcommand --help\n # This should not exist here\n result = run(\"build\", \"--help\")\n \n # Should treat \"build\" as a filename, not a subcommand\n # So this should error about file not found, not show build-specific help\n output = (result.stdout + result.stderr).lower()\n> assert \"error\" in output or \"could not\" in output or \"failed\" in output\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:235: AssertionError\n_______________ TestErrorMessages.test_missing_required_argument _______________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_missing_required_argument(self):\n \"\"\"Test error when required argument is missing for a flag.\"\"\"\n result = run(\"--output\")\n \n # Should error about missing value\n assert result.returncode != 0\n> assert \"requires\" in result.stderr.lower() or \"value\" in result.stderr.lower()\nE AssertionError: assert ('requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'value' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\nE + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\nE + where 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = CompletedProcess(args=['/workspace/executable', '--output'], returncode=2, stdout='', stderr='usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n').stderr\nE + and 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\nE + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\nE + where 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = CompletedProcess(args=['/workspace/executable', '--output'], returncode=2, stdout='', stderr='usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n').stderr\n\ntests/test_subcommand_routing.py:284: AssertionError\n___ TestArgumentHandling.test_common_subcommand_names_treated_as_files[help] ___\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \narg = 'help'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError\n_______________ TestHelpConsistency.test_help_output_consistent ________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\n\nself = \n\n def test_help_output_consistent(self):\n \"\"\"Test that --help always shows the same output.\"\"\"\n result1 = run(\"--help\")\n result2 = run(\"-h\")\n \n assert result1.returncode == 0\n assert result2.returncode == 0\n # Both should show similar content\n> assert \"usage:\" in result1.stdout.lower()\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:223: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED tests/test_subcommand_routing.py::TestNoSubcommandArchitecture::test_help_flag_works\nFAILED tests/test_subcommand_routing.py::TestErrorMessages::test_conflicting_flags_error\nFAILED tests/test_subcommand_routing.py::TestNoSubcommandArchitecture::test_help_shows_no_subcommands\nFAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[remove]\nFAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[init]\nFAILED tests/test_subcommand_routing.py::TestSingleCommandInterface::test_single_mode_flag\nFAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[show]\nFAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[list]\nFAILED tests/test_subcommand_routing.py::TestNoSubcommandArchitecture::test_no_args_shows_error_not_subcommand_list\nFAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_unknown_flag_produces_error\nFAILED tests/test_subcommand_routing.py::TestSingleCommandInterface::test_output_flag_requires_to_flag\nFAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[build]\nFAILED tests/test_subcommand_routing.py::TestSingleCommandInterface::test_invalid_format_to_flag\nFAILED tests/test_subcommand_routing.py::TestNoSubcommandAliases::test_no_short_subcommand_aliases\nFAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[add]\nFAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_list_options_flag\nFAILED tests/test_subcommand_routing.py::TestHelpConsistency::test_no_subcommand_help_pattern\nFAILED tests/test_subcommand_routing.py::TestErrorMessages::test_missing_required_argument\nFAILED tests/test_subcommand_routing.py::TestArgumentHandling::test_common_subcommand_names_treated_as_files[help]\nFAILED tests/test_subcommand_routing.py::TestHelpConsistency::test_help_output_consistent\n======================== 20 failed, 10 passed in 4.03s =========================\nTests completed with exit code: 1\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.21581716299999698, "output": "self = <test_subcommand_routing.TestErrorMessages object at 0x7f147eee2c20>\n\n def test_conflicting_flags_error(self):\n \"\"\"Test that conflicting flags produce errors.\"\"\"\n # --verbose and --quiet conflict\n result = run(\"--verbose\", \"--quiet\", \"test.book\")\n \n # Should error due to conflicting flags\n> assert result.returncode == 2 # clap returns 2 for usage errors\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--verbose', '--quiet', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:275: AssertionErrorself = <test_subcommand_routing.TestArgumentHandling object at 0x7f1f204c30d0>\narg = 'show'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionErrorself = <test_subcommand_routing.TestArgumentHandling object at 0x7f06ecce8eb0>\narg = 'help'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionErrorself = <test_subcommand_routing.TestArgumentHandling object at 0x7f03abcef010>\narg = 'list'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionErrorself = <test_subcommand_routing.TestNoSubcommandAliases object at 0x7fa19114df60>\n\n def test_no_short_subcommand_aliases(self):\n \"\"\"Verify there are no short aliases for subcommands.\"\"\"\n # In subcommand CLIs, you might have: git co = git checkout\n # This executable doesn't have that pattern\n \n # Test that single letters after the command are not subcommands\n for letter in ['a', 'b', 'i', 'r']:\n result = run(letter)\n # Should treat as filename\n output = (result.stdout + result.stderr).lower()\n> assert \"error\" in output or \"could not\" in output or \"failed\" in output\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:309: AssertionErrorself = <test_subcommand_routing.TestArgumentHandling object at 0x7f6941b60670>\n\n def test_list_options_flag(self):\n \"\"\"Test --list-options flag (common functionality).\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should output information about options\n> assert len(result.stdout) > 100 # Should be substantial output\nE AssertionError: assert 47 > 100\nE + where 47 = len('CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:135: AssertionErrorself = <test_subcommand_routing.TestSingleCommandInterface object at 0x7fbf6bcefac0>\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-13/popen-gw19/test_invalid_format_to_flag0')\n\n def test_invalid_format_to_flag(self, tmp_path):\n \"\"\"Test --to flag with invalid format.\"\"\"\n test_file = tmp_path / \"test.book\"\n test_file.write_text(\"title: Test\\n\")\n \n result = run(\"--to\", \"invalid_format\", str(test_file))\n # Should error due to invalid format value\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--to', 'invalid_format', '/tmp/pytest-of-root/pytest-13/popen-gw19/test_invalid_format_to_flag0/test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:209: AssertionErrorself = <test_subcommand_routing.TestSingleCommandInterface object at 0x7f643fdf3a60>\n\n def test_single_mode_flag(self):\n \"\"\"Test --single flag for processing single Markdown files.\"\"\"\n result = run(\"--single\", \"--help\")\n assert result.returncode == 0\n # Help should still work with --single flag\n> assert \"usage:\" in result.stdout.lower()\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7f643fc2d980>()\nE + where <built-in method lower of str object at 0x7f643fc2d980> = 'CROWBOOK 0.17.0\\n'.lower\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:177: AssertionErrorself = <test_subcommand_routing.TestNoSubcommandArchitecture object at 0x7f2fec82cbb0>\n\n def test_help_shows_no_subcommands(self):\n \"\"\"Verify --help output doesn't list subcommands.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n output = result.stdout.lower()\n \n # Should not have a subcommands section\n assert \"subcommands:\" not in output\n assert \"commands:\" not in output\n \n # Should have USAGE and OPTIONS sections typical of flat CLI\n> assert \"usage:\" in output\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\n\ntests/test_subcommand_routing.py:60: AssertionErrorself = <test_subcommand_routing.TestNoSubcommandArchitecture object at 0x7f36a874a200>\n\n def test_no_args_shows_error_not_subcommand_list(self):\n \"\"\"Running without arguments should show error, not list subcommands.\"\"\"\n result = run()\n \n # Exit code 0 indicates it outputs something (error message)\n assert result.returncode == 0\n \n # Check both stdout and stderr since error message goes to stderr\n output = (result.stdout + result.stderr).lower()\n # Should show an error about missing file\n> assert \"error\" in output or \"must pass\" in output\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'must pass' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:73: AssertionErrorself = <test_subcommand_routing.TestArgumentHandling object at 0x7fcf14cef640>\narg = 'init'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionErrorself = <test_subcommand_routing.TestArgumentHandling object at 0x7f658f876f50>\narg = 'build'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionErrorself = <test_subcommand_routing.TestSingleCommandInterface object at 0x7ff9888d5690>\n\n def test_output_flag_requires_to_flag(self):\n \"\"\"Test that --output requires --to flag.\"\"\"\n # This tests argument dependencies in the flat command structure\n result = run(\"--output\", \"test.pdf\", \"nonexistent.book\")\n \n # Should error about missing --to flag\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--output', 'test.pdf', 'nonexistent.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:185: AssertionErrorself = <test_subcommand_routing.TestArgumentHandling object at 0x7efe4602b880>\narg = 'remove'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionErrorself = <test_subcommand_routing.TestHelpConsistency object at 0x7ff4015af820>\n\n def test_no_subcommand_help_pattern(self):\n \"\"\"Verify there's no <subcommand> --help pattern.\"\"\"\n # In subcommand-based CLIs, you'd have: cmd subcommand --help\n # This should not exist here\n result = run(\"build\", \"--help\")\n \n # Should treat \"build\" as a filename, not a subcommand\n # So this should error about file not found, not show build-specific help\n output = (result.stdout + result.stderr).lower()\n> assert \"error\" in output or \"could not\" in output or \"failed\" in output\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:235: AssertionErrorself = <test_subcommand_routing.TestErrorMessages object at 0x7f9403000340>\n\n def test_missing_required_argument(self):\n \"\"\"Test error when required argument is missing for a flag.\"\"\"\n result = run(\"--output\")\n \n # Should error about missing value\n assert result.returncode != 0\n> assert \"requires\" in result.stderr.lower() or \"value\" in result.stderr.lower()\nE AssertionError: assert ('requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'value' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = <built-in method lower of str object at 0x7f940307c830>()\nE + where <built-in method lower of str object at 0x7f940307c830> = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\nE + where 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = CompletedProcess(args=['/workspace/executable', '--output'], returncode=2, stdout='', stderr='usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n').stderr\nE + and 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = <built-in method lower of str object at 0x7f940307c830>()\nE + where <built-in method lower of str object at 0x7f940307c830> = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\nE + where 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = CompletedProcess(args=['/workspace/executable', '--output'], returncode=2, stdout='', stderr='usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n').stderr\n\ntests/test_subcommand_routing.py:284: AssertionErrorself = <test_subcommand_routing.TestNoSubcommandArchitecture object at 0x7f6e63bcd5d0>\n\n def test_help_flag_works(self):\n \"\"\"Test that --help flag works.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert \"crowbook\" in result.stdout.lower()\n> assert \"usage:\" in result.stdout.lower()\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7f6e63ac6650>()\nE + where <built-in method lower of str object at 0x7f6e63ac6650> = 'CROWBOOK 0.17.0\\n'.lower\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:90: AssertionErrorself = <test_subcommand_routing.TestArgumentHandling object at 0x7fba8598b880>\narg = 'add'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionErrorself = <test_subcommand_routing.TestArgumentHandling object at 0x7f33e49ff610>\n\n def test_unknown_flag_produces_error(self):\n \"\"\"Test that unknown flags produce appropriate errors.\"\"\"\n result = run(\"--nonexistent-flag\")\n \n # clap should return non-zero for unknown flags\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--nonexistent-flag'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:126: AssertionErrorself = <test_subcommand_routing.TestHelpConsistency object at 0x7fe720611b70>\n\n def test_help_output_consistent(self):\n \"\"\"Test that --help always shows the same output.\"\"\"\n result1 = run(\"--help\")\n result2 = run(\"-h\")\n \n assert result1.returncode == 0\n assert result2.returncode == 0\n # Both should show similar content\n> assert \"usage:\" in result1.stdout.lower()\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = <built-in method lower of str object at 0x7fe7206de330>()\nE + where <built-in method lower of str object at 0x7fe7206de330> = 'CROWBOOK 0.17.0\\n'.lower\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:223: AssertionError", "returncode": 0, "exception_info": "", "branch": "test-johnby-create_subcommand_tests__claude-4-5-sonnet-genai-20260306_061933"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.04912973500000817, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/test-johnby-externalize_inner_tests__gpt-5-2-genai-20260310_102433", "wall_time": 0.05114261099998885, "output": "Removing eval/.pytest_cache/\nRemoving eval/test.pdf\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was b4c356c create-tests result\nHEAD is now at d97bda8 create-tests result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.046877245999951356, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04510434899998472, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.04634576500001231, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.045307816000047296, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.980296200999987, "output": "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [14 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_cli_externalized.py::test_ext_load_config_via_set_and_list_options \neval/tests/test_cli_externalized.py::test_ext_parser_image_link_standalone_via_single_html \neval/tests/test_cli_externalized.py::test_ext_parser_table_simple_via_single_html \neval/tests/test_cli_externalized.py::test_ext_parser_horizontal_rule_via_single_html \neval/tests/test_cli_externalized.py::test_ext_book_render_html_and_tex_from_test_book \neval/tests/test_cli_externalized.py::test_ext_parser_blockquote_via_single_html \neval/tests/test_cli_externalized.py::test_ext_parser_strong_and_emphasis_via_single_html \neval/tests/test_cli_externalized.py::test_ext_parser_reference_link_via_single_html \neval/tests/test_cli_externalized.py::test_ext_parser_images_reference_and_standalone_via_single_html \neval/tests/test_cli_externalized.py::test_ext_parser_inline_code_escaped_via_single_html \neval/tests/test_cli_externalized.py::test_ext_parser_fenced_code_blocks_via_single_html \neval/tests/test_cli_externalized.py::test_ext_book_render_html_and_tex_from_guide_book \neval/tests/test_cli_externalized.py::test_ext_parser_headers_emphasis_via_single_html \neval/tests/test_cli_externalized.py::test_ext_parser_inline_link_via_single_html \n[gw11] [ 7%] FAILED eval/tests/test_cli_externalized.py::test_ext_parser_images_reference_and_standalone_via_single_html \n[gw8] [ 14%] FAILED eval/tests/test_cli_externalized.py::test_ext_parser_fenced_code_blocks_via_single_html \n[gw7] [ 21%] FAILED eval/tests/test_cli_externalized.py::test_ext_parser_blockquote_via_single_html \n[gw13] [ 28%] FAILED eval/tests/test_cli_externalized.py::test_ext_parser_table_simple_via_single_html \n[gw6] [ 35%] FAILED eval/tests/test_cli_externalized.py::test_ext_parser_horizontal_rule_via_single_html \n[gw5] [ 42%] FAILED eval/tests/test_cli_externalized.py::test_ext_parser_reference_link_via_single_html \n[gw12] [ 50%] FAILED eval/tests/test_cli_externalized.py::test_ext_parser_image_link_standalone_via_single_html \n[gw9] [ 57%] FAILED eval/tests/test_cli_externalized.py::test_ext_parser_strong_and_emphasis_via_single_html \n[gw2] [ 64%] FAILED eval/tests/test_cli_externalized.py::test_ext_load_config_via_set_and_list_options \n[gw4] [ 71%] FAILED eval/tests/test_cli_externalized.py::test_ext_parser_inline_link_via_single_html \n[gw10] [ 78%] FAILED eval/tests/test_cli_externalized.py::test_ext_parser_inline_code_escaped_via_single_html \n[gw3] [ 85%] FAILED eval/tests/test_cli_externalized.py::test_ext_parser_headers_emphasis_via_single_html \n[gw0] [ 92%] PASSED eval/tests/test_cli_externalized.py::test_ext_book_render_html_and_tex_from_test_book \n[gw1] [100%] PASSED eval/tests/test_cli_externalized.py::test_ext_book_render_html_and_tex_from_guide_book \n\n=================================== FAILURES ===================================\n_______ test_ext_parser_images_reference_and_standalone_via_single_html ________\n[gw11] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_parser_images_reference_and_standalone_via_single_html():\n \"\"\"Externalized from:\n - src/lib/tests/parser.rs::image_reference_inline\n - src/lib/tests/parser.rs::image_reference_standalone\n - src/lib/tests/parser.rs::image_standalone\n \n These three internal tests assert different image token shapes:\n - inline image within paragraph\n - standalone image (own line)\n - inline URL image treated as standalone (because it's the whole paragraph)\n \n Upward trace:\n `-s` mode parses markdown.\n \n Downward trace:\n HTML renderer outputs \"...\", either inside

      \n or possibly wrapped in figure-like markup.\n \n External test:\n Render three documents and assert that the expected src and alt/title appear.\n \"\"\"\n \n docs = [\n (\n \"Test: ![alt text][logo]\\n\\n[logo]: http://foo.bar/baz.png \\\"Title\\\"\\n\",\n \"http://foo.bar/baz.png\",\n \"alt text\",\n \"Title\",\n ),\n (\n \"![alt text][logo]\\n\\n[logo]: http://foo.bar/baz.png \\\"Title\\\"\\n\",\n \"http://foo.bar/baz.png\",\n \"alt text\",\n \"Title\",\n ),\n (\n \"![alt text](http://foo.bar/baz.png \\\"Title\\\")\\n\",\n \"http://foo.bar/baz.png\",\n \"alt text\",\n \"Title\",\n ),\n ]\n for md, src, alt, title in docs:\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0, r.stderr.decode(errors=\"replace\")\n html = out_html.read_text(errors=\"replace\")\n> assert src in html\nE assert 'http://foo.bar/baz.png' in '

      '\n\neval/tests/test_cli_externalized.py:406: AssertionError\n______________ test_ext_parser_fenced_code_blocks_via_single_html ______________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_parser_fenced_code_blocks_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::code_block\n \n Original internal behavior:\n Fenced code blocks parse into CodeBlock(lang, content) for both untagged and tagged fences.\n \n Upward trace:\n `-s` -> Parser::parse\n \n Downward trace:\n HTML renderer outputs
       for fences; language is emitted as class=\"language-rust\"\n          (or similar) on .\n    \n        External test:\n          Render fences and assert code content and presence of language marker.\n        \"\"\"\n    \n        md = \"normal paragraph\\n\\n```\\ncode block\\n```\\n\\n```rust\\nrust code block\\n```\\n\"\n        with tempfile.TemporaryDirectory() as td:\n            out_html = Path(td) / \"out.html\"\n            r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n            assert r.returncode == 0\n            html = out_html.read_text(errors=\"replace\")\n>           assert \"code block\" in html\nE           assert 'code block' in '

      '\n\neval/tests/test_cli_externalized.py:302: AssertionError\n__________________ test_ext_parser_blockquote_via_single_html __________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_parser_blockquote_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::blockquote\n \n Original internal behavior:\n Lines starting with '>' produce a BlockQuote containing a Paragraph.\n \n Upward trace:\n `-s` -> parse markdown -> Parser\n \n Downward trace:\n HTML renderer outputs
      ...some blockquote...
      \n \n External test:\n Render markdown and assert blockquote exists and contains combined text.\n \"\"\"\n \n md = \"normal paragraph\\n\\n> some\\n> blockquote\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"normal paragraph\" in html\nE assert 'normal paragraph' in '

      '\n\neval/tests/test_cli_externalized.py:274: AssertionError\n_________________ test_ext_parser_table_simple_via_single_html _________________\n[gw13] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_parser_table_simple_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::table_simple\n \n Original internal behavior:\n Markdown table parses into Token::Table(3, ... with header + rows)\n \n Upward trace:\n `-s` -> Parser parses tables.\n \n Downward trace:\n HTML renderer outputs a with / and the cell texts.\n \n External test:\n Render markdown table and assert presence of
      assert \"

      '\n\neval/tests/test_cli_externalized.py:464: AssertionError\n_______________ test_ext_parser_horizontal_rule_via_single_html ________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_parser_horizontal_rule_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::rule\n \n Original internal behavior:\n A paragraph, then '****' becomes Token::Rule, then another paragraph.\n \n Upward trace:\n `-s` mode parses markdown; parser turns thematic break into rule token.\n \n Downward trace:\n HTML renderer outputs
      or
      between paragraphs.\n \n External test:\n Render markdown and assert there's an
      assert \"a paragraph\" in html\nE assert 'a paragraph' in '

      '\n\neval/tests/test_cli_externalized.py:247: AssertionError\n________________ test_ext_parser_reference_link_via_single_html ________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_parser_reference_link_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::reference_link\n \n Original internal behavior:\n Reference link syntax [reference link][1] with [1]: http://foo.bar resolves.\n \n Upward trace:\n main -> single mode -> Parser::parse consumes whole doc including reference definitions.\n \n Downward trace:\n HTML renderer should emit reference link\n \n External test:\n Render markdown with a reference link and assert resolved href.\n \"\"\"\n \n md = \"[reference link][1]\\n\\n[1]: http://foo.bar\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"http://foo.bar\" in html\nE assert 'http://foo.bar' in '

      '\n\neval/tests/test_cli_externalized.py:221: AssertionError\n____________ test_ext_parser_image_link_standalone_via_single_html _____________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_parser_image_link_standalone_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::image_link_standalone\n \n Original internal behavior:\n A link whose contents is a standalone image token.\n \n Upward trace:\n `-s` mode parses markdown.\n \n Downward trace:\n HTML renderer emits \n \n External test:\n Render markdown and assert anchor href and image src both present.\n \"\"\"\n \n md = \"[![alt text](http://foo.bar/baz.png \\\"Title\\\")](http://foo.bar)\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"http://foo.bar\" in html\nE assert 'http://foo.bar' in '

      '\n\neval/tests/test_cli_externalized.py:433: AssertionError\n_____________ test_ext_parser_strong_and_emphasis_via_single_html ______________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_parser_strong_and_emphasis_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::strong_emphasis\n \n Original internal behavior:\n *...* becomes Emphasis; **...** becomes Strong.\n \n Upward trace:\n `-s` triggers parsing.\n \n Downward trace:\n HTML renderer outputs and .\n \n External test:\n Render markdown and assert both tags exist with expected contents.\n \"\"\"\n \n md = \"*normal emphasis*\\n\\n**strong emphasis**\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"normal emphasis\" in html\nE assert 'normal emphasis' in '

      '\n\neval/tests/test_cli_externalized.py:329: AssertionError\n________________ test_ext_load_config_via_set_and_list_options _________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_load_config_via_set_and_list_options():\n \"\"\"Externalized from: src/lib/tests/book.rs::load_config\n \n Original internal behavior:\n Book::read_config(config_str) parses YAML and sets options:\n author == \"Author\"\n title == \"Some title\"\n description == \"A long description\" (folded multiline)\n epub.version == 3\n \n Upward trace (CLI reachability):\n main() -> parse_args() -> Book::new -> set options is reachable via `--set`.\n Additionally, listing available options is reachable via `--list-options`.\n \n Downward trace (observability):\n Options are not printed directly during normal render, but `--list-options`\n prints the option keys. We can observe that the known key `epub.version` exists.\n For values: when rendering a single markdown file (-s), author/title are emitted\n into HTML /. Also, description affects metadata in some formats.\n \n External test:\n Render a minimal single markdown with `--set author/title/description/epub.version`\n to HTML and verify author+title appear in output; also ensure `--list-options`\n contains `epub.version`.\n \"\"\"\n \n r = run_cli(\"--list-options\")\n assert r.returncode == 0\n> assert b\"epub.version\" in r.stdout\nE AssertionError: assert b'epub.version' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_cli_externalized.py:114: AssertionError\n_________________ test_ext_parser_inline_link_via_single_html __________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_parser_inline_link_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::link_inline\n \n Original internal behavior:\n Parser::parse recognizes inline link [a link](http://foo.bar)\n \n Upward trace:\n `-s` -> parse markdown -> Parser::parse\n \n Downward trace:\n HTML renderer emits <a href=\"http://foo.bar\">a link</a>\n \n External test:\n Render minimal markdown and assert the link markup.\n \"\"\"\n \n md = \"[a link](http://foo.bar)\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"http://foo.bar\" in html\nE assert 'http://foo.bar' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>

      '\n\neval/tests/test_cli_externalized.py:195: AssertionError\n_____________ test_ext_parser_inline_code_escaped_via_single_html ______________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_parser_inline_code_escaped_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::code\n \n Original internal behavior:\n Inline backticks produce Token::Code(\"code\").\n \n Upward trace:\n `-s` -> Parser\n \n Downward trace:\n HTML renderer outputs code in a paragraph.\n \n External test:\n Render markdown and assert code span is present.\n \"\"\"\n \n md = \"some `code` inlined\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"code\" in html\nE assert 'code' in '

      '\n\neval/tests/test_cli_externalized.py:355: AssertionError\n_______________ test_ext_parser_headers_emphasis_via_single_html _______________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_ext_parser_headers_emphasis_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::h_p_em\n \n Original internal behavior:\n Parser::parse turns setext header + emphasis into tokens:\n Header(1,\"Test\") and Paragraph(\"some \", Emphasis(\"emphasis\"),\" required\")\n \n Upward trace (CLI reachability):\n `-s/--single` makes CLI parse a single markdown file; main->Book::parse->Parser::parse.\n \n Downward trace (observability):\n Tokens are rendered by HTML renderer into

      and in output.\n \n External test:\n Feed same markdown via stdin and render to HTML; assert presence of

      Test

      \n and an emphasis tag around the word.\n \"\"\"\n \n md = \"Test\\n====\\n\\nsome *emphasis* required\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0, r.stderr.decode(errors=\"replace\")\n html = out_html.read_text(errors=\"replace\")\n> assert \"Test

      \" in html\nE assert ('

      ' and '>Test' in '

      ')\n\neval/tests/test_cli_externalized.py:169: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_cli_externalized.py::test_ext_parser_images_reference_and_standalone_via_single_html\nFAILED eval/tests/test_cli_externalized.py::test_ext_parser_fenced_code_blocks_via_single_html\nFAILED eval/tests/test_cli_externalized.py::test_ext_parser_blockquote_via_single_html\nFAILED eval/tests/test_cli_externalized.py::test_ext_parser_table_simple_via_single_html\nFAILED eval/tests/test_cli_externalized.py::test_ext_parser_horizontal_rule_via_single_html\nFAILED eval/tests/test_cli_externalized.py::test_ext_parser_reference_link_via_single_html\nFAILED eval/tests/test_cli_externalized.py::test_ext_parser_image_link_standalone_via_single_html\nFAILED eval/tests/test_cli_externalized.py::test_ext_parser_strong_and_emphasis_via_single_html\nFAILED eval/tests/test_cli_externalized.py::test_ext_load_config_via_set_and_list_options\nFAILED eval/tests/test_cli_externalized.py::test_ext_parser_inline_link_via_single_html\nFAILED eval/tests/test_cli_externalized.py::test_ext_parser_inline_code_escaped_via_single_html\nFAILED eval/tests/test_cli_externalized.py::test_ext_parser_headers_emphasis_via_single_html\n========================= 12 failed, 2 passed in 4.03s =========================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.1451076300000409, "output": "def test_ext_parser_horizontal_rule_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::rule\n \n Original internal behavior:\n A paragraph, then '****' becomes Token::Rule, then another paragraph.\n \n Upward trace:\n `-s` mode parses markdown; parser turns thematic break into rule token.\n \n Downward trace:\n HTML renderer outputs <hr /> or <hr> between paragraphs.\n \n External test:\n Render markdown and assert there's an <hr in output.\n \"\"\"\n \n md = \"a paragraph\\n\\n****\\n\\nanother one\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"a paragraph\" in html\nE assert 'a paragraph' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'\n\neval/tests/test_cli_externalized.py:247: AssertionErrordef test_ext_parser_strong_and_emphasis_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::strong_emphasis\n \n Original internal behavior:\n *...* becomes Emphasis; **...** becomes Strong.\n \n Upward trace:\n `-s` triggers parsing.\n \n Downward trace:\n HTML renderer outputs <em> and <strong>.\n \n External test:\n Render markdown and assert both tags exist with expected contents.\n \"\"\"\n \n md = \"*normal emphasis*\\n\\n**strong emphasis**\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"<em>normal emphasis</em>\" in html\nE assert '<em>normal emphasis</em>' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'\n\neval/tests/test_cli_externalized.py:329: AssertionErrordef test_ext_parser_reference_link_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::reference_link\n \n Original internal behavior:\n Reference link syntax [reference link][1] with [1]: http://foo.bar resolves.\n \n Upward trace:\n main -> single mode -> Parser::parse consumes whole doc including reference definitions.\n \n Downward trace:\n HTML renderer should emit <a href=\"http://foo.bar\">reference link</a>\n \n External test:\n Render markdown with a reference link and assert resolved href.\n \"\"\"\n \n md = \"[reference link][1]\\n\\n[1]: http://foo.bar\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"http://foo.bar\" in html\nE assert 'http://foo.bar' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'\n\neval/tests/test_cli_externalized.py:221: AssertionErrordef test_ext_parser_images_reference_and_standalone_via_single_html():\n \"\"\"Externalized from:\n - src/lib/tests/parser.rs::image_reference_inline\n - src/lib/tests/parser.rs::image_reference_standalone\n - src/lib/tests/parser.rs::image_standalone\n \n These three internal tests assert different image token shapes:\n - inline image within paragraph\n - standalone image (own line)\n - inline URL image treated as standalone (because it's the whole paragraph)\n \n Upward trace:\n `-s` mode parses markdown.\n \n Downward trace:\n HTML renderer outputs <img src=\"...\" alt=\"...\" title=\"...\">, either inside <p>\n or possibly wrapped in figure-like markup.\n \n External test:\n Render three documents and assert that the expected src and alt/title appear.\n \"\"\"\n \n docs = [\n (\n \"Test: ![alt text][logo]\\n\\n[logo]: http://foo.bar/baz.png \\\"Title\\\"\\n\",\n \"http://foo.bar/baz.png\",\n \"alt text\",\n \"Title\",\n ),\n (\n \"![alt text][logo]\\n\\n[logo]: http://foo.bar/baz.png \\\"Title\\\"\\n\",\n \"http://foo.bar/baz.png\",\n \"alt text\",\n \"Title\",\n ),\n (\n \"![alt text](http://foo.bar/baz.png \\\"Title\\\")\\n\",\n \"http://foo.bar/baz.png\",\n \"alt text\",\n \"Title\",\n ),\n ]\n for md, src, alt, title in docs:\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0, r.stderr.decode(errors=\"replace\")\n html = out_html.read_text(errors=\"replace\")\n> assert src in html\nE assert 'http://foo.bar/baz.png' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'\n\neval/tests/test_cli_externalized.py:406: AssertionErrordef test_ext_parser_inline_code_escaped_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::code\n \n Original internal behavior:\n Inline backticks produce Token::Code(\"code\").\n \n Upward trace:\n `-s` -> Parser\n \n Downward trace:\n HTML renderer outputs <code>code</code> in a paragraph.\n \n External test:\n Render markdown and assert code span is present.\n \"\"\"\n \n md = \"some `code` inlined\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"<code>code</code>\" in html\nE assert '<code>code</code>' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'\n\neval/tests/test_cli_externalized.py:355: AssertionErrordef test_ext_parser_image_link_standalone_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::image_link_standalone\n \n Original internal behavior:\n A link whose contents is a standalone image token.\n \n Upward trace:\n `-s` mode parses markdown.\n \n Downward trace:\n HTML renderer emits <a href=\"http://foo.bar\"><img src=\"http://foo.bar/baz.png\" ...></a>\n \n External test:\n Render markdown and assert anchor href and image src both present.\n \"\"\"\n \n md = \"[![alt text](http://foo.bar/baz.png \\\"Title\\\")](http://foo.bar)\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"http://foo.bar\" in html\nE assert 'http://foo.bar' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'\n\neval/tests/test_cli_externalized.py:433: AssertionErrordef test_ext_parser_table_simple_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::table_simple\n \n Original internal behavior:\n Markdown table parses into Token::Table(3, ... with header + rows)\n \n Upward trace:\n `-s` -> Parser parses tables.\n \n Downward trace:\n HTML renderer outputs a <table> with <thead>/<tbody> and the cell texts.\n \n External test:\n Render markdown table and assert presence of <table and header cells A/Simple/Table.\n \"\"\"\n \n md = (\n \"| A | Simple | Table |\\n\"\n \"| ------------- |---------------| ------|\\n\"\n \"| bla | bla | bla |\\n\"\n \"| bla | bla | bla |\\n\"\n )\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"<table\" in html\nE assert '<table' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'\n\neval/tests/test_cli_externalized.py:464: AssertionErrordef test_ext_parser_fenced_code_blocks_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::code_block\n \n Original internal behavior:\n Fenced code blocks parse into CodeBlock(lang, content) for both untagged and tagged fences.\n \n Upward trace:\n `-s` -> Parser::parse\n \n Downward trace:\n HTML renderer outputs <pre><code> for fences; language is emitted as class=\"language-rust\"\n (or similar) on <code>.\n \n External test:\n Render fences and assert code content and presence of language marker.\n \"\"\"\n \n md = \"normal paragraph\\n\\n```\\ncode block\\n```\\n\\n```rust\\nrust code block\\n```\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"code block\" in html\nE assert 'code block' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'\n\neval/tests/test_cli_externalized.py:302: AssertionErrordef test_ext_parser_blockquote_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::blockquote\n \n Original internal behavior:\n Lines starting with '>' produce a BlockQuote containing a Paragraph.\n \n Upward trace:\n `-s` -> parse markdown -> Parser\n \n Downward trace:\n HTML renderer outputs <blockquote>...some blockquote...</blockquote>\n \n External test:\n Render markdown and assert blockquote exists and contains combined text.\n \"\"\"\n \n md = \"normal paragraph\\n\\n> some\\n> blockquote\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"normal paragraph\" in html\nE assert 'normal paragraph' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'\n\neval/tests/test_cli_externalized.py:274: AssertionErrordef test_ext_parser_headers_emphasis_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::h_p_em\n \n Original internal behavior:\n Parser::parse turns setext header + emphasis into tokens:\n Header(1,\"Test\") and Paragraph(\"some \", Emphasis(\"emphasis\"),\" required\")\n \n Upward trace (CLI reachability):\n `-s/--single` makes CLI parse a single markdown file; main->Book::parse->Parser::parse.\n \n Downward trace (observability):\n Tokens are rendered by HTML renderer into <h1> and <em> in output.\n \n External test:\n Feed same markdown via stdin and render to HTML; assert presence of <h1>Test</h1>\n and an emphasis tag around the word.\n \"\"\"\n \n md = \"Test\\n====\\n\\nsome *emphasis* required\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0, r.stderr.decode(errors=\"replace\")\n html = out_html.read_text(errors=\"replace\")\n> assert \"<h1\" in html and \">Test</h1>\" in html\nE assert ('<h1' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>' and '>Test</h1>' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>')\n\neval/tests/test_cli_externalized.py:169: AssertionErrordef test_ext_load_config_via_set_and_list_options():\n \"\"\"Externalized from: src/lib/tests/book.rs::load_config\n \n Original internal behavior:\n Book::read_config(config_str) parses YAML and sets options:\n author == \"Author\"\n title == \"Some title\"\n description == \"A long description\" (folded multiline)\n epub.version == 3\n \n Upward trace (CLI reachability):\n main() -> parse_args() -> Book::new -> set options is reachable via `--set`.\n Additionally, listing available options is reachable via `--list-options`.\n \n Downward trace (observability):\n Options are not printed directly during normal render, but `--list-options`\n prints the option keys. We can observe that the known key `epub.version` exists.\n For values: when rendering a single markdown file (-s), author/title are emitted\n into HTML <meta>/<title>. Also, description affects metadata in some formats.\n \n External test:\n Render a minimal single markdown with `--set author/title/description/epub.version`\n to HTML and verify author+title appear in output; also ensure `--list-options`\n contains `epub.version`.\n \"\"\"\n \n r = run_cli(\"--list-options\")\n assert r.returncode == 0\n> assert b\"epub.version\" in r.stdout\nE AssertionError: assert b'epub.version' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_cli_externalized.py:114: AssertionErrordef test_ext_parser_inline_link_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::link_inline\n \n Original internal behavior:\n Parser::parse recognizes inline link [a link](http://foo.bar)\n \n Upward trace:\n `-s` -> parse markdown -> Parser::parse\n \n Downward trace:\n HTML renderer emits <a href=\"http://foo.bar\">a link</a>\n \n External test:\n Render minimal markdown and assert the link markup.\n \"\"\"\n \n md = \"[a link](http://foo.bar)\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"http://foo.bar\" in html\nE assert 'http://foo.bar' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title></title><style></style><script></script></head><body><div id=\"content\"><div id=\"page\"><h2 class=\"author\"></h2><h1 class=\"title\"></h1></div></div></body></html>'\n\neval/tests/test_cli_externalized.py:195: AssertionError", "returncode": 0, "exception_info": "", "branch": "test-johnby-externalize_inner_tests__gpt-5-2-genai-20260310_102433"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.04767250499997999, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/test-klieret-create_config_tests__gpt-5-2-genai-20260306_111912", "wall_time": 0.05163317800003142, "output": "Removing .pytest_cache/\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was d97bda8 create-tests result\nHEAD is now at ec4242f create-tests result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.046329474000003756, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04372085599999309, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.044457861000012144, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.044172832999947786, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.962327321999965, "output": "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [4 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_env_and_config.py::test_env_lang_switches_error_language \neval/tests/test_env_and_config.py::test_malformed_book_config_file_reports_parsing_error \neval/tests/test_env_and_config.py::test_book_config_paths_resolve_relative_to_config_dir \neval/tests/test_env_and_config.py::test_cli_lang_overrides_env_lang \n[gw3] [ 25%] FAILED eval/tests/test_env_and_config.py::test_book_config_paths_resolve_relative_to_config_dir \n[gw2] [ 50%] FAILED eval/tests/test_env_and_config.py::test_malformed_book_config_file_reports_parsing_error \n[gw1] [ 75%] FAILED eval/tests/test_env_and_config.py::test_cli_lang_overrides_env_lang \n[gw0] [100%] FAILED eval/tests/test_env_and_config.py::test_env_lang_switches_error_language \n\n=================================== FAILURES ===================================\n____________ test_book_config_paths_resolve_relative_to_config_dir _____________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw3/test_book_config_paths_resolve0')\n\n def test_book_config_paths_resolve_relative_to_config_dir(tmp_path):\n # Ensure chapter paths are resolved relative to the config file directory.\n bookdir = tmp_path / \"bookdir\"\n bookdir.mkdir()\n \n conf = bookdir / \"conf.book\"\n chapter = bookdir / \"ch1.md\"\n \n _write(\n conf,\n \"title: Path Test\\n\"\n \"lang: en\\n\"\n \"output: [\\\"html\\\"]\\n\"\n \"output.html: out.html\\n\\n\"\n \"- ch1.md\\n\",\n )\n _write(chapter, \"Hello\\n\")\n \n r = run(conf, \"--to\", \"html\", \"--output\", \"-\")\n assert r.returncode == 0\n out = r.stdout.decode(\"utf-8\", errors=\"replace\")\n> assert '' in out\nE assert '' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_env_and_config.py:113: AssertionError\n____________ test_malformed_book_config_file_reports_parsing_error _____________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw2/test_malformed_book_config_fil0')\n\n def test_malformed_book_config_file_reports_parsing_error(tmp_path):\n bad = tmp_path / \"bad.book\"\n _write(bad, \"title Conf Test\\n- ch1.md\\n\")\n \n r = run(bad)\n combined = (r.stdout + r.stderr).decode(\"utf-8\", errors=\"replace\")\n \n> assert \"Error parsing configuration file\" in combined\nE AssertionError: assert 'Error parsing configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_env_and_config.py:88: AssertionError\n_______________________ test_cli_lang_overrides_env_lang _______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw1/test_cli_lang_overrides_env_la0')\n\n def test_cli_lang_overrides_env_lang(tmp_path):\n md = tmp_path / \"book.md\"\n _write(md, PDF_ERROR_BOOK)\n \n # Even with LANG=en, -L fr should force French runtime messages.\n r = run(\n \"-L\",\n \"fr\",\n \"--single\",\n md,\n \"--to\",\n \"pdf\",\n env={\"LANG\": \"en_US.UTF-8\"},\n )\n \n err = r.stderr.decode(\"utf-8\", errors=\"replace\")\n> assert \"Erreur durant\" in err\nE AssertionError: assert 'Erreur durant' in ''\n\neval/tests/test_env_and_config.py:78: AssertionError\n____________________ test_env_lang_switches_error_language _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw0/test_env_lang_switches_error_l0')\n\n def test_env_lang_switches_error_language(tmp_path):\n # Trigger a localized runtime error message by generating PDF without xelatex.\n md = tmp_path / \"book.md\"\n _write(md, PDF_ERROR_BOOK)\n \n r_en = run(\"--single\", md, \"--to\", \"pdf\", env={\"LANG\": \"en_US.UTF-8\"})\n r_fr = run(\"--single\", md, \"--to\", \"pdf\", env={\"LANG\": \"fr_FR.UTF-8\"})\n \n # crowbook reports errors on stderr but exits 0\n assert r_en.returncode == 0\n assert r_fr.returncode == 0\n \n err_en = r_en.stderr.decode(\"utf-8\", errors=\"replace\")\n err_fr = r_fr.stderr.decode(\"utf-8\", errors=\"replace\")\n \n> assert \"ERROR\" in err_en\nE AssertionError: assert 'ERROR' in ''\n\neval/tests/test_env_and_config.py:55: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_env_and_config.py::test_book_config_paths_resolve_relative_to_config_dir\nFAILED eval/tests/test_env_and_config.py::test_malformed_book_config_file_reports_parsing_error\nFAILED eval/tests/test_env_and_config.py::test_cli_lang_overrides_env_lang - ...\nFAILED eval/tests/test_env_and_config.py::test_env_lang_switches_error_language\n============================== 4 failed in 4.03s ===============================\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.17876012799996488, "output": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw0/test_env_lang_switches_error_l0')\n\n def test_env_lang_switches_error_language(tmp_path):\n # Trigger a localized runtime error message by generating PDF without xelatex.\n md = tmp_path / \"book.md\"\n _write(md, PDF_ERROR_BOOK)\n \n r_en = run(\"--single\", md, \"--to\", \"pdf\", env={\"LANG\": \"en_US.UTF-8\"})\n r_fr = run(\"--single\", md, \"--to\", \"pdf\", env={\"LANG\": \"fr_FR.UTF-8\"})\n \n # crowbook reports errors on stderr but exits 0\n assert r_en.returncode == 0\n assert r_fr.returncode == 0\n \n err_en = r_en.stderr.decode(\"utf-8\", errors=\"replace\")\n err_fr = r_fr.stderr.decode(\"utf-8\", errors=\"replace\")\n \n> assert \"ERROR\" in err_en\nE AssertionError: assert 'ERROR' in ''\n\neval/tests/test_env_and_config.py:55: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw2/test_malformed_book_config_fil0')\n\n def test_malformed_book_config_file_reports_parsing_error(tmp_path):\n bad = tmp_path / \"bad.book\"\n _write(bad, \"title Conf Test\\n- ch1.md\\n\")\n \n r = run(bad)\n combined = (r.stdout + r.stderr).decode(\"utf-8\", errors=\"replace\")\n \n> assert \"Error parsing configuration file\" in combined\nE AssertionError: assert 'Error parsing configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_env_and_config.py:88: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw3/test_book_config_paths_resolve0')\n\n def test_book_config_paths_resolve_relative_to_config_dir(tmp_path):\n # Ensure chapter paths are resolved relative to the config file directory.\n bookdir = tmp_path / \"bookdir\"\n bookdir.mkdir()\n \n conf = bookdir / \"conf.book\"\n chapter = bookdir / \"ch1.md\"\n \n _write(\n conf,\n \"title: Path Test\\n\"\n \"lang: en\\n\"\n \"output: [\\\"html\\\"]\\n\"\n \"output.html: out.html\\n\\n\"\n \"- ch1.md\\n\",\n )\n _write(chapter, \"Hello\\n\")\n \n r = run(conf, \"--to\", \"html\", \"--output\", \"-\")\n assert r.returncode == 0\n out = r.stdout.decode(\"utf-8\", errors=\"replace\")\n> assert '<meta name=\"generator\" content=\"crowbook\">' in out\nE assert '<meta name=\"generator\" content=\"crowbook\">' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_env_and_config.py:113: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw1/test_cli_lang_overrides_env_la0')\n\n def test_cli_lang_overrides_env_lang(tmp_path):\n md = tmp_path / \"book.md\"\n _write(md, PDF_ERROR_BOOK)\n \n # Even with LANG=en, -L fr should force French runtime messages.\n r = run(\n \"-L\",\n \"fr\",\n \"--single\",\n md,\n \"--to\",\n \"pdf\",\n env={\"LANG\": \"en_US.UTF-8\"},\n )\n \n err = r.stderr.decode(\"utf-8\", errors=\"replace\")\n> assert \"Erreur durant\" in err\nE AssertionError: assert 'Erreur durant' in ''\n\neval/tests/test_env_and_config.py:78: AssertionError", "returncode": 0, "exception_info": "", "branch": "test-klieret-create_config_tests__gpt-5-2-genai-20260306_111912"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.046815233000018, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/test-klieret-create_help_tests__gpt-5-2-genai-20260306_111915", "wall_time": 0.047015353000006144, "output": "Removing -\nRemoving .pytest_cache/\nRemoving eval/results.xml\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was ec4242f create-tests result\nHEAD is now at 2ebe0cc create-tests result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04810011399996483, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.041992930000049, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.046997642999997424, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.0426821589999804, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 5.006172821999996, "output": "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [41 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_help_output.py::test_help_documents_flag[--version] \neval/tests/test_help_output.py::test_help_has_usage_section \neval/tests/test_help_output.py::test_help_documents_flag[-t] \neval/tests/test_help_output.py::test_help_documents_flag[--help] \neval/tests/test_help_output.py::test_baseline_help_text_matches_fixture_exactly \neval/tests/test_help_output.py::test_help_documents_flag[-V] \neval/tests/test_help_output.py::test_help_documents_flag[--stats] \neval/tests/test_help_output.py::test_help_exit_code_zero \neval/tests/test_help_output.py::test_help_documents_flag[--output] \neval/tests/test_help_output.py::test_help_documents_flag[--lang] \neval/tests/test_help_output.py::test_help_documents_flag[-o] \neval/tests/test_help_output.py::test_help_documents_flag[-S] \neval/tests/test_help_output.py::test_help_has_trailing_newline \neval/tests/test_help_output.py::test_help_documents_flag[-h] \neval/tests/test_help_output.py::test_help_documents_flag[--list-options] \neval/tests/test_help_output.py::test_help_documents_flag[-f] \neval/tests/test_help_output.py::test_help_documents_flag[-s] \neval/tests/test_help_output.py::test_help_documents_flag[-a] \neval/tests/test_help_output.py::test_help_documents_flag[--print-template] \neval/tests/test_help_output.py::test_help_documents_flag[-n] \neval/tests/test_help_output.py::test_dash_h_output_matches_double_dash_help \neval/tests/test_help_output.py::test_help_documents_flag[--set] \neval/tests/test_help_output.py::test_help_has_options_section \neval/tests/test_help_output.py::test_help_includes_book_arg_description \neval/tests/test_help_output.py::test_help_has_args_section \neval/tests/test_help_output.py::test_help_documents_flag[--create] \neval/tests/test_help_output.py::test_help_documents_flag[--autograph] \neval/tests/test_help_output.py::test_help_documents_flag[--single] \neval/tests/test_help_output.py::test_double_dash_separator_treats_help_as_positional_and_errors \neval/tests/test_help_output.py::test_help_usage_line_mentions_options_and_book \neval/tests/test_help_output.py::test_help_documents_flag[--verbose] \neval/tests/test_help_output.py::test_help_documents_flag[-v] \neval/tests/test_help_output.py::test_help_documents_flag[--quiet] \neval/tests/test_help_output.py::test_help_documents_flag[-c] \neval/tests/test_help_output.py::test_help_documents_flag[--to] \neval/tests/test_help_output.py::test_help_documents_flag[-q] \neval/tests/test_help_output.py::test_help_documents_flag[-L] \neval/tests/test_help_output.py::test_help_goes_to_stdout_not_stderr \neval/tests/test_help_output.py::test_help_documents_flag[--force-emoji] \neval/tests/test_help_output.py::test_help_documents_flag[--no-fancy] \neval/tests/test_help_output.py::test_help_precedes_unknown_flag_and_exits_zero \n[gw1] [ 2%] PASSED eval/tests/test_help_output.py::test_help_goes_to_stdout_not_stderr \n[gw0] [ 4%] PASSED eval/tests/test_help_output.py::test_help_exit_code_zero \n[gw36] [ 7%] PASSED eval/tests/test_help_output.py::test_help_has_trailing_newline \n[gw5] [ 9%] FAILED eval/tests/test_help_output.py::test_help_has_args_section \n[gw32] [ 12%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-a] \n[gw29] [ 14%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--no-fancy] \n[gw2] [ 17%] FAILED eval/tests/test_help_output.py::test_help_has_usage_section \n[gw18] [ 19%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--create] \n[gw6] [ 21%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--help] \n[gw35] [ 24%] FAILED eval/tests/test_help_output.py::test_help_includes_book_arg_description \n[gw14] [ 26%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--output] \n[gw24] [ 29%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-L] \n[gw40] [ 31%] FAILED eval/tests/test_help_output.py::test_baseline_help_text_matches_fixture_exactly \n[gw22] [ 34%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--print-template] \n[gw19] [ 36%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-c] \n[gw4] [ 39%] FAILED eval/tests/test_help_output.py::test_help_has_options_section \n[gw12] [ 41%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--quiet] \n[gw33] [ 43%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--force-emoji] \n[gw26] [ 46%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-S] \n[gw21] [ 48%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--set] \n[gw31] [ 51%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--autograph] \n[gw20] [ 53%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--list-options] \n[gw27] [ 56%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--single] \n[gw38] [ 58%] FAILED eval/tests/test_help_output.py::test_help_precedes_unknown_flag_and_exits_zero \n[gw16] [ 60%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--to] \n[gw7] [ 63%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-h] \n[gw3] [ 65%] FAILED eval/tests/test_help_output.py::test_help_usage_line_mentions_options_and_book \n[gw8] [ 68%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--version] \n[gw23] [ 70%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--lang] \n[gw34] [ 73%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-f] \n[gw11] [ 75%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-v] \n[gw28] [ 78%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-s] \n[gw15] [ 80%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-o] \n[gw17] [ 82%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-t] \n[gw37] [ 85%] PASSED eval/tests/test_help_output.py::test_dash_h_output_matches_double_dash_help \n[gw9] [ 87%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-V] \n[gw13] [ 90%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-q] \n[gw39] [ 92%] FAILED eval/tests/test_help_output.py::test_double_dash_separator_treats_help_as_positional_and_errors \n[gw25] [ 95%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--stats] \n[gw10] [ 97%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[--verbose] \n[gw30] [100%] FAILED eval/tests/test_help_output.py::test_help_documents_flag[-n] \n\n=================================== FAILURES ===================================\n__________________________ test_help_has_args_section __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_has_args_section(help_text):\n> assert \"ARGS:\" in help_text\nE AssertionError: assert 'ARGS:' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:59: AssertionError\n_________________________ test_help_documents_flag[-a] _________________________\n[gw32] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-a'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-a' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_____________________ test_help_documents_flag[--no-fancy] _____________________\n[gw29] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--no-fancy'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--no-fancy' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_has_usage_section __________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_has_usage_section(help_text):\n> assert \"USAGE:\" in help_text\nE AssertionError: assert 'USAGE:' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:46: AssertionError\n______________________ test_help_documents_flag[--create] ______________________\n[gw18] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--create'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--create' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_______________________ test_help_documents_flag[--help] _______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--help'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--help' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n___________________ test_help_includes_book_arg_description ____________________\n[gw35] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_includes_book_arg_description(help_text):\n> assert \"[BOOK]\" in help_text\nE AssertionError: assert '[BOOK]' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:101: AssertionError\n______________________ test_help_documents_flag[--output] ______________________\n[gw14] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--output'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-L] _________________________\n[gw24] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-L'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-L' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_______________ test_baseline_help_text_matches_fixture_exactly ________________\n[gw40] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_baseline_help_text_matches_fixture_exactly(help_text):\n fixture = (ROOT / \"eval\" / \"fixtures\" / \"help.txt\").read_text(encoding=\"utf-8\")\n> assert help_text == fixture\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'crowbook 0.1...th --single\\n'\nE \nE + CROWBOOK 0.17.0\nE - crowbook 0.17.0 by \u00c9lisabeth Henry \nE - Render a Markdown book in EPUB, PDF or HTML.\nE - \nE - USAGE:\nE - executable [OPTIONS] [BOOK]...\nE \nE ...Full output truncated (38 lines hidden), use '-vv' to show\n\neval/tests/test_help_output.py:136: AssertionError\n__________________ test_help_documents_flag[--print-template] __________________\n[gw22] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--print-template'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--print-template' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-c] _________________________\n[gw19] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-c'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-c' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n________________________ test_help_has_options_section _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_has_options_section(help_text):\n> assert \"OPTIONS:\" in help_text\nE AssertionError: assert 'OPTIONS:' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:55: AssertionError\n______________________ test_help_documents_flag[--quiet] _______________________\n[gw12] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--quiet'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--quiet' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n___________________ test_help_documents_flag[--force-emoji] ____________________\n[gw33] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--force-emoji'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--force-emoji' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-S] _________________________\n[gw26] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-S'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-S' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_______________________ test_help_documents_flag[--set] ________________________\n[gw21] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--set'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--set' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n____________________ test_help_documents_flag[--autograph] _____________________\n[gw31] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--autograph'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--autograph' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n___________________ test_help_documents_flag[--list-options] ___________________\n[gw20] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--list-options'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--list-options' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n______________________ test_help_documents_flag[--single] ______________________\n[gw27] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--single'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--single' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n________________ test_help_precedes_unknown_flag_and_exits_zero ________________\n[gw38] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_help_precedes_unknown_flag_and_exits_zero():\n # Behavior: --help takes precedence even with an unknown argument.\n r = run_cmd([\"--help\", \"--this-flag-does-not-exist\"])\n assert r.returncode == 0\n> assert \"USAGE:\" in r.stdout\nE AssertionError: assert 'USAGE:' in 'CROWBOOK 0.17.0\\n'\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help', '--this-flag-does-not-exist'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\neval/tests/test_help_output.py:121: AssertionError\n________________________ test_help_documents_flag[--to] ________________________\n[gw16] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--to'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--to' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-h] _________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-h'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-h' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n________________ test_help_usage_line_mentions_options_and_book ________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_usage_line_mentions_options_and_book(help_text):\n # The actual usage synopsis line is indented.\n> assert re.search(r\"^\\s*executable\\s+\\[OPTIONS\\]\\s+\\[BOOK\\]\\s*$\", help_text, re.M) is not None\nE AssertionError: assert None is not None\nE + where None = ('^\\\\s*executable\\\\s+\\\\[OPTIONS\\\\]\\\\s+\\\\[BOOK\\\\]\\\\s*$', 'CROWBOOK 0.17.0\\n', re.MULTILINE)\nE + where = re.search\nE + and re.MULTILINE = re.M\n\neval/tests/test_help_output.py:51: AssertionError\n_____________________ test_help_documents_flag[--version] ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--version'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--version' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_______________________ test_help_documents_flag[--lang] _______________________\n[gw23] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--lang'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--lang' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-f] _________________________\n[gw34] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-f'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-f' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-v] _________________________\n[gw11] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-v'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-v' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-s] _________________________\n[gw28] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-s'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-s' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-o] _________________________\n[gw15] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-o'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-o' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-t] _________________________\n[gw17] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-t'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-t' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-V] _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-V'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-V' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-q] _________________________\n[gw13] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-q'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-q' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_______ test_double_dash_separator_treats_help_as_positional_and_errors ________\n[gw39] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_double_dash_separator_treats_help_as_positional_and_errors():\n # After \"--\", arguments are treated as positional; here it tries to open a book file named \"--help\".\n r = run_cmd([\"--\", \"--help\"])\n assert r.returncode == 0\n> assert r.stdout == \"\"\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == ''\nE \nE + CROWBOOK 0.17.0\n\neval/tests/test_help_output.py:129: AssertionError\n______________________ test_help_documents_flag[--stats] _______________________\n[gw25] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--stats'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--stats' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_____________________ test_help_documents_flag[--verbose] ______________________\n[gw10] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--verbose'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--verbose' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n_________________________ test_help_documents_flag[-n] _________________________\n[gw30] linux -- Python 3.10.12 /usr/bin/python3\n\nhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-n'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-n' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_help_output.py::test_help_has_args_section - Assertion...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-a] - Asserti...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--no-fancy]\nFAILED eval/tests/test_help_output.py::test_help_has_usage_section - Assertio...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--create] - A...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--help] - Ass...\nFAILED eval/tests/test_help_output.py::test_help_includes_book_arg_description\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--output] - A...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-L] - Asserti...\nFAILED eval/tests/test_help_output.py::test_baseline_help_text_matches_fixture_exactly\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--print-template]\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-c] - Asserti...\nFAILED eval/tests/test_help_output.py::test_help_has_options_section - Assert...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--quiet] - As...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--force-emoji]\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-S] - Asserti...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--set] - Asse...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--autograph]\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--list-options]\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--single] - A...\nFAILED eval/tests/test_help_output.py::test_help_precedes_unknown_flag_and_exits_zero\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--to] - Asser...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-h] - Asserti...\nFAILED eval/tests/test_help_output.py::test_help_usage_line_mentions_options_and_book\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--version] - ...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--lang] - Ass...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-f] - Asserti...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-v] - Asserti...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-s] - Asserti...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-o] - Asserti...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-t] - Asserti...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-V] - Asserti...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-q] - Asserti...\nFAILED eval/tests/test_help_output.py::test_double_dash_separator_treats_help_as_positional_and_errors\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--stats] - As...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[--verbose] - ...\nFAILED eval/tests/test_help_output.py::test_help_documents_flag[-n] - Asserti...\n========================= 37 failed, 4 passed in 4.07s =========================\npytest exit code: 1\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.1384971539999924, "output": "def test_double_dash_separator_treats_help_as_positional_and_errors():\n # After \"--\", arguments are treated as positional; here it tries to open a book file named \"--help\".\n r = run_cmd([\"--\", \"--help\"])\n assert r.returncode == 0\n> assert r.stdout == \"\"\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == ''\nE \nE + CROWBOOK 0.17.0\n\neval/tests/test_help_output.py:129: AssertionErrordef test_help_precedes_unknown_flag_and_exits_zero():\n # Behavior: --help takes precedence even with an unknown argument.\n r = run_cmd([\"--help\", \"--this-flag-does-not-exist\"])\n assert r.returncode == 0\n> assert \"USAGE:\" in r.stdout\nE AssertionError: assert 'USAGE:' in 'CROWBOOK 0.17.0\\n'\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help', '--this-flag-does-not-exist'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\neval/tests/test_help_output.py:121: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--print-template'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--print-template' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--no-fancy'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--no-fancy' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--output'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-f'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-f' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--help'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--help' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--create'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--create' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-L'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-L' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--stats'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--stats' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_has_args_section(help_text):\n> assert \"ARGS:\" in help_text\nE AssertionError: assert 'ARGS:' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:59: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_has_usage_section(help_text):\n> assert \"USAGE:\" in help_text\nE AssertionError: assert 'USAGE:' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:46: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-c'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-c' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-a'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-a' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--set'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--set' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-n'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-n' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--force-emoji'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--force-emoji' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-o'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-o' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--to'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--to' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-t'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-t' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-s'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-s' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-S'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-S' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--verbose'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--verbose' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-h'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-h' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-q'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-q' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--lang'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--lang' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--quiet'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--quiet' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_usage_line_mentions_options_and_book(help_text):\n # The actual usage synopsis line is indented.\n> assert re.search(r\"^\\s*executable\\s+\\[OPTIONS\\]\\s+\\[BOOK\\]\\s*$\", help_text, re.M) is not None\nE AssertionError: assert None is not None\nE + where None = <function search at 0x7f3e6d070af0>('^\\\\s*executable\\\\s+\\\\[OPTIONS\\\\]\\\\s+\\\\[BOOK\\\\]\\\\s*$', 'CROWBOOK 0.17.0\\n', re.MULTILINE)\nE + where <function search at 0x7f3e6d070af0> = re.search\nE + and re.MULTILINE = re.M\n\neval/tests/test_help_output.py:51: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_has_options_section(help_text):\n> assert \"OPTIONS:\" in help_text\nE AssertionError: assert 'OPTIONS:' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:55: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--list-options'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--list-options' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_baseline_help_text_matches_fixture_exactly(help_text):\n fixture = (ROOT / \"eval\" / \"fixtures\" / \"help.txt\").read_text(encoding=\"utf-8\")\n> assert help_text == fixture\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'crowbook 0.1...th --single\\n'\nE \nE + CROWBOOK 0.17.0\nE - crowbook 0.17.0 by \u00c9lisabeth Henry <liz.henry@ouvaton.org>\nE - Render a Markdown book in EPUB, PDF or HTML.\nE - \nE - USAGE:\nE - executable [OPTIONS] [BOOK]...\nE \nE ...Full output truncated (38 lines hidden), use '-vv' to show\n\neval/tests/test_help_output.py:136: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-V'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-V' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--single'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--single' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '-v'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-v' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--autograph'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--autograph' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_includes_book_arg_description(help_text):\n> assert \"[BOOK]\" in help_text\nE AssertionError: assert '[BOOK]' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:101: AssertionErrorhelp_text = 'CROWBOOK 0.17.0\\n', flag = '--version'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--version' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError", "returncode": 0, "exception_info": "", "branch": "test-klieret-create_help_tests__gpt-5-2-genai-20260306_111915"}, {"step": "reap_stray_processes", "command": "pkill -9 -f 'pytest|execnet' 2>/dev/null; pkill -9 -x executable 2>/dev/null; pkill -9 -x git 2>/dev/null", "wall_time": 0.046069593000027, "output": "", "returncode": 137, "exception_info": ""}, {"step": "checkout_tests", "command": "rm -f .git/index.lock && git clean -fdx && git checkout -f mirror/test-klieret-create_subcommand_tests__gpt-5-2-genai-20260306_112146", "wall_time": 0.04851187300005222, "output": "Removing .pytest_cache/\nRemoving eval/results.xml\nRemoving eval/tests/__pycache__/\nRemoving executable\nPrevious HEAD position was 2ebe0cc create-tests result\nHEAD is now at cbc5d23 create-tests result\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && cp /opt/reveng-gold-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.048013526999966416, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum /opt/reveng-gold-executable-do-not-modify", "wall_time": 0.04822240700002567, "output": "683d22fb5b535a598add13624981dbb8f21e07fc1694096854b1ea1a385aba7d /opt/reveng-gold-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "remove_stray_executables", "command": "rm -f executable_cov executable.instrumented executable.uninstrumented executable_orig executable_temp", "wall_time": 0.045592841999962275, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04504047000000355, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 4.9886137710000185, "output": "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, libtmux-0.55.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: thread\ntimeout func_only: False\ncreated: 128/128 workers\n128 workers [10 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_subcommand_dispatch.py::test_has_no_git_style_subcommands_in_help \neval/tests/test_subcommand_dispatch.py::test_global_help_equals_dash_h \neval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[list] \neval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[remove] \neval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[help] \neval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[rm] \neval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[init] \neval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[add] \neval/tests/test_subcommand_dispatch.py::test_first_positional_arg_is_treated_as_book_path_not_subcommand \neval/tests/test_subcommand_dispatch.py::test_no_args_reports_missing_book_file_not_help \n[gw0] [ 10%] PASSED eval/tests/test_subcommand_dispatch.py::test_has_no_git_style_subcommands_in_help \n[gw8] [ 20%] FAILED eval/tests/test_subcommand_dispatch.py::test_no_args_reports_missing_book_file_not_help \n[gw4] [ 30%] FAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[rm] \n[gw3] [ 40%] FAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[remove] \n[gw2] [ 50%] FAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[add] \n[gw5] [ 60%] FAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[list] \n[gw7] [ 70%] FAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[help] \n[gw6] [ 80%] FAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[init] \n[gw9] [ 90%] PASSED eval/tests/test_subcommand_dispatch.py::test_global_help_equals_dash_h \n[gw1] [100%] FAILED eval/tests/test_subcommand_dispatch.py::test_first_positional_arg_is_treated_as_book_path_not_subcommand \n\n=================================== FAILURES ===================================\n_______________ test_no_args_reports_missing_book_file_not_help ________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_no_args_reports_missing_book_file_not_help():\n res = run()\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert \"you must pass the name of a book configuration file\" in out\nE AssertionError: assert 'you must pass the name of a book configuration file' in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:75: AssertionError\n_____________ test_git_style_token_is_not_routed_as_subcommand[rm] _____________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\n\ntoken = 'rm'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'rm'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError\n___________ test_git_style_token_is_not_routed_as_subcommand[remove] ___________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\ntoken = 'remove'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'remove'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError\n____________ test_git_style_token_is_not_routed_as_subcommand[add] _____________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\ntoken = 'add'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'add'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError\n____________ test_git_style_token_is_not_routed_as_subcommand[list] ____________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\ntoken = 'list'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'list'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError\n____________ test_git_style_token_is_not_routed_as_subcommand[help] ____________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\ntoken = 'help'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'help'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError\n____________ test_git_style_token_is_not_routed_as_subcommand[init] ____________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\n\ntoken = 'init'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'init'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError\n_______ test_first_positional_arg_is_treated_as_book_path_not_subcommand _______\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_first_positional_arg_is_treated_as_book_path_not_subcommand():\n \"\"\"Any first positional token is interpreted as BOOK, not a subcommand.\"\"\"\n main_help = norm(run(\"--help\").stdout)\n \n # A would-be subcommand token followed by --help should still show main help.\n res = run(\"add\", \"--help\")\n assert res.returncode == 0\n assert norm(res.stdout) == main_help\n \n # A would-be subcommand token alone is treated as a book path.\n res2 = run(\"add\")\n out2 = combined_output(res2).lower()\n> assert \"could not find file 'add'\" in out2\nE assert \"could not find file 'add'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:54: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_subcommand_dispatch.py::test_no_args_reports_missing_book_file_not_help\nFAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[rm]\nFAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[remove]\nFAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[add]\nFAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[list]\nFAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[help]\nFAILED eval/tests/test_subcommand_dispatch.py::test_git_style_token_is_not_routed_as_subcommand[init]\nFAILED eval/tests/test_subcommand_dispatch.py::test_first_positional_arg_is_treated_as_book_path_not_subcommand\n========================= 8 failed, 2 passed in 4.04s ==========================\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "cat eval/results.xml", "wall_time": 0.18808796399997618, "output": "token = 'list'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'list'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionErrortoken = 'remove'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'remove'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionErrortoken = 'help'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'help'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionErrortoken = 'rm'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'rm'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionErrortoken = 'init'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'init'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionErrortoken = 'add'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'add'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionErrordef test_first_positional_arg_is_treated_as_book_path_not_subcommand():\n \"\"\"Any first positional token is interpreted as BOOK, not a subcommand.\"\"\"\n main_help = norm(run(\"--help\").stdout)\n \n # A would-be subcommand token followed by --help should still show main help.\n res = run(\"add\", \"--help\")\n assert res.returncode == 0\n assert norm(res.stdout) == main_help\n \n # A would-be subcommand token alone is treated as a book path.\n res2 = run(\"add\")\n out2 = combined_output(res2).lower()\n> assert \"could not find file 'add'\" in out2\nE assert \"could not find file 'add'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:54: AssertionErrordef test_no_args_reports_missing_book_file_not_help():\n res = run()\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert \"you must pass the name of a book configuration file\" in out\nE AssertionError: assert 'you must pass the name of a book configuration file' in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:75: AssertionError", "returncode": 0, "exception_info": "", "branch": "test-klieret-create_subcommand_tests__gpt-5-2-genai-20260306_112146"}], "failures": {"8667f92f6c9c/eval.tests.test_edge_cases.test_mixed_list_types": {"message": "AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1nmie8pe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1nmie8pe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError"}, "8667f92f6c9c/eval.tests.test_book_processing.test_book_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzb9nv9cr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError"}, "8667f92f6c9c/eval.tests.test_rendering_options.test_html_dir_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp0z97veqd/html_output').exists", "text": "temp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0z97veqd/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError"}, "8667f92f6c9c/eval.tests.test_epub_generation.test_epub_with_to_flag": {"message": "AssertionError: assert False\n + where False = (PosixPath('/tmp/tmp9htuz0jk/test.epub'))\n + where = zipfile.is_zipfile", "text": "temp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmp9htuz0jk/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError"}, "8667f92f6c9c/eval.tests.test_book_processing.test_book_with_metadata": {"message": "AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2zcqp2uv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2zcqp2uv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError"}, "8667f92f6c9c/eval.tests.test_lang_option.test_lang_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError"}, "8667f92f6c9c/eval.tests.test_print_template.test_print_template_tex": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError"}, "8667f92f6c9c/eval.tests.test_markdown_features.test_markdown_footnotes": {"message": "AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmr4t6ban/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmr4t6ban/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError"}, "8667f92f6c9c/eval.tests.test_lang_option.test_lang_with_book_processing": {"message": "AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmphr4ajdo0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmphr4ajdo0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError"}, "8667f92f6c9c/eval.tests.test_epub_generation.test_epub_output_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp7xjci53z/output.epub').exists", "text": "temp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp7xjci53z/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError"}, "8667f92f6c9c/eval.tests.test_rendering_options.test_pdf_output_specified": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError"}, "8667f92f6c9c/eval.tests.test_rendering_options.test_rendering_inline_toc": {"message": "AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqmrv4nkn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqmrv4nkn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError"}, "8667f92f6c9c/eval.tests.test_set_option.test_set_single_option": {"message": "AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwco3uo6q/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwco3uo6q/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwco3uo6q/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwco3uo6q/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError"}, "8667f92f6c9c/eval.tests.test_edge_cases.test_empty_markdown_file": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7fde9q6u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7fde9q6u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError"}, "8667f92f6c9c/eval.tests.test_edge_cases.test_book_with_no_title": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuflvo7g4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuflvo7g4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError"}, "8667f92f6c9c/eval.tests.test_basic_invocation.test_help_long_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError"}, "8667f92f6c9c/eval.tests.test_edge_cases.test_very_long_content": {"message": "AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxf6tirjw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxf6tirjw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError"}, "8667f92f6c9c/eval.tests.test_markdown_features.test_markdown_emphasis": {"message": "AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyo6kk73j/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyo6kk73j/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError"}, "8667f92f6c9c/eval.tests.test_list_options.test_list_options_shows_defaults": {"message": "AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError"}, "8667f92f6c9c/eval.tests.test_special_flags.test_force_emoji_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp0uph8hll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp0uph8hll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError"}, "8667f92f6c9c/eval.tests.test_single_file.test_single_markdown_features": {"message": "AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqxo2npi_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqxo2npi_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError"}, "8667f92f6c9c/eval.tests.test_book_processing.test_book_with_relative_paths": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj5mypvgn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj5mypvgn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError"}, "8667f92f6c9c/eval.tests.test_print_template.test_print_template_invalid": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError"}, "8667f92f6c9c/eval.tests.test_output_formats.test_to_with_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw8psry34/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw8psry34/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError"}, "8667f92f6c9c/eval.tests.test_list_options.test_list_options_long_flag": {"message": "AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError"}, "8667f92f6c9c/eval.tests.test_edge_cases.test_malformed_yaml": {"message": "AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError"}, "8667f92f6c9c/eval.tests.test_basic_invocation.test_missing_book_file_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError"}, "8667f92f6c9c/eval.tests.test_list_options.test_list_options_short_flag": {"message": "AssertionError: assert 47 > 5000\n + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError"}, "8667f92f6c9c/eval.tests.test_basic_invocation.test_invalid_option_shows_error": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode", "text": "def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError"}, "8667f92f6c9c/eval.tests.test_edge_cases.test_nested_lists": {"message": "AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnto3akwe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnto3akwe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError"}, "8667f92f6c9c/eval.tests.test_print_template.test_print_template_multiple_types": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError"}, "8667f92f6c9c/eval.tests.test_rendering_options.test_rendering_highlight_syntect": {"message": "AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp07alqe7q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp07alqe7q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp07alqe7q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp07alqe7q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError"}, "8667f92f6c9c/eval.tests.test_markdown_features.test_markdown_lists": {"message": "AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg62w9dll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg62w9dll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError"}, "8667f92f6c9c/eval.tests.test_basic_invocation.test_help_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError"}, "8667f92f6c9c/eval.tests.test_rendering_options.test_tex_standalone_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpy_hxbusq/output.tex').exists", "text": "temp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpy_hxbusq/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError"}, "8667f92f6c9c/eval.tests.test_single_file.test_single_markdown_with_yaml_block": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpg2o2gyld/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpg2o2gyld/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError"}, "8667f92f6c9c/eval.tests.test_markdown_features.test_markdown_horizontal_rules": {"message": "AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjbg4ij8f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjbg4ij8f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError"}, "8667f92f6c9c/eval.tests.test_special_flags.test_autograph_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp5cikf7e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp5cikf7e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp5cikf7e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp5cikf7e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError"}, "8667f92f6c9c/eval.tests.test_print_template.test_print_template_html_css": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError"}, "8667f92f6c9c/eval.tests.test_output_formats.test_to_html_format": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpu412sj1w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpu412sj1w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError"}, "8667f92f6c9c/eval.tests.test_list_options.test_list_options_shows_descriptions": {"message": "AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError"}, "8667f92f6c9c/eval.tests.test_epub_generation.test_epub_with_metadata": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpifd4ir5_/book.epub').exists", "text": "temp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpifd4ir5_/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError"}, "8667f92f6c9c/eval.tests.test_edge_cases.test_special_characters_in_title": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp1yj56fj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp1yj56fj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError"}, "8667f92f6c9c/eval.tests.test_rendering_options.test_rendering_highlight_none": {"message": "AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsd4lezy1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsd4lezy1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError"}, "8667f92f6c9c/eval.tests.test_special_flags.test_no_fancy_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpz9otcd84/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpz9otcd84/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError"}, "8667f92f6c9c/eval.tests.test_lang_option.test_lang_option_french": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError"}, "8667f92f6c9c/eval.tests.test_single_file.test_single_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpzdzgz1ph/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpzdzgz1ph/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError"}, "8667f92f6c9c/eval.tests.test_rendering_options.test_rendering_numbering": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvlipsu1_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvlipsu1_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError"}, "8667f92f6c9c/eval.tests.test_print_template.test_print_template_html_dir": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError"}, "8667f92f6c9c/eval.tests.test_print_template.test_print_template_html_standalone": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError"}, "8667f92f6c9c/eval.tests.test_single_file.test_single_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp_cp1a7n4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp_cp1a7n4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp_cp1a7n4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp_cp1a7n4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError"}, "8667f92f6c9c/eval.tests.test_markdown_features.test_markdown_blockquotes": {"message": "AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppeeo_t_v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppeeo_t_v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError"}, "8667f92f6c9c/eval.tests.test_special_flags.test_force_emoji_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmp1dlq876v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmp1dlq876v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError"}, "8667f92f6c9c/eval.tests.test_epub_generation.test_epub_version_3": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp3ed39d6u/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3ed39d6u/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError"}, "8667f92f6c9c/eval.tests.test_output_formats.test_invalid_format_shows_error": {"message": "AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError"}, "8667f92f6c9c/eval.tests.test_set_option.test_set_rendering_option": {"message": "AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjisuxkte/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjisuxkte/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError"}, "8667f92f6c9c/eval.tests.test_set_option.test_set_boolean_option": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0ci2wi6v/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0ci2wi6v/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError"}, "8667f92f6c9c/eval.tests.test_edge_cases.test_book_with_no_author": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy47821vf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy47821vf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError"}, "8667f92f6c9c/eval.tests.test_special_flags.test_autograph_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp_47fw6vo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp_47fw6vo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp_47fw6vo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp_47fw6vo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError"}, "8667f92f6c9c/eval.tests.test_verbose_quiet.test_quiet_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp88_vumbm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp88_vumbm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError"}, "8667f92f6c9c/eval.tests.test_print_template.test_print_template_epub_chapter": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError"}, "8667f92f6c9c/eval.tests.test_basic_invocation.test_no_arguments_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError"}, "8667f92f6c9c/eval.tests.test_create_book.test_create_book_file_already_exists": {"message": "assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n')\n + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n'.lower", "text": "temp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp7pnxmfa_/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError"}, "8667f92f6c9c/eval.tests.test_rendering_options.test_rendering_with_cover": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbq1z_y7s/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbq1z_y7s/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbq1z_y7s/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbq1z_y7s/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError"}, "8667f92f6c9c/eval.tests.test_set_option.test_set_invalid_option": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphd1__ya3/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphd1__ya3/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError"}, "8667f92f6c9c/eval.tests.test_special_flags.test_no_fancy_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp8wknvu6z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp8wknvu6z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError"}, "8667f92f6c9c/eval.tests.test_verbose_quiet.test_quiet_with_error": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError"}, "8667f92f6c9c/eval.tests.test_single_file.test_single_without_yaml_block": {"message": "AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmphxqgowcr/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmphxqgowcr/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError"}, "8667f92f6c9c/eval.tests.test_list_options.test_list_options_shows_types": {"message": "AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError"}, "8667f92f6c9c/eval.tests.test_markdown_features.test_markdown_tables": {"message": "AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpswjiwm4u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpswjiwm4u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError"}, "8667f92f6c9c/eval.tests.test_basic_invocation.test_help_shows_all_options": {"message": "AssertionError: Flag b'--single' not found in help\nassert b'--single' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError"}, "8667f92f6c9c/eval.tests.test_lang_option.test_lang_affects_messages": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')", "text": "def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError"}, "8667f92f6c9c/eval.tests.test_output_formats.test_output_file_tex": {"message": "assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')", "text": "temp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')\n\neval/tests/test_output_formats.py:71: AssertionError"}, "8667f92f6c9c/eval.tests.test_set_option.test_set_with_spaces_in_value": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvb75q1x7/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvb75q1x7/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError"}, "8667f92f6c9c/eval.tests.test_markdown_features.test_markdown_code_blocks": {"message": "AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxs2z069m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxs2z069m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError"}, "8667f92f6c9c/eval.tests.test_book_processing.test_book_missing_chapter_file": {"message": "AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\n + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9pirdkfe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError"}, "8667f92f6c9c/eval.tests.test_book_processing.test_basic_book_html_output": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpooudoxp_/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpooudoxp_/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError"}, "8667f92f6c9c/eval.tests.test_output_formats.test_output_without_to_shows_error": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError"}, "8667f92f6c9c/eval.tests.test_book_processing.test_book_with_multiple_chapters": {"message": "AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\n + where b'Chapter 0' = ()\n + where = 'Chapter 0'.encode\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpu8xewjwq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpu8xewjwq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError"}, "8667f92f6c9c/eval.tests.test_create_book.test_create_book_with_filename": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp1fkumb3d/mybook.book').exists", "text": "temp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp1fkumb3d/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError"}, "8667f92f6c9c/eval.tests.test_output_formats.test_to_tex_format": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp35nj0wba/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError"}, "8667f92f6c9c/eval.tests.test_print_template.test_print_template_epub_css": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError"}, "8667f92f6c9c/eval.tests.test_epub_generation.test_epub_multiple_chapters": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp6iakt8w6/book.epub').exists", "text": "temp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp6iakt8w6/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError"}, "8667f92f6c9c/eval.tests.test_set_option.test_set_multiple_options": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1dynsv84/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1dynsv84/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError"}, "8667f92f6c9c/eval.tests.test_print_template.test_print_template_to_file": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError"}, "8667f92f6c9c/eval.tests.test_markdown_features.test_markdown_links": {"message": "AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe8c6uolq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe8c6uolq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError"}, "8667f92f6c9c/eval.tests.test_markdown_features.test_markdown_headings": {"message": "AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8p97lv3d/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8p97lv3d/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError"}, "8667f92f6c9c/eval.tests.test_single_file.test_single_with_inline_yaml_variations": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpewptrmnn/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpewptrmnn/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError"}, "8667f92f6c9c/eval.tests.test_edge_cases.test_unicode_content": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj8eimou2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj8eimou2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError"}, "8667f92f6c9c/eval.tests.test_edge_cases.test_multiple_yaml_blocks": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpd50rr6ru/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpd50rr6ru/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError"}, "8667f92f6c9c/eval.tests.test_lang_option.test_lang_option_english": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError"}, "8667f92f6c9c/eval.tests.test_special_flags.test_verbose_with_no_fancy": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpdk8xqg_v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpdk8xqg_v/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError"}, "8667f92f6c9c/eval.tests.test_epub_generation.test_epub_version_2": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpuc6t44gr/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuc6t44gr/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError"}, "8667f92f6c9c/eval.tests.test_special_flags.test_combined_flags": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpl8nold9d/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpl8nold9d/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError"}, "387f428e1305/eval.tests.test_basic_invocation.test_missing_book_file_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError"}, "387f428e1305/eval.tests.test_basic_invocation.test_help_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError"}, "387f428e1305/eval.tests.test_actual_rendering.test_render_html_dir": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpidkymsbl/html_output').exists", "text": "def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpidkymsbl/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError"}, "387f428e1305/eval.tests.test_edge_cases.test_malformed_yaml": {"message": "AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError"}, "387f428e1305/eval.tests.test_markdown_features.test_markdown_links": {"message": "AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6pfaivw5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6pfaivw5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError"}, "387f428e1305/eval.tests.test_print_template.test_print_template_multiple_types": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError"}, "387f428e1305/eval.tests.test_print_template.test_print_template_invalid": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError"}, "387f428e1305/eval.tests.test_actual_rendering.test_render_with_inline_toc": {"message": "assert 1 >= 2\n + where 1 = ('Chapter One')\n + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count", "text": "def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count\n\neval/tests/test_actual_rendering.py:389: AssertionError"}, "387f428e1305/eval.tests.test_actual_rendering.test_render_tex_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp1i4cimx7/output.tex').exists", "text": "def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp1i4cimx7/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError"}, "387f428e1305/eval.tests.test_output_formats.test_output_file_tex": {"message": "assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')", "text": "temp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')\n\neval/tests/test_output_formats.py:71: AssertionError"}, "387f428e1305/eval.tests.test_edge_cases.test_nested_lists": {"message": "AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuxu46w18/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuxu46w18/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError"}, "387f428e1305/eval.tests.test_basic_invocation.test_no_arguments_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError"}, "387f428e1305/eval.tests.test_actual_rendering.test_render_with_cover_image": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp3ziia1en/cover.epub').exists", "text": "def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3ziia1en/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError"}, "387f428e1305/eval.tests.test_rendering_options.test_rendering_highlight_none": {"message": "AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8kf9iys9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8kf9iys9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError"}, "387f428e1305/eval.tests.test_actual_rendering.test_render_epub_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpkwy8rj34/book.epub').exists", "text": "def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkwy8rj34/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError"}, "387f428e1305/eval.tests.test_create_book.test_create_book_file_already_exists": {"message": "assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n')\n + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n'.lower", "text": "temp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp1mlfohdq/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError"}, "387f428e1305/eval.tests.test_single_file.test_single_with_inline_yaml_variations": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6razru55/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6razru55/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError"}, "387f428e1305/eval.tests.test_edge_cases.test_book_with_no_title": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe3merjuu/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe3merjuu/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError"}, "387f428e1305/eval.tests.test_lang_option.test_lang_with_book_processing": {"message": "AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpsj0w09g_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpsj0w09g_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError"}, "387f428e1305/eval.tests.test_output_formats.test_to_with_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy3ef1v1b/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy3ef1v1b/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError"}, "387f428e1305/eval.tests.test_actual_rendering.test_render_to_stdout": {"message": "AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'", "text": "def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError"}, "387f428e1305/eval.tests.test_rendering_options.test_pdf_output_specified": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError"}, "387f428e1305/eval.tests.test_markdown_features.test_markdown_headings": {"message": "AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy9nwhkhz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy9nwhkhz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError"}, "387f428e1305/eval.tests.test_markdown_features.test_markdown_code_blocks": {"message": "AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp40a7e8et/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp40a7e8et/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError"}, "387f428e1305/eval.tests.test_rendering_options.test_rendering_highlight_syntect": {"message": "AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3t0q7ujc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3t0q7ujc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3t0q7ujc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3t0q7ujc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError"}, "387f428e1305/eval.tests.test_rendering_options.test_html_dir_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmplprn4bb6/html_output').exists", "text": "temp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmplprn4bb6/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError"}, "387f428e1305/eval.tests.test_print_template.test_print_template_html_dir": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError"}, "387f428e1305/eval.tests.test_edge_cases.test_very_long_content": {"message": "AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnexmj6wg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnexmj6wg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError"}, "387f428e1305/eval.tests.test_list_options.test_list_options_short_flag": {"message": "AssertionError: assert 47 > 5000\n + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError"}, "387f428e1305/eval.tests.test_rendering_options.test_rendering_inline_toc": {"message": "AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4uj9oqff/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4uj9oqff/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError"}, "387f428e1305/eval.tests.test_edge_cases.test_empty_markdown_file": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpveycnvlz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpveycnvlz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError"}, "387f428e1305/eval.tests.test_epub_generation.test_epub_multiple_chapters": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp43ihwv2e/book.epub').exists", "text": "temp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp43ihwv2e/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError"}, "387f428e1305/eval.tests.test_book_processing.test_book_missing_chapter_file": {"message": "AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\n + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4kn2otx8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError"}, "387f428e1305/eval.tests.test_edge_cases.test_mixed_list_types": {"message": "AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkhxfsp7r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkhxfsp7r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError"}, "387f428e1305/eval.tests.test_markdown_features.test_markdown_horizontal_rules": {"message": "AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2zmwykfx/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2zmwykfx/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError"}, "387f428e1305/eval.tests.test_epub_generation.test_epub_version_3": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpmigek111/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmigek111/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError"}, "387f428e1305/eval.tests.test_book_processing.test_basic_book_html_output": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiuvkloew/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiuvkloew/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError"}, "387f428e1305/eval.tests.test_epub_generation.test_epub_with_metadata": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmptolngu9j/book.epub').exists", "text": "temp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmptolngu9j/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError"}, "387f428e1305/eval.tests.test_basic_invocation.test_help_long_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError"}, "387f428e1305/eval.tests.test_rendering_options.test_tex_standalone_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp5atllq6v/output.tex').exists", "text": "temp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp5atllq6v/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError"}, "387f428e1305/eval.tests.test_set_option.test_set_single_option": {"message": "AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph26x8pb4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph26x8pb4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph26x8pb4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph26x8pb4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError"}, "387f428e1305/eval.tests.test_edge_cases.test_book_with_no_author": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgy9mc5mu/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgy9mc5mu/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError"}, "387f428e1305/eval.tests.test_basic_invocation.test_help_shows_all_options": {"message": "AssertionError: Flag b'--single' not found in help\nassert b'--single' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError"}, "387f428e1305/eval.tests.test_markdown_features.test_markdown_emphasis": {"message": "AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcozhox30/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcozhox30/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError"}, "387f428e1305/eval.tests.test_book_processing.test_book_with_multiple_chapters": {"message": "AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\n + where b'Chapter 0' = ()\n + where = 'Chapter 0'.encode\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw8qrhz7e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw8qrhz7e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError"}, "387f428e1305/eval.tests.test_edge_cases.test_unicode_content": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvz5pmvni/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvz5pmvni/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError"}, "387f428e1305/eval.tests.test_actual_rendering.test_render_error_missing_chapter": {"message": "AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')", "text": "def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError"}, "387f428e1305/eval.tests.test_markdown_features.test_markdown_blockquotes": {"message": "AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpz4usblni/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpz4usblni/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError"}, "387f428e1305/eval.tests.test_single_file.test_single_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpc22cka31/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpc22cka31/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError"}, "387f428e1305/eval.tests.test_print_template.test_print_template_tex": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError"}, "387f428e1305/eval.tests.test_print_template.test_print_template_epub_css": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError"}, "387f428e1305/eval.tests.test_output_formats.test_invalid_format_shows_error": {"message": "AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError"}, "387f428e1305/eval.tests.test_set_option.test_set_invalid_option": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7u9tsaq/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7u9tsaq/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError"}, "387f428e1305/eval.tests.test_print_template.test_print_template_epub_chapter": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError"}, "387f428e1305/eval.tests.test_list_options.test_list_options_shows_types": {"message": "AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError"}, "387f428e1305/eval.tests.test_edge_cases.test_special_characters_in_title": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9ai__fqz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9ai__fqz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError"}, "387f428e1305/eval.tests.test_epub_generation.test_epub_with_to_flag": {"message": "AssertionError: assert False\n + where False = (PosixPath('/tmp/tmpbbivohnn/test.epub'))\n + where = zipfile.is_zipfile", "text": "temp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmpbbivohnn/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError"}, "387f428e1305/eval.tests.test_markdown_features.test_markdown_footnotes": {"message": "AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpup57i95m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpup57i95m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError"}, "387f428e1305/eval.tests.test_rendering_options.test_rendering_numbering": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6lle0o_j/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6lle0o_j/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError"}, "387f428e1305/eval.tests.test_rendering_options.test_rendering_with_cover": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4tjevrmd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4tjevrmd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4tjevrmd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4tjevrmd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError"}, "387f428e1305/eval.tests.test_output_formats.test_to_html_format": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa81iylbd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa81iylbd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError"}, "387f428e1305/eval.tests.test_set_option.test_set_multiple_options": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7m7h9vya/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7m7h9vya/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError"}, "387f428e1305/eval.tests.test_epub_generation.test_epub_version_2": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp25zaao38/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp25zaao38/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError"}, "387f428e1305/eval.tests.test_book_processing.test_book_with_metadata": {"message": "AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpfvmbkij3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpfvmbkij3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError"}, "387f428e1305/eval.tests.test_print_template.test_print_template_html_standalone": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError"}, "387f428e1305/eval.tests.test_print_template.test_print_template_to_file": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError"}, "387f428e1305/eval.tests.test_list_options.test_list_options_shows_defaults": {"message": "AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError"}, "387f428e1305/eval.tests.test_actual_rendering.test_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpq4tqein7/multi.epub').exists", "text": "def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpq4tqein7/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError"}, "387f428e1305/eval.tests.test_lang_option.test_lang_affects_messages": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')", "text": "def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError"}, "387f428e1305/eval.tests.test_output_formats.test_output_without_to_shows_error": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError"}, "387f428e1305/eval.tests.test_basic_invocation.test_invalid_option_shows_error": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode", "text": "def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError"}, "387f428e1305/eval.tests.test_book_processing.test_book_with_relative_paths": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphf7j67wf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphf7j67wf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError"}, "387f428e1305/eval.tests.test_markdown_features.test_markdown_lists": {"message": "AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkordi1df/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkordi1df/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError"}, "387f428e1305/eval.tests.test_edge_cases.test_multiple_yaml_blocks": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpa80upuy4/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpa80upuy4/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError"}, "387f428e1305/eval.tests.test_set_option.test_set_boolean_option": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvyejnumf/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvyejnumf/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError"}, "387f428e1305/eval.tests.test_create_book.test_create_book_with_filename": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpmf8eb7_n/mybook.book').exists", "text": "temp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmf8eb7_n/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError"}, "387f428e1305/eval.tests.test_single_file.test_single_without_yaml_block": {"message": "AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpjleol38m/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpjleol38m/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError"}, "387f428e1305/eval.tests.test_lang_option.test_lang_option_english": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError"}, "387f428e1305/eval.tests.test_output_formats.test_to_tex_format": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkaud_qv4/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError"}, "387f428e1305/eval.tests.test_lang_option.test_lang_option_french": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError"}, "387f428e1305/eval.tests.test_lang_option.test_lang_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError"}, "387f428e1305/eval.tests.test_list_options.test_list_options_shows_descriptions": {"message": "AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError"}, "387f428e1305/eval.tests.test_single_file.test_single_markdown_with_yaml_block": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpe3z1xlll/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpe3z1xlll/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError"}, "387f428e1305/eval.tests.test_set_option.test_set_with_spaces_in_value": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwb2qqrz6/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwb2qqrz6/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError"}, "387f428e1305/eval.tests.test_book_processing.test_book_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd2msm5y8/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError"}, "387f428e1305/eval.tests.test_set_option.test_set_rendering_option": {"message": "AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2ij2mbr2/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2ij2mbr2/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError"}, "387f428e1305/eval.tests.test_single_file.test_single_markdown_features": {"message": "AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp1hnwfegb/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp1hnwfegb/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError"}, "387f428e1305/eval.tests.test_single_file.test_single_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbay9ltc6/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbay9ltc6/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbay9ltc6/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbay9ltc6/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError"}, "387f428e1305/eval.tests.test_print_template.test_print_template_html_css": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError"}, "387f428e1305/eval.tests.test_epub_generation.test_epub_output_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpwh8e7e88/output.epub').exists", "text": "temp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwh8e7e88/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError"}, "387f428e1305/eval.tests.test_list_options.test_list_options_long_flag": {"message": "AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError"}, "387f428e1305/eval.tests.test_markdown_features.test_markdown_tables": {"message": "AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkmjde4iw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkmjde4iw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError"}, "387f428e1305/eval.tests.test_single_file_rendering.test_single_render_to_html": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpkiq8ykz9/article.html').exists", "text": "def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkiq8ykz9/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError"}, "387f428e1305/eval.tests.test_single_file_rendering.test_single_render_to_epub": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpzlxanvqp/story.epub').exists", "text": "def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpzlxanvqp/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError"}, "387f428e1305/eval.tests.test_single_file_rendering.test_single_with_set_options": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp97ryvote/set.html').exists", "text": "def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp97ryvote/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError"}, "387f428e1305/eval.tests.test_single_file_rendering.test_single_with_multiple_chapters": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpfb1ucgeb/multi.html'", "text": "def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpfb1ucgeb/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpfb1ucgeb/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "387f428e1305/eval.tests.test_single_file_rendering.test_single_to_stdout": {"message": "AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'", "text": "def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError"}, "387f428e1305/eval.tests.test_single_file_rendering.test_single_with_blockquotes": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpx3m2rxx6/quote.html'", "text": "def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpx3m2rxx6/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpx3m2rxx6/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "387f428e1305/eval.tests.test_single_file_rendering.test_single_with_links": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmprfck5phz/links.html'", "text": "def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmprfck5phz/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmprfck5phz/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "387f428e1305/eval.tests.test_single_file_rendering.test_single_with_syntax_highlighting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpkkyn2qke/code.html'", "text": "def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpkkyn2qke/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpkkyn2qke/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "387f428e1305/eval.tests.test_single_file_rendering.test_single_tex_output": {"message": "assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '", "text": "def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '\n\neval/tests/test_single_file_rendering.py:369: AssertionError"}, "387f428e1305/eval.tests.test_special_flags.test_force_emoji_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmp652ljg27/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmp652ljg27/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError"}, "387f428e1305/eval.tests.test_special_flags.test_combined_flags": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpjnzrnbdm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpjnzrnbdm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError"}, "387f428e1305/eval.tests.test_special_flags.test_autograph_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpp01qd5oa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpp01qd5oa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpp01qd5oa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpp01qd5oa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError"}, "387f428e1305/eval.tests.test_single_file_rendering.test_single_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp0idbys3m/multi.html').exists", "text": "def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0idbys3m/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError"}, "387f428e1305/eval.tests.test_special_flags.test_no_fancy_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmp9c22wt8g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmp9c22wt8g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError"}, "387f428e1305/eval.tests.test_verbose_quiet.test_quiet_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp1kviev2k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp1kviev2k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError"}, "387f428e1305/eval.tests.test_special_flags.test_autograph_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmplchb__sl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmplchb__sl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmplchb__sl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmplchb__sl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError"}, "387f428e1305/eval.tests.test_verbose_quiet.test_quiet_with_error": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError"}, "387f428e1305/eval.tests.test_special_flags.test_verbose_with_no_fancy": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmp8f5ao992/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmp8f5ao992/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError"}, "387f428e1305/eval.tests.test_special_flags.test_no_fancy_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpdpbuo9xa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpdpbuo9xa/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError"}, "387f428e1305/eval.tests.test_special_flags.test_force_emoji_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpnjp_ux4u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpnjp_ux4u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError"}, "fffe565f0183/eval.tests.test_book_processing.test_basic_book_html_output": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpewa8dne3/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpewa8dne3/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError"}, "fffe565f0183/eval.tests.test_basic_invocation.test_missing_book_file_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError"}, "fffe565f0183/eval.tests.test_epub_generation.test_epub_version_3": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpgl22tnx_/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgl22tnx_/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError"}, "fffe565f0183/eval.tests.test_book_processing.test_book_with_relative_paths": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptbzalpb5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptbzalpb5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError"}, "fffe565f0183/eval.tests.test_actual_rendering.test_render_with_cover_image": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpggh9tf7i/cover.epub').exists", "text": "def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpggh9tf7i/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError"}, "fffe565f0183/eval.tests.test_lang_option.test_lang_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError"}, "fffe565f0183/eval.tests.test_create_book.test_create_book_with_filename": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpllfaapwg/mybook.book').exists", "text": "temp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpllfaapwg/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError"}, "fffe565f0183/eval.tests.test_actual_rendering.test_render_epub_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpyia9tk2h/book.epub').exists", "text": "def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyia9tk2h/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError"}, "fffe565f0183/eval.tests.test_epub_generation.test_epub_multiple_chapters": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpt_kmutra/book.epub').exists", "text": "temp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpt_kmutra/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError"}, "fffe565f0183/eval.tests.test_edge_cases.test_nested_lists": {"message": "AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuhrqi0nf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuhrqi0nf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError"}, "fffe565f0183/eval.tests.test_book_processing.test_book_with_multiple_chapters": {"message": "AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\n + where b'Chapter 0' = ()\n + where = 'Chapter 0'.encode\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxwzs5hdz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxwzs5hdz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError"}, "fffe565f0183/eval.tests.test_edge_cases.test_mixed_list_types": {"message": "AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvsuv85xy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvsuv85xy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError"}, "fffe565f0183/eval.tests.test_edge_cases.test_unicode_content": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpr8oeslsy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpr8oeslsy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError"}, "fffe565f0183/eval.tests.test_edge_cases.test_empty_markdown_file": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzekyg7m0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzekyg7m0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError"}, "fffe565f0183/eval.tests.test_create_book.test_create_book_file_already_exists": {"message": "assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n')\n + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n'.lower", "text": "temp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpjc2f4423/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError"}, "fffe565f0183/eval.tests.test_markdown_features.test_markdown_links": {"message": "AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwql8s_bi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwql8s_bi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError"}, "fffe565f0183/eval.tests.test_list_options.test_list_options_shows_defaults": {"message": "AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError"}, "fffe565f0183/eval.tests.test_markdown_features.test_markdown_horizontal_rules": {"message": "AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6r_mfv4p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6r_mfv4p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError"}, "fffe565f0183/eval.tests.test_book_processing.test_book_with_metadata": {"message": "AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp_570oz7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp_570oz7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError"}, "fffe565f0183/eval.tests.test_actual_rendering.test_render_error_missing_chapter": {"message": "AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')", "text": "def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError"}, "fffe565f0183/eval.tests.test_book_processing.test_book_missing_chapter_file": {"message": "AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\n + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy7nquvqg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError"}, "fffe565f0183/eval.tests.test_basic_invocation.test_help_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError"}, "fffe565f0183/eval.tests.test_print_template.test_print_template_tex": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError"}, "fffe565f0183/eval.tests.test_list_options.test_list_options_short_flag": {"message": "AssertionError: assert 47 > 5000\n + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError"}, "fffe565f0183/eval.tests.test_list_options.test_list_options_long_flag": {"message": "AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError"}, "fffe565f0183/eval.tests.test_output_formats.test_invalid_format_shows_error": {"message": "AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError"}, "fffe565f0183/eval.tests.test_list_options.test_list_options_shows_types": {"message": "AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError"}, "fffe565f0183/eval.tests.test_basic_invocation.test_help_shows_all_options": {"message": "AssertionError: Flag b'--single' not found in help\nassert b'--single' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError"}, "fffe565f0183/eval.tests.test_edge_cases.test_malformed_yaml": {"message": "AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError"}, "fffe565f0183/eval.tests.test_markdown_features.test_markdown_code_blocks": {"message": "AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsgm1xqeq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsgm1xqeq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError"}, "fffe565f0183/eval.tests.test_actual_rendering.test_render_to_stdout": {"message": "AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'", "text": "def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError"}, "fffe565f0183/eval.tests.test_actual_rendering.test_render_with_inline_toc": {"message": "assert 1 >= 2\n + where 1 = ('Chapter One')\n + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count", "text": "def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count\n\neval/tests/test_actual_rendering.py:389: AssertionError"}, "fffe565f0183/eval.tests.test_markdown_features.test_markdown_footnotes": {"message": "AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqys0enoj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqys0enoj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError"}, "fffe565f0183/eval.tests.test_edge_cases.test_special_characters_in_title": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpv1w6e5mf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpv1w6e5mf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError"}, "fffe565f0183/eval.tests.test_basic_invocation.test_no_arguments_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError"}, "fffe565f0183/eval.tests.test_markdown_features.test_markdown_headings": {"message": "AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp11zmb0hc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp11zmb0hc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError"}, "fffe565f0183/eval.tests.test_print_template.test_print_template_epub_css": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError"}, "fffe565f0183/eval.tests.test_actual_rendering.test_render_tex_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpq0c75am9/output.tex').exists", "text": "def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpq0c75am9/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError"}, "fffe565f0183/eval.tests.test_actual_rendering.test_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp7zjd9fl_/multi.epub').exists", "text": "def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp7zjd9fl_/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError"}, "fffe565f0183/eval.tests.test_epub_generation.test_epub_output_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpgp99pua9/output.epub').exists", "text": "temp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgp99pua9/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError"}, "fffe565f0183/eval.tests.test_markdown_features.test_markdown_blockquotes": {"message": "AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6e9yp0p8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6e9yp0p8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError"}, "fffe565f0183/eval.tests.test_edge_cases.test_multiple_yaml_blocks": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6szj4vza/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6szj4vza/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError"}, "fffe565f0183/eval.tests.test_lang_option.test_lang_option_english": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError"}, "fffe565f0183/eval.tests.test_epub_generation.test_epub_with_metadata": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp82et52yl/book.epub').exists", "text": "temp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp82et52yl/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError"}, "fffe565f0183/eval.tests.test_basic_invocation.test_help_long_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError"}, "fffe565f0183/eval.tests.test_edge_cases.test_very_long_content": {"message": "AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3eqg3bbe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3eqg3bbe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError"}, "fffe565f0183/eval.tests.test_lang_option.test_lang_with_book_processing": {"message": "AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp90jhlhxh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp90jhlhxh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError"}, "fffe565f0183/eval.tests.test_output_formats.test_output_file_tex": {"message": "assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')", "text": "temp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')\n\neval/tests/test_output_formats.py:71: AssertionError"}, "fffe565f0183/eval.tests.test_print_template.test_print_template_html_standalone": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError"}, "fffe565f0183/eval.tests.test_print_template.test_print_template_html_css": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError"}, "fffe565f0183/eval.tests.test_print_template.test_print_template_to_file": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError"}, "fffe565f0183/eval.tests.test_lang_option.test_lang_affects_messages": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')", "text": "def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError"}, "fffe565f0183/eval.tests.test_actual_rendering.test_render_html_dir": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpyxj3r140/html_output').exists", "text": "def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyxj3r140/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError"}, "fffe565f0183/eval.tests.test_epub_generation.test_epub_version_2": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpgtfdo1b6/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgtfdo1b6/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError"}, "fffe565f0183/eval.tests.test_output_formats.test_to_with_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpevuncqkg/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpevuncqkg/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError"}, "fffe565f0183/eval.tests.test_markdown_features.test_markdown_emphasis": {"message": "AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5g1zi__l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5g1zi__l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError"}, "fffe565f0183/eval.tests.test_book_processing.test_book_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7cqwuym3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError"}, "fffe565f0183/eval.tests.test_epub_generation.test_epub_with_to_flag": {"message": "AssertionError: assert False\n + where False = (PosixPath('/tmp/tmph6p_r8j_/test.epub'))\n + where = zipfile.is_zipfile", "text": "temp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmph6p_r8j_/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError"}, "fffe565f0183/eval.tests.test_output_formats.test_to_html_format": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnl04yru7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnl04yru7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError"}, "fffe565f0183/eval.tests.test_list_options.test_list_options_shows_descriptions": {"message": "AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError"}, "fffe565f0183/eval.tests.test_output_formats.test_output_without_to_shows_error": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError"}, "fffe565f0183/eval.tests.test_print_template.test_print_template_invalid": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError"}, "fffe565f0183/eval.tests.test_output_formats.test_to_tex_format": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgn3pdsy1/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError"}, "fffe565f0183/eval.tests.test_edge_cases.test_book_with_no_author": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgt0g8u32/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgt0g8u32/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError"}, "fffe565f0183/eval.tests.test_edge_cases.test_book_with_no_title": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyw47u159/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyw47u159/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError"}, "fffe565f0183/eval.tests.test_markdown_features.test_markdown_tables": {"message": "AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpz6wvaivy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpz6wvaivy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError"}, "fffe565f0183/eval.tests.test_print_template.test_print_template_epub_chapter": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError"}, "fffe565f0183/eval.tests.test_markdown_features.test_markdown_lists": {"message": "AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpm8k0fodj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpm8k0fodj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError"}, "fffe565f0183/eval.tests.test_print_template.test_print_template_html_dir": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError"}, "fffe565f0183/eval.tests.test_basic_invocation.test_invalid_option_shows_error": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode", "text": "def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError"}, "fffe565f0183/eval.tests.test_rendering_options.test_html_dir_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpwocb1gc7/html_output').exists", "text": "temp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwocb1gc7/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError"}, "fffe565f0183/eval.tests.test_print_template.test_print_template_multiple_types": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError"}, "fffe565f0183/eval.tests.test_rendering_options.test_rendering_highlight_none": {"message": "AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1h7sp3ro/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1h7sp3ro/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError"}, "fffe565f0183/eval.tests.test_rendering_options.test_rendering_with_cover": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplwz9nqti/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplwz9nqti/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplwz9nqti/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplwz9nqti/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError"}, "fffe565f0183/eval.tests.test_rendering_options.test_pdf_output_specified": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError"}, "fffe565f0183/eval.tests.test_set_option.test_set_single_option": {"message": "AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp041a4imc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp041a4imc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp041a4imc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp041a4imc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError"}, "fffe565f0183/eval.tests.test_set_option.test_set_rendering_option": {"message": "AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4_168gs/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4_168gs/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError"}, "fffe565f0183/eval.tests.test_set_option.test_set_invalid_option": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxto_5wfl/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxto_5wfl/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError"}, "fffe565f0183/eval.tests.test_single_file.test_single_without_yaml_block": {"message": "AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpv8e7754w/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpv8e7754w/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError"}, "fffe565f0183/eval.tests.test_single_file.test_single_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmplbme5yp4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmplbme5yp4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmplbme5yp4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmplbme5yp4/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError"}, "fffe565f0183/eval.tests.test_single_file.test_single_markdown_features": {"message": "AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp43gm0khe/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp43gm0khe/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError"}, "fffe565f0183/eval.tests.test_rendering_options.test_tex_standalone_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmph_au0ch7/output.tex').exists", "text": "temp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmph_au0ch7/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError"}, "fffe565f0183/eval.tests.test_rendering_options.test_rendering_inline_toc": {"message": "AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgyzo22j3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgyzo22j3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError"}, "fffe565f0183/eval.tests.test_set_option.test_set_with_spaces_in_value": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp60xttab6/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp60xttab6/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError"}, "fffe565f0183/eval.tests.test_set_option.test_set_boolean_option": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi4vwpqab/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi4vwpqab/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError"}, "fffe565f0183/eval.tests.test_single_file_rendering.test_single_render_to_html": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpzlxkgzcl/article.html').exists", "text": "def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpzlxkgzcl/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError"}, "fffe565f0183/eval.tests.test_single_file_rendering.test_single_render_to_epub": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp9ryzp4mg/story.epub').exists", "text": "def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9ryzp4mg/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError"}, "fffe565f0183/eval.tests.test_single_file.test_single_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpnh3yp_6_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpnh3yp_6_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError"}, "fffe565f0183/eval.tests.test_single_file.test_single_with_inline_yaml_variations": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwemh_m18/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwemh_m18/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError"}, "fffe565f0183/eval.tests.test_rendering_options.test_rendering_highlight_syntect": {"message": "AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ftbkvsk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ftbkvsk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ftbkvsk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ftbkvsk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError"}, "fffe565f0183/eval.tests.test_lang_option.test_lang_option_french": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError"}, "fffe565f0183/eval.tests.test_rendering_options.test_rendering_numbering": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcmz_h3bq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcmz_h3bq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError"}, "fffe565f0183/eval.tests.test_single_file.test_single_markdown_with_yaml_block": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpib_segpy/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpib_segpy/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError"}, "fffe565f0183/eval.tests.test_single_file_rendering.test_single_to_stdout": {"message": "AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'", "text": "def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError"}, "fffe565f0183/eval.tests.test_single_file_rendering.test_single_with_multiple_chapters": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmptwbz_wlw/multi.html'", "text": "def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmptwbz_wlw/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmptwbz_wlw/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "fffe565f0183/eval.tests.test_single_file_rendering.test_single_with_set_options": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpos_vkje8/set.html').exists", "text": "def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpos_vkje8/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError"}, "fffe565f0183/eval.tests.test_set_option.test_set_multiple_options": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw447uvmf/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw447uvmf/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError"}, "fffe565f0183/eval.tests.test_single_file_rendering.test_single_with_links": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp7sy66urh/links.html'", "text": "def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp7sy66urh/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp7sy66urh/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "fffe565f0183/eval.tests.test_single_file_rendering.test_single_with_blockquotes": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpiygmcpwq/quote.html'", "text": "def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpiygmcpwq/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpiygmcpwq/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "fffe565f0183/eval.tests.test_special_flags.test_force_emoji_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpn2c7d3bf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpn2c7d3bf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError"}, "fffe565f0183/eval.tests.test_single_file_rendering.test_single_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpxdfyrd32/multi.html').exists", "text": "def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpxdfyrd32/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError"}, "fffe565f0183/eval.tests.test_special_flags.test_combined_flags": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmptnw49nwl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmptnw49nwl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError"}, "fffe565f0183/eval.tests.test_special_flags.test_autograph_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpvkvh9axm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpvkvh9axm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpvkvh9axm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpvkvh9axm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError"}, "fffe565f0183/eval.tests.test_single_file_rendering.test_single_tex_output": {"message": "assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '", "text": "def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '\n\neval/tests/test_single_file_rendering.py:369: AssertionError"}, "fffe565f0183/eval.tests.test_single_file_rendering.test_single_with_syntax_highlighting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp3zaykzkl/code.html'", "text": "def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp3zaykzkl/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp3zaykzkl/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "fffe565f0183/eval.tests.test_special_flags.test_force_emoji_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpe6s7nols/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpe6s7nols/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError"}, "fffe565f0183/eval.tests.test_special_flags.test_no_fancy_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpvd20w39c/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpvd20w39c/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError"}, "fffe565f0183/eval.tests.test_special_flags.test_autograph_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp_cee2mv7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp_cee2mv7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp_cee2mv7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp_cee2mv7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError"}, "fffe565f0183/eval.tests.test_verbose_quiet.test_quiet_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpa69kzvtc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpa69kzvtc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError"}, "fffe565f0183/eval.tests.test_special_flags.test_verbose_with_no_fancy": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpsvqo6707/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpsvqo6707/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError"}, "fffe565f0183/eval.tests.test_special_flags.test_no_fancy_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpvlj1wbx9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpvlj1wbx9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError"}, "fffe565f0183/eval.tests.test_verbose_quiet.test_quiet_with_error": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError"}, "ddb21e0128b0/eval.tests.test_basic_invocation.test_help_shows_all_options": {"message": "AssertionError: Flag b'--single' not found in help\nassert b'--single' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError"}, "ddb21e0128b0/eval.tests.test_basic_invocation.test_invalid_option_shows_error": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode", "text": "def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError"}, "ddb21e0128b0/eval.tests.test_lang_option.test_lang_with_book_processing": {"message": "AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp17zw9fj0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp17zw9fj0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError"}, "ddb21e0128b0/eval.tests.test_print_template.test_print_template_tex": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError"}, "ddb21e0128b0/eval.tests.test_output_formats.test_to_html_format": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpotr1axcm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpotr1axcm/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError"}, "ddb21e0128b0/eval.tests.test_actual_rendering.test_render_with_cover_image": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpwa4yj4s4/cover.epub').exists", "text": "def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwa4yj4s4/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError"}, "ddb21e0128b0/eval.tests.test_basic_invocation.test_help_long_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError"}, "ddb21e0128b0/eval.tests.test_actual_rendering.test_render_epub_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpb0r033gr/book.epub').exists", "text": "def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpb0r033gr/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError"}, "ddb21e0128b0/eval.tests.test_edge_cases.test_empty_markdown_file": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpra5z0y1w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpra5z0y1w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError"}, "ddb21e0128b0/eval.tests.test_output_formats.test_output_without_to_shows_error": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError"}, "ddb21e0128b0/eval.tests.test_edge_cases.test_multiple_yaml_blocks": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpd67y9b0_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpd67y9b0_/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError"}, "ddb21e0128b0/eval.tests.test_actual_rendering.test_render_with_inline_toc": {"message": "assert 1 >= 2\n + where 1 = ('Chapter One')\n + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count", "text": "def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count\n\neval/tests/test_actual_rendering.py:389: AssertionError"}, "ddb21e0128b0/eval.tests.test_actual_rendering.test_render_error_missing_chapter": {"message": "AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')", "text": "def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError"}, "ddb21e0128b0/eval.tests.test_set_option.test_set_boolean_option": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_g2il2we/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_g2il2we/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError"}, "ddb21e0128b0/eval.tests.test_basic_invocation.test_missing_book_file_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError"}, "ddb21e0128b0/eval.tests.test_actual_rendering.test_render_to_stdout": {"message": "AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'", "text": "def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError"}, "ddb21e0128b0/eval.tests.test_rendering_options.test_rendering_highlight_syntect": {"message": "AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp268bo116/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp268bo116/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp268bo116/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp268bo116/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError"}, "ddb21e0128b0/eval.tests.test_actual_rendering.test_render_html_dir": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpmn0wsrvw/html_output').exists", "text": "def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmn0wsrvw/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError"}, "ddb21e0128b0/eval.tests.test_print_template.test_print_template_to_file": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError"}, "ddb21e0128b0/eval.tests.test_rendering_options.test_rendering_inline_toc": {"message": "AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1dce3rws/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1dce3rws/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file.test_single_with_inline_yaml_variations": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpdnfqi1zv/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpdnfqi1zv/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError"}, "ddb21e0128b0/eval.tests.test_markdown_features.test_markdown_lists": {"message": "AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2r70yl53/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2r70yl53/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError"}, "ddb21e0128b0/eval.tests.test_lang_option.test_lang_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError"}, "ddb21e0128b0/eval.tests.test_epub_generation.test_epub_with_to_flag": {"message": "AssertionError: assert False\n + where False = (PosixPath('/tmp/tmp_gqimacb/test.epub'))\n + where = zipfile.is_zipfile", "text": "temp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmp_gqimacb/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError"}, "ddb21e0128b0/eval.tests.test_rendering_options.test_html_dir_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpklp6_c3h/html_output').exists", "text": "temp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpklp6_c3h/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError"}, "ddb21e0128b0/eval.tests.test_markdown_features.test_markdown_code_blocks": {"message": "AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1ckrxn9r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1ckrxn9r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError"}, "ddb21e0128b0/eval.tests.test_rendering_options.test_rendering_with_cover": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd_qddzer/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd_qddzer/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd_qddzer/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd_qddzer/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError"}, "ddb21e0128b0/eval.tests.test_rendering_options.test_rendering_numbering": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0k_nkwk8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0k_nkwk8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError"}, "ddb21e0128b0/eval.tests.test_markdown_features.test_markdown_links": {"message": "AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyklh_ux/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyklh_ux/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError"}, "ddb21e0128b0/eval.tests.test_book_processing.test_book_with_relative_paths": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpl59zcsat/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpl59zcsat/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError"}, "ddb21e0128b0/eval.tests.test_markdown_features.test_markdown_footnotes": {"message": "AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0m75ackw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0m75ackw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file.test_single_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp208ohu4b/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp208ohu4b/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file.test_single_markdown_with_yaml_block": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp4kz30a58/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp4kz30a58/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError"}, "ddb21e0128b0/eval.tests.test_lang_option.test_lang_option_english": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError"}, "ddb21e0128b0/eval.tests.test_print_template.test_print_template_html_dir": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError"}, "ddb21e0128b0/eval.tests.test_list_options.test_list_options_shows_descriptions": {"message": "AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError"}, "ddb21e0128b0/eval.tests.test_edge_cases.test_nested_lists": {"message": "AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxxbvgct3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxxbvgct3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError"}, "ddb21e0128b0/eval.tests.test_output_formats.test_output_file_tex": {"message": "assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')", "text": "temp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')\n\neval/tests/test_output_formats.py:71: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file.test_single_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp5zjaldkq/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp5zjaldkq/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp5zjaldkq/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp5zjaldkq/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError"}, "ddb21e0128b0/eval.tests.test_rendering_options.test_pdf_output_specified": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError"}, "ddb21e0128b0/eval.tests.test_print_template.test_print_template_epub_chapter": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError"}, "ddb21e0128b0/eval.tests.test_basic_invocation.test_help_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError"}, "ddb21e0128b0/eval.tests.test_set_option.test_set_multiple_options": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppv9zk_kh/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppv9zk_kh/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError"}, "ddb21e0128b0/eval.tests.test_lang_option.test_lang_affects_messages": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')", "text": "def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError"}, "ddb21e0128b0/eval.tests.test_basic_invocation.test_no_arguments_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError"}, "ddb21e0128b0/eval.tests.test_create_book.test_create_book_file_already_exists": {"message": "assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n')\n + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n'.lower", "text": "temp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp80yuau2e/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError"}, "ddb21e0128b0/eval.tests.test_actual_rendering.test_render_tex_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp9ngbt5cu/output.tex').exists", "text": "def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9ngbt5cu/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError"}, "ddb21e0128b0/eval.tests.test_book_processing.test_basic_book_html_output": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpicng_rcx/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpicng_rcx/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError"}, "ddb21e0128b0/eval.tests.test_epub_generation.test_epub_output_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmps68dr83z/output.epub').exists", "text": "temp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmps68dr83z/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError"}, "ddb21e0128b0/eval.tests.test_list_options.test_list_options_long_flag": {"message": "AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError"}, "ddb21e0128b0/eval.tests.test_book_processing.test_book_missing_chapter_file": {"message": "AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\n + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpckubman3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError"}, "ddb21e0128b0/eval.tests.test_list_options.test_list_options_short_flag": {"message": "AssertionError: assert 47 > 5000\n + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError"}, "ddb21e0128b0/eval.tests.test_print_template.test_print_template_html_standalone": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError"}, "ddb21e0128b0/eval.tests.test_book_processing.test_book_with_metadata": {"message": "AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3ua8an_r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3ua8an_r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError"}, "ddb21e0128b0/eval.tests.test_edge_cases.test_book_with_no_title": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo18jkwnn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo18jkwnn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError"}, "ddb21e0128b0/eval.tests.test_edge_cases.test_mixed_list_types": {"message": "AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp53rz985c/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp53rz985c/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError"}, "ddb21e0128b0/eval.tests.test_epub_generation.test_epub_version_3": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp25bhm57o/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp25bhm57o/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError"}, "ddb21e0128b0/eval.tests.test_markdown_features.test_markdown_tables": {"message": "AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpywe3u2en/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpywe3u2en/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError"}, "ddb21e0128b0/eval.tests.test_markdown_features.test_markdown_blockquotes": {"message": "AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp57yc5jp5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp57yc5jp5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError"}, "ddb21e0128b0/eval.tests.test_list_options.test_list_options_shows_types": {"message": "AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file_rendering.test_single_with_set_options": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp0vsi9065/set.html').exists", "text": "def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0vsi9065/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError"}, "ddb21e0128b0/eval.tests.test_markdown_features.test_markdown_headings": {"message": "AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0vked03i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0vked03i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError"}, "ddb21e0128b0/eval.tests.test_print_template.test_print_template_html_css": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError"}, "ddb21e0128b0/eval.tests.test_print_template.test_print_template_invalid": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file_rendering.test_single_render_to_html": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpj64xr8dd/article.html').exists", "text": "def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpj64xr8dd/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError"}, "ddb21e0128b0/eval.tests.test_edge_cases.test_special_characters_in_title": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnkfwc785/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnkfwc785/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError"}, "ddb21e0128b0/eval.tests.test_book_processing.test_book_with_multiple_chapters": {"message": "AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\n + where b'Chapter 0' = ()\n + where = 'Chapter 0'.encode\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0wbtu2yi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0wbtu2yi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError"}, "ddb21e0128b0/eval.tests.test_output_formats.test_invalid_format_shows_error": {"message": "AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file_rendering.test_single_with_multiple_chapters": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmphu6hjt10/multi.html'", "text": "def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmphu6hjt10/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmphu6hjt10/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "ddb21e0128b0/eval.tests.test_markdown_features.test_markdown_horizontal_rules": {"message": "AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgnyxum4w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgnyxum4w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError"}, "ddb21e0128b0/eval.tests.test_edge_cases.test_malformed_yaml": {"message": "AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file_rendering.test_single_to_stdout": {"message": "AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'", "text": "def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file_rendering.test_single_with_links": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpz0dvxjke/links.html'", "text": "def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpz0dvxjke/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpz0dvxjke/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "ddb21e0128b0/eval.tests.test_book_processing.test_book_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn17m9d/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError"}, "ddb21e0128b0/eval.tests.test_lang_option.test_lang_option_french": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file.test_single_without_yaml_block": {"message": "AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp1m0ffvx4/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp1m0ffvx4/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError"}, "ddb21e0128b0/eval.tests.test_markdown_features.test_markdown_emphasis": {"message": "AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpb171f8pb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpb171f8pb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file_rendering.test_single_with_blockquotes": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpuoh8086r/quote.html'", "text": "def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpuoh8086r/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpuoh8086r/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "ddb21e0128b0/eval.tests.test_print_template.test_print_template_epub_css": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError"}, "ddb21e0128b0/eval.tests.test_edge_cases.test_very_long_content": {"message": "AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpm9ihumnp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpm9ihumnp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError"}, "ddb21e0128b0/eval.tests.test_rendering_options.test_rendering_highlight_none": {"message": "AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0i9m0j8y/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0i9m0j8y/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError"}, "ddb21e0128b0/eval.tests.test_edge_cases.test_unicode_content": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqg2_a0n2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqg2_a0n2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError"}, "ddb21e0128b0/eval.tests.test_rendering_options.test_tex_standalone_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp2s2hf6vz/output.tex').exists", "text": "temp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2s2hf6vz/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError"}, "ddb21e0128b0/eval.tests.test_set_option.test_set_with_spaces_in_value": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1z2xbalk/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1z2xbalk/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file_rendering.test_single_render_to_epub": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpp7tedhcc/story.epub').exists", "text": "def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpp7tedhcc/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError"}, "ddb21e0128b0/eval.tests.test_edge_cases.test_book_with_no_author": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_ltfwwxk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_ltfwwxk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError"}, "ddb21e0128b0/eval.tests.test_epub_generation.test_epub_version_2": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpaq6l7juf/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpaq6l7juf/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError"}, "ddb21e0128b0/eval.tests.test_epub_generation.test_epub_multiple_chapters": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpacck17cg/book.epub').exists", "text": "temp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpacck17cg/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError"}, "ddb21e0128b0/eval.tests.test_epub_generation.test_epub_with_metadata": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpcxdmzpyv/book.epub').exists", "text": "temp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcxdmzpyv/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError"}, "ddb21e0128b0/eval.tests.test_set_option.test_set_single_option": {"message": "AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvnkrwp43/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvnkrwp43/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvnkrwp43/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvnkrwp43/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError"}, "ddb21e0128b0/eval.tests.test_set_option.test_set_rendering_option": {"message": "AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzrv2gp8s/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzrv2gp8s/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError"}, "ddb21e0128b0/eval.tests.test_output_formats.test_to_with_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8wwqh3va/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8wwqh3va/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file.test_single_markdown_features": {"message": "AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpo9_z26o7/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpo9_z26o7/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError"}, "ddb21e0128b0/eval.tests.test_list_options.test_list_options_shows_defaults": {"message": "AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError"}, "ddb21e0128b0/eval.tests.test_create_book.test_create_book_with_filename": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmplrzshr9_/mybook.book').exists", "text": "temp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmplrzshr9_/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError"}, "ddb21e0128b0/eval.tests.test_set_option.test_set_invalid_option": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsc8ic3zl/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsc8ic3zl/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError"}, "ddb21e0128b0/eval.tests.test_print_template.test_print_template_multiple_types": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError"}, "ddb21e0128b0/eval.tests.test_output_formats.test_to_tex_format": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7w8d_o7h/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError"}, "ddb21e0128b0/eval.tests.test_actual_rendering.test_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp9mg_oxgh/multi.epub').exists", "text": "def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9mg_oxgh/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file_rendering.test_single_with_syntax_highlighting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpr_g2we24/code.html'", "text": "def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpr_g2we24/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpr_g2we24/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "ddb21e0128b0/eval.tests.test_single_file_rendering.test_single_tex_output": {"message": "assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '", "text": "def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '\n\neval/tests/test_single_file_rendering.py:369: AssertionError"}, "ddb21e0128b0/eval.tests.test_single_file_rendering.test_single_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpf1ekoesr/multi.html').exists", "text": "def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpf1ekoesr/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError"}, "ddb21e0128b0/eval.tests.test_special_flags.test_autograph_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp31lhgg7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp31lhgg7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp31lhgg7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp31lhgg7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError"}, "ddb21e0128b0/eval.tests.test_special_flags.test_combined_flags": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmp1vulvfqk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmp1vulvfqk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError"}, "ddb21e0128b0/eval.tests.test_special_flags.test_force_emoji_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpufwonugx/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpufwonugx/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError"}, "ddb21e0128b0/eval.tests.test_special_flags.test_autograph_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp2cbm7tk0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp2cbm7tk0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp2cbm7tk0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmp2cbm7tk0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError"}, "ddb21e0128b0/eval.tests.test_verbose_quiet.test_quiet_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp9wmz3gq8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmp9wmz3gq8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError"}, "ddb21e0128b0/eval.tests.test_verbose_quiet.test_quiet_with_error": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError"}, "ddb21e0128b0/eval.tests.test_special_flags.test_verbose_with_no_fancy": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpezv2ccy6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpezv2ccy6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError"}, "ddb21e0128b0/eval.tests.test_special_flags.test_no_fancy_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpzx1nkrfp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpzx1nkrfp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError"}, "ddb21e0128b0/eval.tests.test_special_flags.test_no_fancy_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpjs512bxl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpjs512bxl/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError"}, "ddb21e0128b0/eval.tests.test_special_flags.test_force_emoji_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpplj570_z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpplj570_z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError"}, "71a1f14207e8/eval.tests.test_list_options.test_list_options_shows_defaults": {"message": "AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError"}, "71a1f14207e8/eval.tests.test_list_options.test_list_options_long_flag": {"message": "AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError"}, "71a1f14207e8/eval.tests.test_actual_rendering.test_render_to_stdout": {"message": "AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'", "text": "def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError"}, "71a1f14207e8/eval.tests.test_edge_cases.test_malformed_yaml": {"message": "AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError"}, "71a1f14207e8/eval.tests.test_basic_invocation.test_invalid_option_shows_error": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode", "text": "def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError"}, "71a1f14207e8/eval.tests.test_edge_cases.test_book_with_no_title": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgc4nq9qe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgc4nq9qe/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError"}, "71a1f14207e8/eval.tests.test_book_processing.test_book_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5gah6w9w/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError"}, "71a1f14207e8/eval.tests.test_output_formats.test_to_html_format": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbuiya693/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbuiya693/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError"}, "71a1f14207e8/eval.tests.test_print_template.test_print_template_html_dir": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError"}, "71a1f14207e8/eval.tests.test_list_options.test_list_options_shows_types": {"message": "AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError"}, "71a1f14207e8/eval.tests.test_epub_generation.test_epub_with_metadata": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp4em0bw6x/book.epub').exists", "text": "temp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp4em0bw6x/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError"}, "71a1f14207e8/eval.tests.test_output_formats.test_output_file_tex": {"message": "assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')", "text": "temp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')\n\neval/tests/test_output_formats.py:71: AssertionError"}, "71a1f14207e8/eval.tests.test_actual_rendering.test_render_error_missing_chapter": {"message": "AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')", "text": "def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError"}, "71a1f14207e8/eval.tests.test_lang_option.test_lang_with_book_processing": {"message": "AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpym_t0paj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpym_t0paj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError"}, "71a1f14207e8/eval.tests.test_edge_cases.test_multiple_yaml_blocks": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6ml5df98/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6ml5df98/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError"}, "71a1f14207e8/eval.tests.test_actual_rendering.test_render_with_cover_image": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpv4kh1p3k/cover.epub').exists", "text": "def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpv4kh1p3k/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError"}, "71a1f14207e8/eval.tests.test_set_option.test_set_multiple_options": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp785dblwx/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp785dblwx/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError"}, "71a1f14207e8/eval.tests.test_actual_rendering.test_render_html_dir": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpvzelw919/html_output').exists", "text": "def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpvzelw919/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError"}, "71a1f14207e8/eval.tests.test_rendering_options.test_rendering_inline_toc": {"message": "AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpk03bc9p5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpk03bc9p5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError"}, "71a1f14207e8/eval.tests.test_set_option.test_set_single_option": {"message": "AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5586gsc4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5586gsc4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5586gsc4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5586gsc4/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError"}, "71a1f14207e8/eval.tests.test_actual_rendering.test_render_tex_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpdi3fpmmj/output.tex').exists", "text": "def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpdi3fpmmj/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError"}, "71a1f14207e8/eval.tests.test_list_options.test_list_options_short_flag": {"message": "AssertionError: assert 47 > 5000\n + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError"}, "71a1f14207e8/eval.tests.test_set_option.test_set_with_spaces_in_value": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp39b11yhj/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp39b11yhj/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError"}, "71a1f14207e8/eval.tests.test_markdown_features.test_markdown_horizontal_rules": {"message": "AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjlsx2m92/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjlsx2m92/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError"}, "71a1f14207e8/eval.tests.test_epub_generation.test_epub_version_3": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpvj0g3z6y/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpvj0g3z6y/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError"}, "71a1f14207e8/eval.tests.test_markdown_features.test_markdown_footnotes": {"message": "AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp4ij0zbh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp4ij0zbh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError"}, "71a1f14207e8/eval.tests.test_epub_generation.test_epub_multiple_chapters": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpfhvqs_ws/book.epub').exists", "text": "temp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpfhvqs_ws/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError"}, "71a1f14207e8/eval.tests.test_edge_cases.test_empty_markdown_file": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_cz5z68h/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_cz5z68h/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError"}, "71a1f14207e8/eval.tests.test_basic_invocation.test_missing_book_file_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError"}, "71a1f14207e8/eval.tests.test_print_template.test_print_template_html_css": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError"}, "71a1f14207e8/eval.tests.test_actual_rendering.test_render_epub_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpb7nomgxd/book.epub').exists", "text": "def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpb7nomgxd/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError"}, "71a1f14207e8/eval.tests.test_edge_cases.test_mixed_list_types": {"message": "AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3bvmywyn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3bvmywyn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError"}, "71a1f14207e8/eval.tests.test_basic_invocation.test_no_arguments_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError"}, "71a1f14207e8/eval.tests.test_markdown_features.test_markdown_blockquotes": {"message": "AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7ff9548r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7ff9548r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError"}, "71a1f14207e8/eval.tests.test_book_processing.test_book_missing_chapter_file": {"message": "AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\n + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8igrc9cr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError"}, "71a1f14207e8/eval.tests.test_set_option.test_set_rendering_option": {"message": "AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw4kjt574/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpw4kjt574/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError"}, "71a1f14207e8/eval.tests.test_basic_invocation.test_help_shows_all_options": {"message": "AssertionError: Flag b'--single' not found in help\nassert b'--single' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError"}, "71a1f14207e8/eval.tests.test_create_book.test_create_book_file_already_exists": {"message": "assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n')\n + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n'.lower", "text": "temp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp6v1ti03h/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError"}, "71a1f14207e8/eval.tests.test_book_processing.test_book_with_relative_paths": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdjwbulco/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdjwbulco/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError"}, "71a1f14207e8/eval.tests.test_markdown_features.test_markdown_emphasis": {"message": "AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwsbp1z5p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwsbp1z5p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError"}, "71a1f14207e8/eval.tests.test_edge_cases.test_nested_lists": {"message": "AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbco6dhgq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbco6dhgq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError"}, "71a1f14207e8/eval.tests.test_print_template.test_print_template_to_file": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError"}, "71a1f14207e8/eval.tests.test_create_book.test_create_book_with_filename": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp1e5rz0z_/mybook.book').exists", "text": "temp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp1e5rz0z_/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError"}, "71a1f14207e8/eval.tests.test_markdown_features.test_markdown_code_blocks": {"message": "AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpoybqbmzp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpoybqbmzp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file.test_single_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmprk4_9bfu/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmprk4_9bfu/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError"}, "71a1f14207e8/eval.tests.test_actual_rendering.test_render_with_inline_toc": {"message": "assert 1 >= 2\n + where 1 = ('Chapter One')\n + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count", "text": "def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count\n\neval/tests/test_actual_rendering.py:389: AssertionError"}, "71a1f14207e8/eval.tests.test_book_processing.test_book_with_metadata": {"message": "AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxcegamjj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxcegamjj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError"}, "71a1f14207e8/eval.tests.test_rendering_options.test_pdf_output_specified": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError"}, "71a1f14207e8/eval.tests.test_markdown_features.test_markdown_tables": {"message": "AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph5te211q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmph5te211q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError"}, "71a1f14207e8/eval.tests.test_epub_generation.test_epub_with_to_flag": {"message": "AssertionError: assert False\n + where False = (PosixPath('/tmp/tmp3j4uf_v7/test.epub'))\n + where = zipfile.is_zipfile", "text": "temp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmp3j4uf_v7/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError"}, "71a1f14207e8/eval.tests.test_book_processing.test_basic_book_html_output": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqhtcwcg4/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqhtcwcg4/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError"}, "71a1f14207e8/eval.tests.test_epub_generation.test_epub_output_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpvy483096/output.epub').exists", "text": "temp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpvy483096/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file.test_single_markdown_with_yaml_block": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp8nhljvk8/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp8nhljvk8/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError"}, "71a1f14207e8/eval.tests.test_output_formats.test_invalid_format_shows_error": {"message": "AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError"}, "71a1f14207e8/eval.tests.test_basic_invocation.test_help_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError"}, "71a1f14207e8/eval.tests.test_edge_cases.test_special_characters_in_title": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyuujmiix/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyuujmiix/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError"}, "71a1f14207e8/eval.tests.test_lang_option.test_lang_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError"}, "71a1f14207e8/eval.tests.test_output_formats.test_to_with_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd855qvrl/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd855qvrl/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError"}, "71a1f14207e8/eval.tests.test_markdown_features.test_markdown_headings": {"message": "AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp18rsyoel/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp18rsyoel/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError"}, "71a1f14207e8/eval.tests.test_actual_rendering.test_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpwp1co4ya/multi.epub').exists", "text": "def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwp1co4ya/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError"}, "71a1f14207e8/eval.tests.test_edge_cases.test_book_with_no_author": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgdms70w1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgdms70w1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError"}, "71a1f14207e8/eval.tests.test_edge_cases.test_very_long_content": {"message": "AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpke776056/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpke776056/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError"}, "71a1f14207e8/eval.tests.test_print_template.test_print_template_tex": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError"}, "71a1f14207e8/eval.tests.test_rendering_options.test_rendering_highlight_none": {"message": "AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphnu_k0gf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphnu_k0gf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError"}, "71a1f14207e8/eval.tests.test_markdown_features.test_markdown_lists": {"message": "AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_677z0ii/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_677z0ii/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError"}, "71a1f14207e8/eval.tests.test_set_option.test_set_invalid_option": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpti9kp903/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpti9kp903/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError"}, "71a1f14207e8/eval.tests.test_output_formats.test_output_without_to_shows_error": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError"}, "71a1f14207e8/eval.tests.test_print_template.test_print_template_invalid": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError"}, "71a1f14207e8/eval.tests.test_print_template.test_print_template_epub_css": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError"}, "71a1f14207e8/eval.tests.test_print_template.test_print_template_multiple_types": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError"}, "71a1f14207e8/eval.tests.test_lang_option.test_lang_affects_messages": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')", "text": "def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError"}, "71a1f14207e8/eval.tests.test_rendering_options.test_html_dir_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp6ji8ssh_/html_output').exists", "text": "temp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp6ji8ssh_/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError"}, "71a1f14207e8/eval.tests.test_set_option.test_set_boolean_option": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpna3a_gdb/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpna3a_gdb/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError"}, "71a1f14207e8/eval.tests.test_rendering_options.test_tex_standalone_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp5qelkyq0/output.tex').exists", "text": "temp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp5qelkyq0/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError"}, "71a1f14207e8/eval.tests.test_basic_invocation.test_help_long_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError"}, "71a1f14207e8/eval.tests.test_output_formats.test_to_tex_format": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcppnkz0t/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError"}, "71a1f14207e8/eval.tests.test_book_processing.test_book_with_multiple_chapters": {"message": "AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\n + where b'Chapter 0' = ()\n + where = 'Chapter 0'.encode\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3z3kpx6e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3z3kpx6e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file.test_single_with_inline_yaml_variations": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpa6bxq4q1/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpa6bxq4q1/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file.test_single_without_yaml_block": {"message": "AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpw9xomavd/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpw9xomavd/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError"}, "71a1f14207e8/eval.tests.test_lang_option.test_lang_option_french": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError"}, "71a1f14207e8/eval.tests.test_rendering_options.test_rendering_with_cover": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgoalr2ss/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgoalr2ss/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgoalr2ss/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgoalr2ss/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError"}, "71a1f14207e8/eval.tests.test_print_template.test_print_template_html_standalone": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError"}, "71a1f14207e8/eval.tests.test_rendering_options.test_rendering_numbering": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0y90kt6k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0y90kt6k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file.test_single_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpiiar587x/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpiiar587x/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpiiar587x/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpiiar587x/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError"}, "71a1f14207e8/eval.tests.test_rendering_options.test_rendering_highlight_syntect": {"message": "AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi32klo70/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi32klo70/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi32klo70/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpi32klo70/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError"}, "71a1f14207e8/eval.tests.test_epub_generation.test_epub_version_2": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmps1fvx3w6/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmps1fvx3w6/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError"}, "71a1f14207e8/eval.tests.test_print_template.test_print_template_epub_chapter": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file_rendering.test_single_render_to_html": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpa_7gx2iu/article.html').exists", "text": "def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpa_7gx2iu/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError"}, "71a1f14207e8/eval.tests.test_markdown_features.test_markdown_links": {"message": "AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6itr8twb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6itr8twb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError"}, "71a1f14207e8/eval.tests.test_edge_cases.test_unicode_content": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6l56a7_z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6l56a7_z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError"}, "71a1f14207e8/eval.tests.test_list_options.test_list_options_shows_descriptions": {"message": "AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file.test_single_markdown_features": {"message": "AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpquvat_dr/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpquvat_dr/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError"}, "71a1f14207e8/eval.tests.test_lang_option.test_lang_option_english": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file_rendering.test_single_with_set_options": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpzxf8uzyc/set.html').exists", "text": "def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpzxf8uzyc/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file_rendering.test_single_to_stdout": {"message": "AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'", "text": "def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file_rendering.test_single_render_to_epub": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp50ghs07m/story.epub').exists", "text": "def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp50ghs07m/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file_rendering.test_single_with_multiple_chapters": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp8yejppmg/multi.html'", "text": "def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp8yejppmg/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp8yejppmg/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "71a1f14207e8/eval.tests.test_single_file_rendering.test_single_with_links": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpvvkz9ixj/links.html'", "text": "def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpvvkz9ixj/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpvvkz9ixj/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "71a1f14207e8/eval.tests.test_single_file_rendering.test_single_with_blockquotes": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpkmsr64bn/quote.html'", "text": "def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpkmsr64bn/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpkmsr64bn/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "71a1f14207e8/eval.tests.test_single_file_rendering.test_single_tex_output": {"message": "assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '", "text": "def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '\n\neval/tests/test_single_file_rendering.py:369: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file_rendering.test_single_with_syntax_highlighting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpul8sjwxp/code.html'", "text": "def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpul8sjwxp/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpul8sjwxp/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "71a1f14207e8/eval.tests.test_special_flags.test_force_emoji_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpor6acka0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpor6acka0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError"}, "71a1f14207e8/eval.tests.test_single_file_rendering.test_single_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpwmj86_kj/multi.html').exists", "text": "def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwmj86_kj/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError"}, "71a1f14207e8/eval.tests.test_special_flags.test_autograph_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmposouqsyo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmposouqsyo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmposouqsyo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmposouqsyo/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError"}, "71a1f14207e8/eval.tests.test_special_flags.test_combined_flags": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpogborny_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpogborny_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError"}, "71a1f14207e8/eval.tests.test_verbose_quiet.test_quiet_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpvpa08014/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpvpa08014/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError"}, "71a1f14207e8/eval.tests.test_special_flags.test_force_emoji_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp61lv6ou5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp61lv6ou5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError"}, "71a1f14207e8/eval.tests.test_special_flags.test_no_fancy_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpt_vcsbub/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpt_vcsbub/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError"}, "71a1f14207e8/eval.tests.test_special_flags.test_verbose_with_no_fancy": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmphihsbtxi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmphihsbtxi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError"}, "71a1f14207e8/eval.tests.test_special_flags.test_autograph_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpal0c39i2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpal0c39i2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpal0c39i2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpal0c39i2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError"}, "71a1f14207e8/eval.tests.test_verbose_quiet.test_quiet_with_error": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError"}, "71a1f14207e8/eval.tests.test_special_flags.test_no_fancy_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpy3ozl97a/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpy3ozl97a/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError"}, "e9bad10b9127/eval.tests.test_markdown_features.test_markdown_links": {"message": "AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdmj7agce/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdmj7agce/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError"}, "e9bad10b9127/eval.tests.test_actual_rendering.test_render_epub_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpe8_o36lg/book.epub').exists", "text": "def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpe8_o36lg/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError"}, "e9bad10b9127/eval.tests.test_actual_rendering.test_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpaf2nj95i/multi.epub').exists", "text": "def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpaf2nj95i/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError"}, "e9bad10b9127/eval.tests.test_actual_rendering.test_render_to_stdout": {"message": "AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'", "text": "def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError"}, "e9bad10b9127/eval.tests.test_actual_rendering.test_render_html_dir": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpe66exd3r/html_output').exists", "text": "def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpe66exd3r/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError"}, "e9bad10b9127/eval.tests.test_markdown_features.test_markdown_footnotes": {"message": "AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbagslpdc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbagslpdc/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError"}, "e9bad10b9127/eval.tests.test_book_processing.test_book_with_multiple_chapters": {"message": "AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\n + where b'Chapter 0' = ()\n + where = 'Chapter 0'.encode\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ltz83gi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ltz83gi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError"}, "e9bad10b9127/eval.tests.test_print_template.test_print_template_epub_css": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError"}, "e9bad10b9127/eval.tests.test_book_processing.test_book_with_metadata": {"message": "AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9rjyubja/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9rjyubja/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError"}, "e9bad10b9127/eval.tests.test_rendering_options.test_pdf_output_specified": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError"}, "e9bad10b9127/eval.tests.test_print_template.test_print_template_html_standalone": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError"}, "e9bad10b9127/eval.tests.test_create_book.test_create_book_with_filename": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmppqhy7xoa/mybook.book').exists", "text": "temp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmppqhy7xoa/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError"}, "e9bad10b9127/eval.tests.test_basic_invocation.test_no_arguments_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError"}, "e9bad10b9127/eval.tests.test_basic_invocation.test_help_long_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError"}, "e9bad10b9127/eval.tests.test_basic_invocation.test_missing_book_file_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError"}, "e9bad10b9127/eval.tests.test_epub_generation.test_epub_version_3": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp_29j8wzf/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp_29j8wzf/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError"}, "e9bad10b9127/eval.tests.test_markdown_features.test_markdown_code_blocks": {"message": "AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa0sh69x0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa0sh69x0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError"}, "e9bad10b9127/eval.tests.test_lang_option.test_lang_option_english": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError"}, "e9bad10b9127/eval.tests.test_print_template.test_print_template_html_dir": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError"}, "e9bad10b9127/eval.tests.test_lang_option.test_lang_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError"}, "e9bad10b9127/eval.tests.test_edge_cases.test_mixed_list_types": {"message": "AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp99lismfi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp99lismfi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError"}, "e9bad10b9127/eval.tests.test_edge_cases.test_unicode_content": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprxnahbn4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprxnahbn4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError"}, "e9bad10b9127/eval.tests.test_output_formats.test_output_without_to_shows_error": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError"}, "e9bad10b9127/eval.tests.test_markdown_features.test_markdown_tables": {"message": "AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcy47ihrw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcy47ihrw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError"}, "e9bad10b9127/eval.tests.test_epub_generation.test_epub_with_metadata": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpa82q9b73/book.epub').exists", "text": "temp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpa82q9b73/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError"}, "e9bad10b9127/eval.tests.test_actual_rendering.test_render_error_missing_chapter": {"message": "AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')", "text": "def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError"}, "e9bad10b9127/eval.tests.test_book_processing.test_book_missing_chapter_file": {"message": "AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\n + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplt6hzhgh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError"}, "e9bad10b9127/eval.tests.test_edge_cases.test_book_with_no_author": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp01e92qlv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp01e92qlv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError"}, "e9bad10b9127/eval.tests.test_actual_rendering.test_render_with_inline_toc": {"message": "assert 1 >= 2\n + where 1 = ('Chapter One')\n + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count", "text": "def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count\n\neval/tests/test_actual_rendering.py:389: AssertionError"}, "e9bad10b9127/eval.tests.test_basic_invocation.test_help_shows_all_options": {"message": "AssertionError: Flag b'--single' not found in help\nassert b'--single' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError"}, "e9bad10b9127/eval.tests.test_book_processing.test_book_with_relative_paths": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbu8q41f2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbu8q41f2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError"}, "e9bad10b9127/eval.tests.test_lang_option.test_lang_affects_messages": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')", "text": "def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError"}, "e9bad10b9127/eval.tests.test_markdown_features.test_markdown_lists": {"message": "AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpv8lflt9u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpv8lflt9u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file.test_single_without_yaml_block": {"message": "AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp4eo74z6i/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp4eo74z6i/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError"}, "e9bad10b9127/eval.tests.test_edge_cases.test_nested_lists": {"message": "AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphrlnwhr6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphrlnwhr6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError"}, "e9bad10b9127/eval.tests.test_actual_rendering.test_render_tex_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp2btr80f1/output.tex').exists", "text": "def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2btr80f1/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError"}, "e9bad10b9127/eval.tests.test_rendering_options.test_rendering_highlight_syntect": {"message": "AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd16obr_o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd16obr_o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd16obr_o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd16obr_o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError"}, "e9bad10b9127/eval.tests.test_set_option.test_set_boolean_option": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5s_d0iho/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5s_d0iho/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError"}, "e9bad10b9127/eval.tests.test_set_option.test_set_single_option": {"message": "AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppgs3dcb0/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppgs3dcb0/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppgs3dcb0/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppgs3dcb0/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError"}, "e9bad10b9127/eval.tests.test_epub_generation.test_epub_with_to_flag": {"message": "AssertionError: assert False\n + where False = (PosixPath('/tmp/tmp31g1t65p/test.epub'))\n + where = zipfile.is_zipfile", "text": "temp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmp31g1t65p/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError"}, "e9bad10b9127/eval.tests.test_list_options.test_list_options_shows_types": {"message": "AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError"}, "e9bad10b9127/eval.tests.test_book_processing.test_basic_book_html_output": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpta0no6c7/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpta0no6c7/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError"}, "e9bad10b9127/eval.tests.test_basic_invocation.test_invalid_option_shows_error": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode", "text": "def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError"}, "e9bad10b9127/eval.tests.test_edge_cases.test_special_characters_in_title": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxd3vnedj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpxd3vnedj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError"}, "e9bad10b9127/eval.tests.test_markdown_features.test_markdown_emphasis": {"message": "AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3bvpk5h7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3bvpk5h7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError"}, "e9bad10b9127/eval.tests.test_markdown_features.test_markdown_headings": {"message": "AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp36iaae16/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp36iaae16/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError"}, "e9bad10b9127/eval.tests.test_set_option.test_set_rendering_option": {"message": "AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwkq5dpcr/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwkq5dpcr/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError"}, "e9bad10b9127/eval.tests.test_rendering_options.test_tex_standalone_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpyxdiym0r/output.tex').exists", "text": "temp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyxdiym0r/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError"}, "e9bad10b9127/eval.tests.test_edge_cases.test_multiple_yaml_blocks": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp858tdbxt/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp858tdbxt/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError"}, "e9bad10b9127/eval.tests.test_set_option.test_set_multiple_options": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvqiiu6nj/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvqiiu6nj/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError"}, "e9bad10b9127/eval.tests.test_markdown_features.test_markdown_blockquotes": {"message": "AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvsqbzg_k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvsqbzg_k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError"}, "e9bad10b9127/eval.tests.test_print_template.test_print_template_epub_chapter": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError"}, "e9bad10b9127/eval.tests.test_print_template.test_print_template_html_css": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError"}, "e9bad10b9127/eval.tests.test_output_formats.test_output_file_tex": {"message": "assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')", "text": "temp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')\n\neval/tests/test_output_formats.py:71: AssertionError"}, "e9bad10b9127/eval.tests.test_lang_option.test_lang_with_book_processing": {"message": "AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpi7g6um1_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpi7g6um1_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError"}, "e9bad10b9127/eval.tests.test_print_template.test_print_template_multiple_types": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file_rendering.test_single_with_syntax_highlighting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp2upz_c9f/code.html'", "text": "def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp2upz_c9f/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp2upz_c9f/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "e9bad10b9127/eval.tests.test_edge_cases.test_very_long_content": {"message": "AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ld8jodt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5ld8jodt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError"}, "e9bad10b9127/eval.tests.test_output_formats.test_to_with_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj_699m_b/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj_699m_b/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError"}, "e9bad10b9127/eval.tests.test_edge_cases.test_book_with_no_title": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprnrsp94n/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprnrsp94n/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError"}, "e9bad10b9127/eval.tests.test_list_options.test_list_options_shows_defaults": {"message": "AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError"}, "e9bad10b9127/eval.tests.test_epub_generation.test_epub_version_2": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp0yx0dvwf/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0yx0dvwf/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError"}, "e9bad10b9127/eval.tests.test_markdown_features.test_markdown_horizontal_rules": {"message": "AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa9pb7at4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa9pb7at4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file_rendering.test_single_with_set_options": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp2cq_chp9/set.html').exists", "text": "def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2cq_chp9/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError"}, "e9bad10b9127/eval.tests.test_output_formats.test_to_tex_format": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7tb66955/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError"}, "e9bad10b9127/eval.tests.test_list_options.test_list_options_shows_descriptions": {"message": "AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError"}, "e9bad10b9127/eval.tests.test_print_template.test_print_template_to_file": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError"}, "e9bad10b9127/eval.tests.test_epub_generation.test_epub_output_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpp8vvr37s/output.epub').exists", "text": "temp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpp8vvr37s/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError"}, "e9bad10b9127/eval.tests.test_create_book.test_create_book_file_already_exists": {"message": "assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n')\n + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n'.lower", "text": "temp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpknwbm_az/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file_rendering.test_single_with_multiple_chapters": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpq1n25ln3/multi.html'", "text": "def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpq1n25ln3/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpq1n25ln3/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "e9bad10b9127/eval.tests.test_basic_invocation.test_help_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError"}, "e9bad10b9127/eval.tests.test_output_formats.test_to_html_format": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpc8csgz57/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpc8csgz57/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError"}, "e9bad10b9127/eval.tests.test_rendering_options.test_rendering_with_cover": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpf656jey1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpf656jey1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpf656jey1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpf656jey1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file_rendering.test_single_to_stdout": {"message": "AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'", "text": "def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file.test_single_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwlm11ysy/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwlm11ysy/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwlm11ysy/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpwlm11ysy/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError"}, "e9bad10b9127/eval.tests.test_lang_option.test_lang_option_french": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError"}, "e9bad10b9127/eval.tests.test_rendering_options.test_rendering_highlight_none": {"message": "AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp96an0f1q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp96an0f1q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError"}, "e9bad10b9127/eval.tests.test_rendering_options.test_rendering_inline_toc": {"message": "AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5a33ss50/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5a33ss50/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError"}, "e9bad10b9127/eval.tests.test_epub_generation.test_epub_multiple_chapters": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpmyndawgh/book.epub').exists", "text": "temp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpmyndawgh/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError"}, "e9bad10b9127/eval.tests.test_list_options.test_list_options_long_flag": {"message": "AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError"}, "e9bad10b9127/eval.tests.test_rendering_options.test_html_dir_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpa6aswo7u/html_output').exists", "text": "temp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpa6aswo7u/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError"}, "e9bad10b9127/eval.tests.test_output_formats.test_invalid_format_shows_error": {"message": "AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError"}, "e9bad10b9127/eval.tests.test_actual_rendering.test_render_with_cover_image": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp5f30aust/cover.epub').exists", "text": "def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp5f30aust/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError"}, "e9bad10b9127/eval.tests.test_set_option.test_set_with_spaces_in_value": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp81prucev/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp81prucev/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError"}, "e9bad10b9127/eval.tests.test_book_processing.test_book_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkrfq3yoq/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError"}, "e9bad10b9127/eval.tests.test_edge_cases.test_empty_markdown_file": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8a3ruesq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8a3ruesq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError"}, "e9bad10b9127/eval.tests.test_print_template.test_print_template_tex": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError"}, "e9bad10b9127/eval.tests.test_rendering_options.test_rendering_numbering": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4z34et3u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4z34et3u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError"}, "e9bad10b9127/eval.tests.test_print_template.test_print_template_invalid": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file_rendering.test_single_with_blockquotes": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpgrykpumg/quote.html'", "text": "def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpgrykpumg/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpgrykpumg/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "e9bad10b9127/eval.tests.test_edge_cases.test_malformed_yaml": {"message": "AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError"}, "e9bad10b9127/eval.tests.test_list_options.test_list_options_short_flag": {"message": "AssertionError: assert 47 > 5000\n + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file_rendering.test_single_tex_output": {"message": "assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '", "text": "def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '\n\neval/tests/test_single_file_rendering.py:369: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file_rendering.test_single_render_to_epub": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp_oug806o/story.epub').exists", "text": "def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp_oug806o/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file_rendering.test_single_render_to_html": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpun_ivsv8/article.html').exists", "text": "def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpun_ivsv8/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file.test_single_markdown_with_yaml_block": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp86ye0lwh/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmp86ye0lwh/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file_rendering.test_single_with_links": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpxowfp5bn/links.html'", "text": "def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpxowfp5bn/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpxowfp5bn/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "e9bad10b9127/eval.tests.test_single_file.test_single_with_inline_yaml_variations": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp3wzimghk/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp3wzimghk/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file.test_single_markdown_features": {"message": "AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmppmy3ki41/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmppmy3ki41/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError"}, "e9bad10b9127/eval.tests.test_set_option.test_set_invalid_option": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpblb7jcb8/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpblb7jcb8/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file.test_single_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpfn3cwln0/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpfn3cwln0/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError"}, "e9bad10b9127/eval.tests.test_single_file_rendering.test_single_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmple5bxl6n/multi.html').exists", "text": "def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmple5bxl6n/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError"}, "e9bad10b9127/eval.tests.test_special_flags.test_combined_flags": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpkymwz40g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpkymwz40g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError"}, "e9bad10b9127/eval.tests.test_special_flags.test_autograph_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpi9nhvhwt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpi9nhvhwt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpi9nhvhwt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpi9nhvhwt/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError"}, "e9bad10b9127/eval.tests.test_special_flags.test_force_emoji_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpcwymcrno/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpcwymcrno/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError"}, "e9bad10b9127/eval.tests.test_special_flags.test_autograph_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpld76tt3i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpld76tt3i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpld76tt3i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpld76tt3i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError"}, "e9bad10b9127/eval.tests.test_verbose_quiet.test_quiet_with_error": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError"}, "e9bad10b9127/eval.tests.test_special_flags.test_force_emoji_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpxrthf60r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpxrthf60r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError"}, "e9bad10b9127/eval.tests.test_verbose_quiet.test_quiet_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpsb2nv6e7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpsb2nv6e7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError"}, "e9bad10b9127/eval.tests.test_special_flags.test_no_fancy_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpxxv6r5ml/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpxxv6r5ml/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError"}, "e9bad10b9127/eval.tests.test_special_flags.test_no_fancy_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp6ybg_j_2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp6ybg_j_2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError"}, "e9bad10b9127/eval.tests.test_special_flags.test_verbose_with_no_fancy": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmp769ilykk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmp769ilykk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError"}, "b7f565cd72d7/eval.tests.test_actual_rendering.test_render_tex_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpefefhtqd/output.tex').exists", "text": "def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpefefhtqd/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError"}, "b7f565cd72d7/eval.tests.test_book_processing.test_book_with_multiple_chapters": {"message": "AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\n + where b'Chapter 0' = ()\n + where = 'Chapter 0'.encode\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvis9rpcw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvis9rpcw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError"}, "b7f565cd72d7/eval.tests.test_actual_rendering.test_render_html_dir": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpfigqt3mo/html_output').exists", "text": "def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpfigqt3mo/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError"}, "b7f565cd72d7/eval.tests.test_list_options.test_list_options_shows_descriptions": {"message": "AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError"}, "b7f565cd72d7/eval.tests.test_actual_rendering.test_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp3b8ur8y4/multi.epub').exists", "text": "def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3b8ur8y4/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError"}, "b7f565cd72d7/eval.tests.test_epub_generation.test_epub_with_to_flag": {"message": "AssertionError: assert False\n + where False = (PosixPath('/tmp/tmphdxcy7hc/test.epub'))\n + where = zipfile.is_zipfile", "text": "temp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmphdxcy7hc/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError"}, "b7f565cd72d7/eval.tests.test_create_book.test_create_book_with_filename": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp6_qj266m/mybook.book').exists", "text": "temp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp6_qj266m/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError"}, "b7f565cd72d7/eval.tests.test_edge_cases.test_mixed_list_types": {"message": "AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo6cvuu9p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo6cvuu9p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError"}, "b7f565cd72d7/eval.tests.test_output_formats.test_to_with_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphpn1qg76/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphpn1qg76/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError"}, "b7f565cd72d7/eval.tests.test_markdown_features.test_markdown_links": {"message": "AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps95rl_d4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps95rl_d4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError"}, "b7f565cd72d7/eval.tests.test_markdown_features.test_markdown_code_blocks": {"message": "AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn2jwm1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmdn2jwm1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError"}, "b7f565cd72d7/eval.tests.test_book_processing.test_book_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjc9twiaz/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError"}, "b7f565cd72d7/eval.tests.test_edge_cases.test_multiple_yaml_blocks": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpnz5_rxxq/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpnz5_rxxq/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError"}, "b7f565cd72d7/eval.tests.test_list_options.test_list_options_short_flag": {"message": "AssertionError: assert 47 > 5000\n + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError"}, "b7f565cd72d7/eval.tests.test_list_options.test_list_options_shows_types": {"message": "AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError"}, "b7f565cd72d7/eval.tests.test_edge_cases.test_special_characters_in_title": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1nbhhm5q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1nbhhm5q/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError"}, "b7f565cd72d7/eval.tests.test_actual_rendering.test_render_error_missing_chapter": {"message": "AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')", "text": "def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError"}, "b7f565cd72d7/eval.tests.test_actual_rendering.test_render_epub_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp0akcb1v7/book.epub').exists", "text": "def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp0akcb1v7/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError"}, "b7f565cd72d7/eval.tests.test_print_template.test_print_template_tex": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError"}, "b7f565cd72d7/eval.tests.test_epub_generation.test_epub_version_2": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp43hvl65z/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp43hvl65z/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError"}, "b7f565cd72d7/eval.tests.test_lang_option.test_lang_option_english": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError"}, "b7f565cd72d7/eval.tests.test_set_option.test_set_rendering_option": {"message": "AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcwc7utnk/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcwc7utnk/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError"}, "b7f565cd72d7/eval.tests.test_set_option.test_set_boolean_option": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgtxdv6od/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgtxdv6od/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError"}, "b7f565cd72d7/eval.tests.test_basic_invocation.test_help_long_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError"}, "b7f565cd72d7/eval.tests.test_markdown_features.test_markdown_tables": {"message": "AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplrt6j9ll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplrt6j9ll/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError"}, "b7f565cd72d7/eval.tests.test_epub_generation.test_epub_multiple_chapters": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpuk_tag1p/book.epub').exists", "text": "temp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuk_tag1p/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError"}, "b7f565cd72d7/eval.tests.test_print_template.test_print_template_epub_css": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError"}, "b7f565cd72d7/eval.tests.test_markdown_features.test_markdown_headings": {"message": "AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppe6xddps/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmppe6xddps/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError"}, "b7f565cd72d7/eval.tests.test_print_template.test_print_template_html_standalone": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError"}, "b7f565cd72d7/eval.tests.test_book_processing.test_book_missing_chapter_file": {"message": "AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\n + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmptnncbime/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError"}, "b7f565cd72d7/eval.tests.test_output_formats.test_output_without_to_shows_error": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError"}, "b7f565cd72d7/eval.tests.test_lang_option.test_lang_affects_messages": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')", "text": "def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError"}, "b7f565cd72d7/eval.tests.test_rendering_options.test_pdf_output_specified": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError"}, "b7f565cd72d7/eval.tests.test_rendering_options.test_rendering_with_cover": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyhgkvfr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyhgkvfr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyhgkvfr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjyhgkvfr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError"}, "b7f565cd72d7/eval.tests.test_basic_invocation.test_no_arguments_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError"}, "b7f565cd72d7/eval.tests.test_lang_option.test_lang_with_book_processing": {"message": "AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpduypbpdp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpduypbpdp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError"}, "b7f565cd72d7/eval.tests.test_create_book.test_create_book_file_already_exists": {"message": "assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n')\n + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n'.lower", "text": "temp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmptn69n20t/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError"}, "b7f565cd72d7/eval.tests.test_set_option.test_set_with_spaces_in_value": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8vg8e0wf/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8vg8e0wf/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file.test_single_markdown_with_yaml_block": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpu2nja12r/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpu2nja12r/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file.test_single_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyfpeo0sp/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyfpeo0sp/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError"}, "b7f565cd72d7/eval.tests.test_markdown_features.test_markdown_lists": {"message": "AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo2xm6mdz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpo2xm6mdz/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError"}, "b7f565cd72d7/eval.tests.test_edge_cases.test_empty_markdown_file": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0oa1um98/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0oa1um98/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError"}, "b7f565cd72d7/eval.tests.test_edge_cases.test_book_with_no_title": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkwbl5ear/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkwbl5ear/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError"}, "b7f565cd72d7/eval.tests.test_set_option.test_set_single_option": {"message": "AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg2zho4mc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg2zho4mc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg2zho4mc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpg2zho4mc/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError"}, "b7f565cd72d7/eval.tests.test_output_formats.test_to_html_format": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmo2w19v_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmo2w19v_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError"}, "b7f565cd72d7/eval.tests.test_print_template.test_print_template_to_file": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError"}, "b7f565cd72d7/eval.tests.test_output_formats.test_to_tex_format": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgohblsm/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError"}, "b7f565cd72d7/eval.tests.test_epub_generation.test_epub_output_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp02hkgpcy/output.epub').exists", "text": "temp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp02hkgpcy/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError"}, "b7f565cd72d7/eval.tests.test_basic_invocation.test_help_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError"}, "b7f565cd72d7/eval.tests.test_print_template.test_print_template_invalid": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError"}, "b7f565cd72d7/eval.tests.test_actual_rendering.test_render_with_inline_toc": {"message": "assert 1 >= 2\n + where 1 = ('Chapter One')\n + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count", "text": "def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count\n\neval/tests/test_actual_rendering.py:389: AssertionError"}, "b7f565cd72d7/eval.tests.test_edge_cases.test_nested_lists": {"message": "AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_q7x99da/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_q7x99da/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError"}, "b7f565cd72d7/eval.tests.test_markdown_features.test_markdown_emphasis": {"message": "AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6dhau4lk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp6dhau4lk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError"}, "b7f565cd72d7/eval.tests.test_basic_invocation.test_invalid_option_shows_error": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode", "text": "def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError"}, "b7f565cd72d7/eval.tests.test_edge_cases.test_unicode_content": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy6eet3nb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy6eet3nb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError"}, "b7f565cd72d7/eval.tests.test_book_processing.test_book_with_metadata": {"message": "AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvupv81w8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvupv81w8/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError"}, "b7f565cd72d7/eval.tests.test_markdown_features.test_markdown_horizontal_rules": {"message": "AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3b35l_rp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3b35l_rp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError"}, "b7f565cd72d7/eval.tests.test_edge_cases.test_book_with_no_author": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqjmv8x1e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqjmv8x1e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError"}, "b7f565cd72d7/eval.tests.test_edge_cases.test_very_long_content": {"message": "AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3c94oy2l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3c94oy2l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError"}, "b7f565cd72d7/eval.tests.test_book_processing.test_book_with_relative_paths": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgp6k_bs0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpgp6k_bs0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError"}, "b7f565cd72d7/eval.tests.test_basic_invocation.test_help_shows_all_options": {"message": "AssertionError: Flag b'--single' not found in help\nassert b'--single' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError"}, "b7f565cd72d7/eval.tests.test_actual_rendering.test_render_to_stdout": {"message": "AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'", "text": "def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError"}, "b7f565cd72d7/eval.tests.test_rendering_options.test_rendering_numbering": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp228i4auh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp228i4auh/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError"}, "b7f565cd72d7/eval.tests.test_set_option.test_set_multiple_options": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwny4nfyv/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwny4nfyv/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError"}, "b7f565cd72d7/eval.tests.test_basic_invocation.test_missing_book_file_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError"}, "b7f565cd72d7/eval.tests.test_output_formats.test_output_file_tex": {"message": "assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')", "text": "temp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')\n\neval/tests/test_output_formats.py:71: AssertionError"}, "b7f565cd72d7/eval.tests.test_rendering_options.test_rendering_highlight_syntect": {"message": "AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps3stti6g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps3stti6g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps3stti6g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps3stti6g/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError"}, "b7f565cd72d7/eval.tests.test_actual_rendering.test_render_with_cover_image": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp4ju27khd/cover.epub').exists", "text": "def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp4ju27khd/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError"}, "b7f565cd72d7/eval.tests.test_rendering_options.test_rendering_inline_toc": {"message": "AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcbhd4eie/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcbhd4eie/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError"}, "b7f565cd72d7/eval.tests.test_list_options.test_list_options_long_flag": {"message": "AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError"}, "b7f565cd72d7/eval.tests.test_print_template.test_print_template_epub_chapter": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError"}, "b7f565cd72d7/eval.tests.test_lang_option.test_lang_option_french": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError"}, "b7f565cd72d7/eval.tests.test_rendering_options.test_rendering_highlight_none": {"message": "AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzf1dnlsq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzf1dnlsq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError"}, "b7f565cd72d7/eval.tests.test_epub_generation.test_epub_with_metadata": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpboqywgmr/book.epub').exists", "text": "temp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpboqywgmr/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError"}, "b7f565cd72d7/eval.tests.test_print_template.test_print_template_html_css": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError"}, "b7f565cd72d7/eval.tests.test_epub_generation.test_epub_version_3": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpx85sjr1v/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpx85sjr1v/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError"}, "b7f565cd72d7/eval.tests.test_edge_cases.test_malformed_yaml": {"message": "AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError"}, "b7f565cd72d7/eval.tests.test_markdown_features.test_markdown_footnotes": {"message": "AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzbf1njiw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpzbf1njiw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError"}, "b7f565cd72d7/eval.tests.test_output_formats.test_invalid_format_shows_error": {"message": "AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError"}, "b7f565cd72d7/eval.tests.test_print_template.test_print_template_multiple_types": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError"}, "b7f565cd72d7/eval.tests.test_print_template.test_print_template_html_dir": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError"}, "b7f565cd72d7/eval.tests.test_lang_option.test_lang_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError"}, "b7f565cd72d7/eval.tests.test_list_options.test_list_options_shows_defaults": {"message": "AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError"}, "b7f565cd72d7/eval.tests.test_rendering_options.test_tex_standalone_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp_n9ftixy/output.tex').exists", "text": "temp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp_n9ftixy/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError"}, "b7f565cd72d7/eval.tests.test_book_processing.test_basic_book_html_output": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4vyfgojx/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4vyfgojx/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError"}, "b7f565cd72d7/eval.tests.test_set_option.test_set_invalid_option": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphpy46nmi/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmphpy46nmi/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError"}, "b7f565cd72d7/eval.tests.test_markdown_features.test_markdown_blockquotes": {"message": "AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps16q683a/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmps16q683a/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError"}, "b7f565cd72d7/eval.tests.test_rendering_options.test_html_dir_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpazkflagu/html_output').exists", "text": "temp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpazkflagu/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file_rendering.test_single_render_to_html": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpq0zmkfu8/article.html').exists", "text": "def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpq0zmkfu8/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file_rendering.test_single_render_to_epub": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp4g7wnisy/story.epub').exists", "text": "def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp4g7wnisy/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file.test_single_markdown_features": {"message": "AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp2dzx85mp/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp2dzx85mp/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file_rendering.test_single_to_stdout": {"message": "AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'", "text": "def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file.test_single_without_yaml_block": {"message": "AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp0irjs1ep/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp0irjs1ep/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file.test_single_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyqji9_1u/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyqji9_1u/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyqji9_1u/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpyqji9_1u/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file_rendering.test_single_tex_output": {"message": "assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '", "text": "def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '\n\neval/tests/test_single_file_rendering.py:369: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file_rendering.test_single_with_syntax_highlighting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpqbsf_ow7/code.html'", "text": "def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpqbsf_ow7/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpqbsf_ow7/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b7f565cd72d7/eval.tests.test_single_file_rendering.test_single_with_blockquotes": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp1cgy422j/quote.html'", "text": "def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp1cgy422j/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp1cgy422j/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b7f565cd72d7/eval.tests.test_single_file_rendering.test_single_with_set_options": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpb4fgls3_/set.html').exists", "text": "def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpb4fgls3_/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file_rendering.test_single_with_multiple_chapters": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpnw20sp_a/multi.html'", "text": "def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpnw20sp_a/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpnw20sp_a/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b7f565cd72d7/eval.tests.test_single_file.test_single_with_inline_yaml_variations": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpcoswb0qt/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpcoswb0qt/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError"}, "b7f565cd72d7/eval.tests.test_single_file_rendering.test_single_with_links": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp39j_jb1x/links.html'", "text": "def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp39j_jb1x/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp39j_jb1x/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b7f565cd72d7/eval.tests.test_single_file_rendering.test_single_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpuqsqfx_l/multi.html').exists", "text": "def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuqsqfx_l/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError"}, "b7f565cd72d7/eval.tests.test_special_flags.test_combined_flags": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmp9wu05img/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmp9wu05img/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError"}, "b7f565cd72d7/eval.tests.test_special_flags.test_force_emoji_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpye2wb3id/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpye2wb3id/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError"}, "b7f565cd72d7/eval.tests.test_special_flags.test_autograph_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpps123uua/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpps123uua/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpps123uua/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmpps123uua/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError"}, "b7f565cd72d7/eval.tests.test_special_flags.test_no_fancy_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpx82njfnn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpx82njfnn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError"}, "b7f565cd72d7/eval.tests.test_special_flags.test_force_emoji_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpmfs_5t8n/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmpmfs_5t8n/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError"}, "b7f565cd72d7/eval.tests.test_special_flags.test_verbose_with_no_fancy": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpwvsc0k7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpwvsc0k7k/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError"}, "b7f565cd72d7/eval.tests.test_special_flags.test_autograph_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpoymcio6f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpoymcio6f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpoymcio6f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpoymcio6f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError"}, "b7f565cd72d7/eval.tests.test_verbose_quiet.test_quiet_with_error": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError"}, "b7f565cd72d7/eval.tests.test_verbose_quiet.test_quiet_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpq4gcjylf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpq4gcjylf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError"}, "b7f565cd72d7/eval.tests.test_special_flags.test_no_fancy_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpzhr25ytg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpzhr25ytg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError"}, "5538380caa5e/eval.tests.test_actual_rendering.test_render_to_stdout": {"message": "AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'", "text": "def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError"}, "5538380caa5e/eval.tests.test_actual_rendering.test_render_tex_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpqv4a8411/output.tex').exists", "text": "def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpqv4a8411/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError"}, "5538380caa5e/eval.tests.test_book_processing.test_book_with_metadata": {"message": "AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprpa6_nja/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmprpa6_nja/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError"}, "5538380caa5e/eval.tests.test_book_processing.test_book_with_relative_paths": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpccpj8h0_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpccpj8h0_/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError"}, "5538380caa5e/eval.tests.test_basic_invocation.test_help_shows_all_options": {"message": "AssertionError: Flag b'--single' not found in help\nassert b'--single' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError"}, "5538380caa5e/eval.tests.test_book_processing.test_book_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplgbaamt3/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError"}, "5538380caa5e/eval.tests.test_markdown_features.test_markdown_footnotes": {"message": "AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj8aagnu4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj8aagnu4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError"}, "5538380caa5e/eval.tests.test_book_processing.test_basic_book_html_output": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdj6npx9d/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdj6npx9d/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError"}, "5538380caa5e/eval.tests.test_basic_invocation.test_help_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError"}, "5538380caa5e/eval.tests.test_epub_generation.test_epub_output_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpxx926ki0/output.epub').exists", "text": "temp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpxx926ki0/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError"}, "5538380caa5e/eval.tests.test_epub_generation.test_epub_with_metadata": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpnbuev62h/book.epub').exists", "text": "temp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpnbuev62h/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError"}, "5538380caa5e/eval.tests.test_basic_invocation.test_missing_book_file_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError"}, "5538380caa5e/eval.tests.test_actual_rendering.test_render_error_missing_chapter": {"message": "AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')", "text": "def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError"}, "5538380caa5e/eval.tests.test_edge_cases.test_book_with_no_title": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcoidlnno/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcoidlnno/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError"}, "5538380caa5e/eval.tests.test_actual_rendering.test_render_html_dir": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp10bnmuv9/html_output').exists", "text": "def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp10bnmuv9/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError"}, "5538380caa5e/eval.tests.test_epub_generation.test_epub_multiple_chapters": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmprvy7ehre/book.epub').exists", "text": "temp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmprvy7ehre/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError"}, "5538380caa5e/eval.tests.test_output_formats.test_to_tex_format": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpq7ujpm7a/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError"}, "5538380caa5e/eval.tests.test_markdown_features.test_markdown_blockquotes": {"message": "AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy2x5o808/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpy2x5o808/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError"}, "5538380caa5e/eval.tests.test_markdown_features.test_markdown_horizontal_rules": {"message": "AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpoi6c10dj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpoi6c10dj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError"}, "5538380caa5e/eval.tests.test_actual_rendering.test_render_epub_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpsl6xp1fm/book.epub').exists", "text": "def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpsl6xp1fm/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError"}, "5538380caa5e/eval.tests.test_basic_invocation.test_invalid_option_shows_error": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode", "text": "def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError"}, "5538380caa5e/eval.tests.test_epub_generation.test_epub_version_2": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpxp9h4elc/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpxp9h4elc/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError"}, "5538380caa5e/eval.tests.test_edge_cases.test_multiple_yaml_blocks": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmppvg7jx3d/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmppvg7jx3d/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError"}, "5538380caa5e/eval.tests.test_basic_invocation.test_help_long_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError"}, "5538380caa5e/eval.tests.test_markdown_features.test_markdown_code_blocks": {"message": "AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpl00smvkb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpl00smvkb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError"}, "5538380caa5e/eval.tests.test_edge_cases.test_nested_lists": {"message": "AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyv_3ykgi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyv_3ykgi/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError"}, "5538380caa5e/eval.tests.test_edge_cases.test_empty_markdown_file": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp42z9_lon/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp42z9_lon/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError"}, "5538380caa5e/eval.tests.test_edge_cases.test_very_long_content": {"message": "AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7bkiifmw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7bkiifmw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError"}, "5538380caa5e/eval.tests.test_epub_generation.test_epub_with_to_flag": {"message": "AssertionError: assert False\n + where False = (PosixPath('/tmp/tmpmb0f4diq/test.epub'))\n + where = zipfile.is_zipfile", "text": "temp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmpmb0f4diq/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError"}, "5538380caa5e/eval.tests.test_list_options.test_list_options_short_flag": {"message": "AssertionError: assert 47 > 5000\n + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError"}, "5538380caa5e/eval.tests.test_edge_cases.test_unicode_content": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwububh76/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwububh76/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError"}, "5538380caa5e/eval.tests.test_lang_option.test_lang_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError"}, "5538380caa5e/eval.tests.test_basic_invocation.test_no_arguments_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError"}, "5538380caa5e/eval.tests.test_actual_rendering.test_render_with_cover_image": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmphif5d5fn/cover.epub').exists", "text": "def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmphif5d5fn/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError"}, "5538380caa5e/eval.tests.test_create_book.test_create_book_file_already_exists": {"message": "assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n')\n + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n'.lower", "text": "temp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmpd5zb6892/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError"}, "5538380caa5e/eval.tests.test_edge_cases.test_malformed_yaml": {"message": "AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError"}, "5538380caa5e/eval.tests.test_markdown_features.test_markdown_tables": {"message": "AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyhuojd0r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyhuojd0r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError"}, "5538380caa5e/eval.tests.test_list_options.test_list_options_long_flag": {"message": "AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError"}, "5538380caa5e/eval.tests.test_lang_option.test_lang_option_french": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError"}, "5538380caa5e/eval.tests.test_edge_cases.test_special_characters_in_title": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0ct0cb6i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp0ct0cb6i/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError"}, "5538380caa5e/eval.tests.test_output_formats.test_to_with_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9p6rl0d8/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9p6rl0d8/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError"}, "5538380caa5e/eval.tests.test_markdown_features.test_markdown_lists": {"message": "AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpog_kffzj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpog_kffzj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError"}, "5538380caa5e/eval.tests.test_markdown_features.test_markdown_headings": {"message": "AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpn5w81qcv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpn5w81qcv/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError"}, "5538380caa5e/eval.tests.test_markdown_features.test_markdown_emphasis": {"message": "AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp70vrnwuy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp70vrnwuy/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError"}, "5538380caa5e/eval.tests.test_edge_cases.test_book_with_no_author": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa146l9e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa146l9e2/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError"}, "5538380caa5e/eval.tests.test_actual_rendering.test_render_with_inline_toc": {"message": "assert 1 >= 2\n + where 1 = ('Chapter One')\n + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count", "text": "def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count\n\neval/tests/test_actual_rendering.py:389: AssertionError"}, "5538380caa5e/eval.tests.test_list_options.test_list_options_shows_types": {"message": "AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError"}, "5538380caa5e/eval.tests.test_book_processing.test_book_with_multiple_chapters": {"message": "AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\n + where b'Chapter 0' = ()\n + where = 'Chapter 0'.encode\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcrrdaq9w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcrrdaq9w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError"}, "5538380caa5e/eval.tests.test_create_book.test_create_book_with_filename": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpfrqjcar6/mybook.book').exists", "text": "temp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpfrqjcar6/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError"}, "5538380caa5e/eval.tests.test_book_processing.test_book_missing_chapter_file": {"message": "AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\n + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp027ep6sn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError"}, "5538380caa5e/eval.tests.test_lang_option.test_lang_option_english": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError"}, "5538380caa5e/eval.tests.test_epub_generation.test_epub_version_3": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpn1csf5um/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpn1csf5um/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError"}, "5538380caa5e/eval.tests.test_markdown_features.test_markdown_links": {"message": "AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbpzqzpma/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpbpzqzpma/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError"}, "5538380caa5e/eval.tests.test_list_options.test_list_options_shows_descriptions": {"message": "AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError"}, "5538380caa5e/eval.tests.test_lang_option.test_lang_with_book_processing": {"message": "AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpqgy68sic/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmpqgy68sic/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError"}, "5538380caa5e/eval.tests.test_output_formats.test_invalid_format_shows_error": {"message": "AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError"}, "5538380caa5e/eval.tests.test_actual_rendering.test_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpnedg1ppe/multi.epub').exists", "text": "def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpnedg1ppe/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError"}, "5538380caa5e/eval.tests.test_output_formats.test_to_html_format": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpazw95adp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpazw95adp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError"}, "5538380caa5e/eval.tests.test_list_options.test_list_options_shows_defaults": {"message": "AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError"}, "5538380caa5e/eval.tests.test_edge_cases.test_mixed_list_types": {"message": "AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjjwabips/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpjjwabips/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError"}, "5538380caa5e/eval.tests.test_output_formats.test_output_file_tex": {"message": "assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')", "text": "temp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')\n\neval/tests/test_output_formats.py:71: AssertionError"}, "5538380caa5e/eval.tests.test_lang_option.test_lang_affects_messages": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')", "text": "def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError"}, "5538380caa5e/eval.tests.test_output_formats.test_output_without_to_shows_error": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError"}, "5538380caa5e/eval.tests.test_print_template.test_print_template_invalid": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError"}, "5538380caa5e/eval.tests.test_print_template.test_print_template_epub_css": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError"}, "5538380caa5e/eval.tests.test_rendering_options.test_html_dir_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpjho86rm_/html_output').exists", "text": "temp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpjho86rm_/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError"}, "5538380caa5e/eval.tests.test_print_template.test_print_template_epub_chapter": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError"}, "5538380caa5e/eval.tests.test_print_template.test_print_template_html_dir": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError"}, "5538380caa5e/eval.tests.test_rendering_options.test_tex_standalone_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpp4ygv13v/output.tex').exists", "text": "temp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpp4ygv13v/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError"}, "5538380caa5e/eval.tests.test_set_option.test_set_single_option": {"message": "AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1j3xq94e/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1j3xq94e/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1j3xq94e/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp1j3xq94e/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError"}, "5538380caa5e/eval.tests.test_rendering_options.test_rendering_inline_toc": {"message": "AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnhwrgyn9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpnhwrgyn9/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError"}, "5538380caa5e/eval.tests.test_single_file.test_single_markdown_with_yaml_block": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpkexs0jxj/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmpkexs0jxj/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError"}, "5538380caa5e/eval.tests.test_print_template.test_print_template_to_file": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError"}, "5538380caa5e/eval.tests.test_rendering_options.test_rendering_highlight_none": {"message": "AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmc8tsz6m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpmc8tsz6m/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError"}, "5538380caa5e/eval.tests.test_special_flags.test_autograph_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp4leahrcp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp4leahrcp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp4leahrcp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp4leahrcp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError"}, "5538380caa5e/eval.tests.test_single_file.test_single_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp0kc7vuh0/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp0kc7vuh0/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError"}, "5538380caa5e/eval.tests.test_set_option.test_set_boolean_option": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsul3ocq2/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpsul3ocq2/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError"}, "5538380caa5e/eval.tests.test_rendering_options.test_rendering_highlight_syntect": {"message": "AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkzfjbplw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkzfjbplw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkzfjbplw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkzfjbplw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError"}, "5538380caa5e/eval.tests.test_rendering_options.test_rendering_with_cover": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdxlouk1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdxlouk1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdxlouk1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpdxlouk1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError"}, "5538380caa5e/eval.tests.test_print_template.test_print_template_html_standalone": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError"}, "5538380caa5e/eval.tests.test_single_file.test_single_markdown_features": {"message": "AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpsnwqv3ee/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpsnwqv3ee/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError"}, "5538380caa5e/eval.tests.test_special_flags.test_combined_flags": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpljz83se6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmpljz83se6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError"}, "5538380caa5e/eval.tests.test_print_template.test_print_template_tex": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError"}, "5538380caa5e/eval.tests.test_set_option.test_set_rendering_option": {"message": "AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyhwr5tqk/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyhwr5tqk/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError"}, "5538380caa5e/eval.tests.test_single_file_rendering.test_single_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpwmef5smz/multi.html').exists", "text": "def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpwmef5smz/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError"}, "5538380caa5e/eval.tests.test_set_option.test_set_multiple_options": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvca7_yxc/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpvca7_yxc/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError"}, "5538380caa5e/eval.tests.test_rendering_options.test_pdf_output_specified": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError"}, "5538380caa5e/eval.tests.test_single_file_rendering.test_single_render_to_html": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmprvvhl0q2/article.html').exists", "text": "def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmprvvhl0q2/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError"}, "5538380caa5e/eval.tests.test_set_option.test_set_with_spaces_in_value": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4w0_f3jz/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp4w0_f3jz/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError"}, "5538380caa5e/eval.tests.test_print_template.test_print_template_multiple_types": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError"}, "5538380caa5e/eval.tests.test_rendering_options.test_rendering_numbering": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe3jqik1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpe3jqik1u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError"}, "5538380caa5e/eval.tests.test_single_file.test_single_without_yaml_block": {"message": "AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpob7q4zjs/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpob7q4zjs/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError"}, "5538380caa5e/eval.tests.test_single_file.test_single_with_inline_yaml_variations": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpau68zb3o/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpau68zb3o/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError"}, "5538380caa5e/eval.tests.test_special_flags.test_force_emoji_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpin70uc_f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpin70uc_f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError"}, "5538380caa5e/eval.tests.test_single_file_rendering.test_single_render_to_epub": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp2vb6oiyh/story.epub').exists", "text": "def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2vb6oiyh/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError"}, "5538380caa5e/eval.tests.test_single_file.test_single_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqsf94rw_/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqsf94rw_/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqsf94rw_/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqsf94rw_/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError"}, "5538380caa5e/eval.tests.test_print_template.test_print_template_html_css": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError"}, "5538380caa5e/eval.tests.test_set_option.test_set_invalid_option": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7ps30juk/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp7ps30juk/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError"}, "5538380caa5e/eval.tests.test_single_file_rendering.test_single_with_set_options": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp2onfqgup/set.html').exists", "text": "def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp2onfqgup/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError"}, "5538380caa5e/eval.tests.test_single_file_rendering.test_single_to_stdout": {"message": "AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'", "text": "def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError"}, "5538380caa5e/eval.tests.test_single_file_rendering.test_single_with_blockquotes": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmphsgldy6o/quote.html'", "text": "def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmphsgldy6o/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmphsgldy6o/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "5538380caa5e/eval.tests.test_single_file_rendering.test_single_with_links": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp4a9xmsl9/links.html'", "text": "def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp4a9xmsl9/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp4a9xmsl9/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "5538380caa5e/eval.tests.test_single_file_rendering.test_single_with_syntax_highlighting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp9c8p7x82/code.html'", "text": "def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp9c8p7x82/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp9c8p7x82/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "5538380caa5e/eval.tests.test_single_file_rendering.test_single_with_multiple_chapters": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpepfcwbty/multi.html'", "text": "def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpepfcwbty/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpepfcwbty/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "5538380caa5e/eval.tests.test_single_file_rendering.test_single_tex_output": {"message": "assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '", "text": "def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '\n\neval/tests/test_single_file_rendering.py:369: AssertionError"}, "5538380caa5e/eval.tests.test_special_flags.test_verbose_with_no_fancy": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpt5lfv1p5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmpt5lfv1p5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError"}, "5538380caa5e/eval.tests.test_verbose_quiet.test_quiet_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpeby41_t3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmpeby41_t3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError"}, "5538380caa5e/eval.tests.test_special_flags.test_no_fancy_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpt61076uw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmpt61076uw/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError"}, "5538380caa5e/eval.tests.test_special_flags.test_autograph_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpwrlx9g2w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpwrlx9g2w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpwrlx9g2w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpwrlx9g2w/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError"}, "5538380caa5e/eval.tests.test_special_flags.test_force_emoji_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp9u3nxp5f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp9u3nxp5f/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError"}, "5538380caa5e/eval.tests.test_verbose_quiet.test_quiet_with_error": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError"}, "5538380caa5e/eval.tests.test_special_flags.test_no_fancy_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp362s1wnf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmp362s1wnf/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError"}, "547860b2846e/eval.tests.test_basic_invocation.test_invalid_option_shows_error": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode", "text": "def test_invalid_option_shows_error():\n \"\"\"Test that invalid option shows error.\"\"\"\n result = run(\"--invalid-option-xyz\")\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-option-xyz'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n\neval/tests/test_basic_invocation.py:70: AssertionError"}, "547860b2846e/eval.tests.test_actual_rendering.test_render_tex_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpuvnbytpu/output.tex').exists", "text": "def test_render_tex_output():\n \"\"\"Test LaTeX rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"latex.md\"\n chapter.write_text(\"# LaTeX Chapter\\n\\nSome **bold** and *italic* text.\")\n \n book_config = tmppath / \"latex.book\"\n book_config.write_text(f\"\"\"\n author: LaTeX Author\n title: LaTeX Book\n lang: en\n \n output.tex: output.tex\n \n + {chapter.name}\n \"\"\")\n \n # Render to TeX\n result = run(str(book_config), \"--to\", \"tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex_file = tmppath / \"output.tex\"\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpuvnbytpu/output.tex').exists\n\neval/tests/test_actual_rendering.py:231: AssertionError"}, "547860b2846e/eval.tests.test_epub_generation.test_epub_with_metadata": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpkqs5hg_a/book.epub').exists", "text": "temp_files = \n\n def test_epub_with_metadata(temp_files):\n \"\"\"Test EPUB with comprehensive metadata.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Content\\n\\nText.\\n\")\n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n \n book_content = f\"\"\"title: My Great Book\n author: Jane Doe\n lang: en\n subject: Fiction\n description: A wonderful story about things\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkqs5hg_a/book.epub').exists\n\neval/tests/test_epub_generation.py:61: AssertionError"}, "547860b2846e/eval.tests.test_markdown_features.test_markdown_lists": {"message": "AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_f3q9evk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_lists(temp_files):\n \"\"\"Test ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Lists\n \n ## Unordered\n - Item 1\n - Item 2\n - Item 3\n \n ## Ordered\n 1. First\n 2. Second\n 3. Third\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Item 1\" in result.stdout\nE AssertionError: assert b'Item 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_f3q9evk/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:59: AssertionError"}, "547860b2846e/eval.tests.test_epub_generation.test_epub_multiple_chapters": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpkr52y_nu/book.epub').exists", "text": "temp_files = \n\n def test_epub_multiple_chapters(temp_files):\n \"\"\"Test EPUB with multiple chapters.\"\"\"\n chapters = []\n for i in range(5):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n output_epub = Path(temp_files.tempdir) / \"book.epub\"\n book_content = f\"title: Multi\\nauthor: A\\nlang: en\\noutput.epub: {output_epub.name}\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpkr52y_nu/book.epub').exists\n\neval/tests/test_epub_generation.py:86: AssertionError"}, "547860b2846e/eval.tests.test_markdown_features.test_markdown_emphasis": {"message": "AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplg2uizv3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_emphasis(temp_files):\n \"\"\"Test emphasis and strong text.\"\"\"\n md_content = \"\"\"# Test\n \n This is *italic* and _also italic_.\n \n This is **bold** and __also bold__.\n \n This is ***bold italic***.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"italic\" in result.stdout\nE AssertionError: assert b'italic' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplg2uizv3/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:37: AssertionError"}, "547860b2846e/eval.tests.test_output_formats.test_to_with_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3qk3uyv4/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_with_short_flag(temp_files):\n \"\"\"Test -t short flag for format specification.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"-t\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3qk3uyv4/book.book', '-t', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:32: AssertionError"}, "547860b2846e/eval.tests.test_markdown_features.test_markdown_code_blocks": {"message": "AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcnt71jhn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_code_blocks(temp_files):\n \"\"\"Test code blocks.\"\"\"\n md_content = \"\"\"# Code\n \n Inline `code` here.\n \n ```\n code block\n without language\n ```\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"code block\" in result.stdout\nE AssertionError: assert b'code block' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcnt71jhn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:100: AssertionError"}, "547860b2846e/eval.tests.test_markdown_features.test_markdown_horizontal_rules": {"message": "AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5s4hnn04/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_horizontal_rules(temp_files):\n \"\"\"Test horizontal rules.\"\"\"\n md_content = \"\"\"# Rules\n \n Text above.\n \n ---\n \n Text below.\n \n ***\n \n More text.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Text above\" in result.stdout\nE AssertionError: assert b'Text above' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5s4hnn04/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:139: AssertionError"}, "547860b2846e/eval.tests.test_output_formats.test_to_html_format": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp17hbnw28/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_html_format(temp_files):\n \"\"\"Test --to html output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp17hbnw28/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:12: AssertionError"}, "547860b2846e/eval.tests.test_markdown_features.test_markdown_footnotes": {"message": "AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp63omoiix/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_footnotes(temp_files):\n \"\"\"Test footnotes.\"\"\"\n md_content = \"\"\"# Footnotes\n \n This has a footnote[^1].\n \n [^1]: This is the footnote text.\n \n Another footnote[^2].\n \n [^2]: Second footnote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"footnote\" in result.stdout.lower()\nE AssertionError: assert b'footnote' in b'crowbook 0.17.0\\n'\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp63omoiix/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:177: AssertionError"}, "547860b2846e/eval.tests.test_list_options.test_list_options_long_flag": {"message": "AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_long_flag():\n \"\"\"Test --list-options displays all available options.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for major option categories\n assert b\"METADATA\" in result.stdout\n> assert b\"OUTPUT OPTIONS\" in result.stdout\nE AssertionError: assert b'OUTPUT OPTIONS' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:10: AssertionError"}, "547860b2846e/eval.tests.test_edge_cases.test_nested_lists": {"message": "AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8tc_s3se/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_nested_lists(temp_files):\n \"\"\"Test deeply nested lists.\"\"\"\n md_content = \"\"\"# Nested\n \n - Level 1\n - Level 2\n - Level 3\n - Level 4\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Level 1\" in result.stdout\nE AssertionError: assert b'Level 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8tc_s3se/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:100: AssertionError"}, "547860b2846e/eval.tests.test_print_template.test_print_template_html_dir": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_dir():\n \"\"\"Test printing HTML directory template.\"\"\"\n result = run(\"--print-template\", \"html.dir.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.dir.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:47: AssertionError"}, "547860b2846e/eval.tests.test_book_processing.test_book_with_multiple_chapters": {"message": "AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\n + where b'Chapter 0' = ()\n + where = 'Chapter 0'.encode\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkd5ah4gr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_multiple_chapters(temp_files):\n \"\"\"Test book with many chapters.\"\"\"\n chapters = []\n for i in range(10):\n chapters.append(temp_files.create(f\"ch{i}.md\", f\"# Chapter {i}\\n\\nContent {i}.\\n\"))\n \n book_content = \"title: Multi Chapter\\nauthor: Author\\nlang: en\\n\\n\"\n for ch in chapters:\n book_content += f\"+ {ch.name}\\n\"\n \n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain all chapters\n for i in range(10):\n> assert f\"Chapter {i}\".encode() in result.stdout\nE AssertionError: assert b'Chapter 0' in b'CROWBOOK 0.17.0\\n'\nE + where b'Chapter 0' = ()\nE + where = 'Chapter 0'.encode\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpkd5ah4gr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:151: AssertionError"}, "547860b2846e/eval.tests.test_book_processing.test_book_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_tex_output(temp_files):\n \"\"\"Test book with LaTeX output.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Chapter\\n\\nSome **bold** text.\\n\")\n \n book_content = f\"\"\"title: LaTeX Book\n author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain LaTeX markup\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp8c9v1ydt/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:86: AssertionError"}, "547860b2846e/eval.tests.test_edge_cases.test_unicode_content": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpb2frhw3r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_unicode_content(temp_files):\n \"\"\"Test unicode and special characters.\"\"\"\n md_content = \"\"\"# Unicode Test\n \n This has \u00e9mojis #x1F600 and sp\u00ebcial \u00e7haracters.\n \n \u4e2d\u6587 \u65e5\u672c\u8a9e \ud55c\uae00\n \n Math: \u222b \u2211 \u221e\n \"\"\"\n md_file = temp_files.create(\"unicode.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should handle unicode\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpb2frhw3r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:43: AssertionError"}, "547860b2846e/eval.tests.test_book_processing.test_basic_book_html_output": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj6uklxsl/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_basic_book_html_output(temp_files):\n \"\"\"Test processing a basic book configuration for HTML output.\"\"\"\n md1 = temp_files.create(\"chapter1.md\", \"# Chapter One\\n\\nContent of chapter one.\\n\")\n md2 = temp_files.create(\"chapter2.md\", \"# Chapter Two\\n\\nContent of chapter two.\\n\")\n \n book_content = f\"\"\"author: Test Author\n title: Test Book\n lang: en\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"test.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should contain HTML with both chapters\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpj6uklxsl/test.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:23: AssertionError"}, "547860b2846e/eval.tests.test_set_option.test_set_boolean_option": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcdorey76/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_boolean_option(temp_files):\n \"\"\"Test --set with boolean option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.inline_toc\", \"true\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should enable inline TOC\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpcdorey76/book.book', '--to', 'html', '--set', 'rendering.inline_toc', 'true'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:75: AssertionError"}, "547860b2846e/eval.tests.test_print_template.test_print_template_to_file": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_print_template_to_file(temp_files):\n \"\"\"Test redirecting template output to file.\"\"\"\n import subprocess\n output_file = temp_files.tempdir + \"/template.css\"\n \n # Run with shell to redirect output\n result = subprocess.run(\n f\"./executable --print-template html.css > {output_file}\",\n shell=True, capture_output=True, cwd=\".\"\n )\n \n from pathlib import Path\n out_path = Path(output_file)\n assert out_path.exists()\n content = out_path.read_bytes()\n> assert len(content) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_print_template.py:74: AssertionError"}, "547860b2846e/eval.tests.test_basic_invocation.test_missing_book_file_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_missing_book_file_shows_error():\n \"\"\"Test that referencing non-existent book file shows error.\"\"\"\n result = run(\"nonexistent_file_xyz.book\")\n # Crowbook returns 0 even on errors - check stderr for error message\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:80: AssertionError"}, "547860b2846e/eval.tests.test_epub_generation.test_epub_output_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpr6nnl68m/output.epub').exists", "text": "temp_files = \n\n def test_epub_output_basic(temp_files):\n \"\"\"Test basic EPUB generation.\"\"\"\n md_file = temp_files.create(\"chapter.md\", \"# Chapter One\\n\\nThis is content.\\n\")\n output_epub = Path(temp_files.tempdir) / \"output.epub\"\n \n book_content = f\"\"\"title: EPUB Test\n author: Test Author\n lang: en\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # EPUB file should be created\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpr6nnl68m/output.epub').exists\n\neval/tests/test_epub_generation.py:24: AssertionError"}, "547860b2846e/eval.tests.test_markdown_features.test_markdown_links": {"message": "AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp10giahzn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_links(temp_files):\n \"\"\"Test markdown links.\"\"\"\n md_content = \"\"\"# Links\n \n [Inline link](http://example.com)\n \n [Link with title](http://example.com \"Title\")\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Inline link\" in result.stdout\nE AssertionError: assert b'Inline link' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp10giahzn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:76: AssertionError"}, "547860b2846e/eval.tests.test_edge_cases.test_mixed_list_types": {"message": "AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqdf_8t8x/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_mixed_list_types(temp_files):\n \"\"\"Test mixing ordered and unordered lists.\"\"\"\n md_content = \"\"\"# Mixed\n \n 1. First ordered\n - Unordered sub\n - Another sub\n 2. Second ordered\n 1. Nested ordered\n 2. More nested\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"First ordered\" in result.stdout\nE AssertionError: assert b'First ordered' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpqdf_8t8x/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:120: AssertionError"}, "547860b2846e/eval.tests.test_list_options.test_list_options_shows_types": {"message": "AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_types():\n \"\"\"Test that list-options shows option types.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for type annotations\n> assert b\"type: metadata\" in result.stdout\nE AssertionError: assert b'type: metadata' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:37: AssertionError"}, "547860b2846e/eval.tests.test_lang_option.test_lang_with_book_processing": {"message": "AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp696e0tj4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_lang_with_book_processing(temp_files):\n \"\"\"Test --lang doesn't affect book language.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Book language is 'en'\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # But runtime language is 'fr'\n result = run(\"--lang\", \"fr\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate English book\n> assert b\"Test\" in result.stdout\nE AssertionError: assert b'Test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '/tmp/tmp696e0tj4/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:70: AssertionError"}, "547860b2846e/eval.tests.test_print_template.test_print_template_invalid": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_print_template_invalid():\n \"\"\"Test printing non-existent template.\"\"\"\n result = run(\"--print-template\", \"nonexistent.xyz\")\n # Crowbook returns 0 even on errors - check stderr\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_print_template.py:55: AssertionError"}, "547860b2846e/eval.tests.test_actual_rendering.test_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpd7_gwefc/multi.epub').exists", "text": "def test_render_multiple_formats():\n \"\"\"Test rendering multiple output formats from one book.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create chapters\n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# First Chapter\\n\\nSome content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Second Chapter\\n\\nMore content.\")\n \n # Create book config with multiple outputs\n book_config = tmppath / \"multi.book\"\n book_config.write_text(f\"\"\"\n author: Multi Author\n title: Multi Format Book\n lang: en\n \n output.html: multi.html\n output.epub: multi.epub\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check both outputs exist\n html_file = tmppath / \"multi.html\"\n epub_file = tmppath / \"multi.epub\"\n assert html_file.exists()\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpd7_gwefc/multi.epub').exists\n\neval/tests/test_actual_rendering.py:138: AssertionError"}, "547860b2846e/eval.tests.test_actual_rendering.test_render_with_cover_image": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpcfd880hv/cover.epub').exists", "text": "def test_render_with_cover_image():\n \"\"\"Test rendering with cover image.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create a dummy image file (1x1 PNG)\n cover = tmppath / \"cover.png\"\n # Minimal PNG file\n cover.write_bytes(\n b'\\x89PNG\\r\\n\\x1a\\n\\x00\\x00\\x00\\rIHDR\\x00\\x00\\x00\\x01'\n b'\\x00\\x00\\x00\\x01\\x08\\x06\\x00\\x00\\x00\\x1f\\x15\\xc4\\x89'\n b'\\x00\\x00\\x00\\nIDATx\\x9cc\\x00\\x01\\x00\\x00\\x05\\x00\\x01'\n b'\\r\\n-\\xb4\\x00\\x00\\x00\\x00IEND\\xaeB`\\x82'\n )\n \n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nBook with cover.\")\n \n book_config = tmppath / \"cover.book\"\n book_config.write_text(f\"\"\"\n author: Cover Author\n title: Book With Cover\n lang: en\n cover: {cover.name}\n \n output.epub: cover.epub\n \n + {chapter.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"cover.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcfd880hv/cover.epub').exists\n\neval/tests/test_actual_rendering.py:347: AssertionError"}, "547860b2846e/eval.tests.test_book_processing.test_book_with_metadata": {"message": "AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp57t44lza/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_metadata(temp_files):\n \"\"\"Test book with various metadata fields.\"\"\"\n md_file = temp_files.create(\"content.md\", \"# Main Content\\n\\nText here.\\n\")\n \n book_content = f\"\"\"author: Jane Doe\n title: My Great Book\n lang: en\n subject: Fiction\n description: A wonderful story\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Main Content\" in result.stdout\nE AssertionError: assert b'Main Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp57t44lza/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:45: AssertionError"}, "547860b2846e/eval.tests.test_actual_rendering.test_render_with_inline_toc": {"message": "assert 1 >= 2\n + where 1 = ('Chapter One')\n + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count", "text": "def test_render_with_inline_toc():\n \"\"\"Test rendering with inline table of contents.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"ch1.md\"\n ch1.write_text(\"# Chapter One\\n\\nFirst content.\")\n ch2 = tmppath / \"ch2.md\"\n ch2.write_text(\"# Chapter Two\\n\\nSecond content.\")\n \n book_config = tmppath / \"toc.book\"\n book_config.write_text(f\"\"\"\n author: TOC Author\n title: Book with TOC\n lang: en\n rendering.inline_toc: true\n \n output.html: toc.html\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"toc.html\"\n content = html.read_text()\n \n # Should have table of contents\n assert \"Chapter One\" in content\n assert \"Chapter Two\" in content\n # TOC should reference both chapters\n> assert content.count(\"Chapter One\") >= 2 # Once in TOC, once in content\nE assert 1 >= 2\nE + where 1 = ('Chapter One')\nE + where = 'Book with TOC

      TOC Author

      Book with TOC

      \\n

      Chapter 1
      Chapter One

      First content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Second content.

      \\n
      '.count\n\neval/tests/test_actual_rendering.py:389: AssertionError"}, "547860b2846e/eval.tests.test_print_template.test_print_template_multiple_types": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_multiple_types():\n \"\"\"Test that different templates produce different output.\"\"\"\n result_css = run(\"--print-template\", \"html.css\")\n result_tex = run(\"--print-template\", \"tex.template\")\n \n assert result_css.returncode == 0\n assert result_tex.returncode == 0\n \n # Should be different content\n> assert result_css.stdout != result_tex.stdout\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' != b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:86: AssertionError"}, "547860b2846e/eval.tests.test_actual_rendering.test_render_epub_basic": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpem8nvt4u/book.epub').exists", "text": "def test_render_epub_basic():\n \"\"\"Test basic EPUB rendering.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n # Create markdown\n chapter = tmppath / \"intro.md\"\n chapter.write_text(\"# Introduction\\n\\nWelcome to the book.\\n\\n## Section 1\\n\\nContent here.\")\n \n # Create book config\n book_config = tmppath / \"book.book\"\n book_config.write_text(f\"\"\"\n author: John Doe\n title: My EPUB Book\n lang: en\n \n output.epub: book.epub\n \n + {chapter.name}\n \"\"\")\n \n # Render\n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check EPUB exists and is a valid zip\n epub_file = tmppath / \"book.epub\"\n> assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpem8nvt4u/book.epub').exists\n\neval/tests/test_actual_rendering.py:91: AssertionError"}, "547860b2846e/eval.tests.test_print_template.test_print_template_html_css": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_css():\n \"\"\"Test printing HTML CSS template.\"\"\"\n result = run(\"--print-template\", \"html.css\")\n assert result.returncode == 0\n \n # Should output CSS content\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:10: AssertionError"}, "547860b2846e/eval.tests.test_markdown_features.test_markdown_blockquotes": {"message": "AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp15cwnxb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_blockquotes(temp_files):\n \"\"\"Test blockquotes.\"\"\"\n md_content = \"\"\"# Quote\n \n > This is a blockquote.\n > It spans multiple lines.\n \n > Another quote.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"blockquote\" in result.stdout\nE AssertionError: assert b'blockquote' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpp15cwnxb/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:117: AssertionError"}, "547860b2846e/eval.tests.test_print_template.test_print_template_epub_chapter": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_chapter():\n \"\"\"Test printing EPUB chapter template.\"\"\"\n result = run(\"--print-template\", \"epub.chapter.xhtml\")\n assert result.returncode == 0\n # Should have XHTML/XML content\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.chapter.xhtml'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:98: AssertionError"}, "547860b2846e/eval.tests.test_list_options.test_list_options_short_flag": {"message": "AssertionError: assert 47 > 5000\n + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_short_flag():\n \"\"\"Test -l displays all available options.\"\"\"\n result = run(\"-l\")\n assert result.returncode == 0\n assert b\"METADATA\" in result.stdout\n assert b\"author\" in result.stdout\n assert b\"title\" in result.stdout\n # Should be same as long form\n> assert len(result.stdout) > 5000\nE AssertionError: assert 47 > 5000\nE + where 47 = len(b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '-l'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:30: AssertionError"}, "547860b2846e/eval.tests.test_lang_option.test_lang_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_short_flag():\n \"\"\"Test -L short flag for language.\"\"\"\n result = run(\"-L\", \"en\", \"--help\")\n assert result.returncode == 0\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-L', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:25: AssertionError"}, "547860b2846e/eval.tests.test_actual_rendering.test_render_html_dir": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp9ifefz3g/html_output').exists", "text": "def test_render_html_dir():\n \"\"\"Test rendering to HTML directory (split chapters).\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n ch1 = tmppath / \"c1.md\"\n ch1.write_text(\"# Chapter A\\n\\nContent A.\")\n ch2 = tmppath / \"c2.md\"\n ch2.write_text(\"# Chapter B\\n\\nContent B.\")\n \n book_config = tmppath / \"dir.book\"\n book_config.write_text(f\"\"\"\n author: Dir Author\n title: Multi-File HTML\n lang: en\n \n output.html.dir: html_output\n \n + {ch1.name}\n + {ch2.name}\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n assert result.returncode == 0\n \n # Check directory was created\n output_dir = tmppath / \"html_output\"\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp9ifefz3g/html_output').exists\n\neval/tests/test_actual_rendering.py:420: AssertionError"}, "547860b2846e/eval.tests.test_rendering_options.test_pdf_output_specified": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_pdf_output_specified(temp_files):\n \"\"\"Test PDF output specification (may fail without LaTeX).\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n pdf_file = Path(temp_files.tempdir) / \"output.pdf\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.pdf: {pdf_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n # May succeed or fail depending on LaTeX availability\n # At least check it tried\n output = result.stdout + result.stderr\n> assert b\"Test\" in output or b\"pdf\" in output.lower() or b\"latex\" in output.lower()\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'pdf' in b'crowbook 0.17.0\\n' or b'latex' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_rendering_options.py:157: AssertionError"}, "547860b2846e/eval.tests.test_set_option.test_set_multiple_options": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2pizpbaz/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_multiple_options(temp_files):\n \"\"\"Test --set with multiple option overrides.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"Auth\", \"title\", \"New Title\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should accept multiple key-value pairs and produce HTML\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp2pizpbaz/book.book', '--to', 'html', '--set', 'author', 'Auth', 'title', 'New Title'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:29: AssertionError"}, "547860b2846e/eval.tests.test_set_option.test_set_rendering_option": {"message": "AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_eedlt_4/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_rendering_option(temp_files):\n \"\"\"Test --set with rendering options.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\n```python\\ncode\\n```\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"rendering.highlight\", \"none\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process with highlighting disabled\n> assert b\"code\" in result.stdout\nE AssertionError: assert b'code' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp_eedlt_4/book.book', '--to', 'html', '--set', 'rendering.highlight', 'none'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:40: AssertionError"}, "547860b2846e/eval.tests.test_single_file.test_single_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpcjledyht/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_short_flag(temp_files):\n \"\"\"Test -s short flag for single file mode.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: Test\\n---\\n\\n# Content\\n\\nText here.\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpcjledyht/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:39: AssertionError"}, "547860b2846e/eval.tests.test_basic_invocation.test_help_long_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_long_flag():\n \"\"\"Test --help flag displays help.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:32: AssertionError"}, "547860b2846e/eval.tests.test_single_file.test_single_without_yaml_block": {"message": "AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpf3d1qqs1/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_without_yaml_block(temp_files):\n \"\"\"Test single file without YAML block.\"\"\"\n md_file = temp_files.create(\"simple.md\", \"# Simple Document\\n\\nJust some text.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Simple Document\" in result.stdout\nE AssertionError: assert b'Simple Document' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpf3d1qqs1/simple.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:62: AssertionError"}, "547860b2846e/eval.tests.test_single_file.test_single_with_inline_yaml_variations": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbdzb33ms/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_with_inline_yaml_variations(temp_files):\n \"\"\"Test various YAML block formats in single file.\"\"\"\n # YAML with triple dots ending\n md_content = \"\"\"---\n title: Test\n author: Me\n ...\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpbdzb33ms/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:97: AssertionError"}, "547860b2846e/eval.tests.test_book_processing.test_book_with_relative_paths": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp345t2y_p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_relative_paths(temp_files):\n \"\"\"Test book with chapters in subdirectories.\"\"\"\n subdir = Path(temp_files.tempdir) / \"chapters\"\n subdir.mkdir()\n md_file = subdir / \"chapter.md\"\n md_file.write_text(\"# Chapter\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Me\n lang: en\n \n + chapters/chapter.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp345t2y_p/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_book_processing.py:106: AssertionError"}, "547860b2846e/eval.tests.test_rendering_options.test_html_dir_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmp3ff0vs8h/html_output').exists", "text": "temp_files = \n\n def test_html_dir_output(temp_files):\n \"\"\"Test HTML directory output format.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# One\\n\\nText.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Two\\n\\nMore.\\n\")\n output_dir = Path(temp_files.tempdir) / \"html_output\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.html.dir: {output_dir.name}\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Directory should be created with HTML files\n> assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmp3ff0vs8h/html_output').exists\n\neval/tests/test_rendering_options.py:133: AssertionError"}, "547860b2846e/eval.tests.test_list_options.test_list_options_shows_descriptions": {"message": "AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_descriptions():\n \"\"\"Test that list-options includes descriptions.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Check for some specific descriptions\n> assert b\"Author of the book\" in result.stdout\nE AssertionError: assert b'Author of the book' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:56: AssertionError"}, "547860b2846e/eval.tests.test_edge_cases.test_malformed_yaml": {"message": "AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_malformed_yaml(temp_files):\n \"\"\"Test handling of malformed YAML in markdown.\"\"\"\n md_content = \"\"\"---\n title: Test\n author: [unclosed\n ---\n \n # Content\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May fail or succeed with default values\n output = result.stdout + result.stderr\n> assert b\"Content\" in output or b\"error\" in output.lower() or b\"ERROR\" in output\nE AssertionError: assert (b'Content' in b'CROWBOOK 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_edge_cases.py:138: AssertionError"}, "547860b2846e/eval.tests.test_output_formats.test_invalid_format_shows_error": {"message": "AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_invalid_format_shows_error(temp_files):\n \"\"\"Test that invalid format specification shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"invalid_format_xyz\", cwd=temp_files.tempdir)\n output = result.stdout + result.stderr\n> assert b\"error\" in output.lower() or b\"invalid\" in output.lower()\nE AssertionError: assert (b'error' in b'crowbook 0.17.0\\n' or b'invalid' in b'crowbook 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_output_formats.py:80: AssertionError"}, "547860b2846e/eval.tests.test_rendering_options.test_rendering_highlight_syntect": {"message": "AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiare4i5t/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiare4i5t/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_syntect(temp_files):\n \"\"\"Test syntax highlighting with syntect.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def hello():\n print(\"world\")\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: syntect\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def\" in result.stdout or b\"hello\" in result.stdout\nE AssertionError: assert (b'def' in b'CROWBOOK 0.17.0\\n' or b'hello' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiare4i5t/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpiare4i5t/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:67: AssertionError"}, "547860b2846e/eval.tests.test_edge_cases.test_book_with_no_author": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpae1mjmqd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_author(temp_files):\n \"\"\"Test book without author.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpae1mjmqd/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:169: AssertionError"}, "547860b2846e/eval.tests.test_basic_invocation.test_help_short_flag": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_short_flag():\n \"\"\"Test -h flag displays help.\"\"\"\n result = run(\"-h\")\n assert result.returncode == 0\n assert b\"crowbook\" in result.stdout.lower()\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-h'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:21: AssertionError"}, "547860b2846e/eval.tests.test_rendering_options.test_rendering_highlight_none": {"message": "AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuga5rb_r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_highlight_none(temp_files):\n \"\"\"Test no syntax highlighting.\"\"\"\n md_content = \"\"\"# Code\n \n ```python\n def test():\n pass\n ```\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.highlight: none\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"def test\" in result.stdout\nE AssertionError: assert b'def test' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuga5rb_r/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:92: AssertionError"}, "547860b2846e/eval.tests.test_lang_option.test_lang_affects_messages": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')", "text": "def test_lang_affects_messages():\n \"\"\"Test that lang affects error messages.\"\"\"\n result_en = run(\"--lang\", \"en\")\n result_fr = run(\"--lang\", \"fr\")\n \n # Both should show error about missing book file\n output_en = result_en.stdout + result_en.stderr\n output_fr = result_fr.stdout + result_fr.stderr\n \n # Both should have errors\n> assert b\"ERROR\" in output_en or b\"must pass\" in output_en\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'must pass' in b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_lang_option.py:44: AssertionError"}, "547860b2846e/eval.tests.test_single_file.test_single_tex_output": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqg1xptpm/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqg1xptpm/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_tex_output(temp_files):\n \"\"\"Test single file with TeX output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"---\\ntitle: LaTeX Test\\n---\\n\\n# Chapter\\n\\nText.\\n\")\n \n result = run(\"-s\", str(md_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should contain LaTeX commands\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqg1xptpm/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpqg1xptpm/test.md', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:80: AssertionError"}, "547860b2846e/eval.tests.test_actual_rendering.test_render_error_missing_chapter": {"message": "AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')", "text": "def test_render_error_missing_chapter():\n \"\"\"Test error when chapter file is missing.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n book_config = tmppath / \"error.book\"\n book_config.write_text(\"\"\"\n author: Error Test\n title: Missing Chapter\n lang: en\n \n output.html: error.html\n \n + missing_file.md\n \"\"\")\n \n result = run(str(book_config), cwd=tmpdir)\n # Should fail gracefully\n stderr = result.stderr.decode('utf-8').lower()\n> assert 'error' in stderr or 'missing' in stderr or 'not' in stderr\nE AssertionError: assert ('error' in '' or 'missing' in '' or 'not' in '')\n\neval/tests/test_actual_rendering.py:490: AssertionError"}, "547860b2846e/eval.tests.test_create_book.test_create_book_file_already_exists": {"message": "assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n')\n + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n'.lower", "text": "temp_files = \n\n def test_create_book_file_already_exists(temp_files):\n \"\"\"Test --create fails when book file already exists.\"\"\"\n md1 = temp_files.create(\"test.md\", \"# Test\")\n book_path = temp_files.create(\"existing.book\", \"# Already exists\")\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n # Check for error in output\n output = result.stdout + result.stderr\n> assert b\"exist\" in output.lower() or b\"ERROR\" in output\nE assert (b'exist' in b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n' or b'ERROR' in b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n')\nE + where b'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ /tmp/tmp74uamwl5/test.md\\n'.lower\n\neval/tests/test_create_book.py:80: AssertionError"}, "547860b2846e/eval.tests.test_epub_generation.test_epub_version_2": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpocapq4nq/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_2(temp_files):\n \"\"\"Test EPUB version 2 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 2\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpocapq4nq/test.epub').exists\n\neval/tests/test_epub_generation.py:106: AssertionError"}, "547860b2846e/eval.tests.test_actual_rendering.test_render_to_stdout": {"message": "AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'", "text": "def test_render_to_stdout():\n \"\"\"Test rendering HTML to stdout with -o -.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n chapter = tmppath / \"chapter.md\"\n chapter.write_text(\"# Stdout Test\\n\\nThis goes to stdout.\")\n \n book_config = tmppath / \"stdout.book\"\n book_config.write_text(f\"\"\"\n author: Stdout Author\n title: Stdout Book\n lang: en\n \n + {chapter.name}\n \"\"\")\n \n # Render to stdout\n result = run(str(book_config), \"--to\", \"html\", \"-o\", \"-\", cwd=tmpdir)\n assert result.returncode == 0\n \n # Check HTML is in stdout\n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Test\" in stdout\nE AssertionError: assert 'Stdout Test' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_actual_rendering.py:201: AssertionError"}, "547860b2846e/eval.tests.test_edge_cases.test_empty_markdown_file": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3lv1vyb7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_empty_markdown_file(temp_files):\n \"\"\"Test processing empty markdown file.\"\"\"\n md_file = temp_files.create(\"empty.md\", \"\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should still generate output\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3lv1vyb7/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:13: AssertionError"}, "547860b2846e/eval.tests.test_list_options.test_list_options_shows_defaults": {"message": "AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_list_options_shows_defaults():\n \"\"\"Test that list-options shows default values.\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should show defaults\n> assert b\"default:\" in result.stdout\nE AssertionError: assert b'default:' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_list_options.py:48: AssertionError"}, "547860b2846e/eval.tests.test_edge_cases.test_multiple_yaml_blocks": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6r4d90iz/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_multiple_yaml_blocks(temp_files):\n \"\"\"Test markdown with multiple YAML blocks.\"\"\"\n md_content = \"\"\"---\n title: First\n ---\n \n # Content\n \n ---\n note: Second YAML\n ---\n \n More content.\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmp6r4d90iz/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:82: AssertionError"}, "547860b2846e/eval.tests.test_basic_invocation.test_help_shows_all_options": {"message": "AssertionError: Flag b'--single' not found in help\nassert b'--single' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_shows_all_options():\n \"\"\"Test that help output includes all major options.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n # Check for all major flags\n required_flags = [\n b\"--single\", b\"--create\", b\"--to\", b\"--output\",\n b\"--set\", b\"--list-options\", b\"--print-template\",\n b\"--stats\", b\"--verbose\", b\"--quiet\",\n b\"--lang\", b\"--no-fancy\", b\"--force-emoji\", b\"--autograph\"\n ]\n for flag in required_flags:\n> assert flag in result.stdout, f\"Flag {flag} not found in help\"\nE AssertionError: Flag b'--single' not found in help\nE assert b'--single' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_basic_invocation.py:65: AssertionError"}, "547860b2846e/eval.tests.test_basic_invocation.test_no_arguments_shows_error": {"message": "AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'", "text": "def test_no_arguments_shows_error():\n \"\"\"Test that running without arguments shows error message.\"\"\"\n result = run()\n assert result.returncode == 0\n output = result.stdout + result.stderr\n> assert b\"ERROR\" in output\nE AssertionError: assert b'ERROR' in b'CROWBOOK 0.17.0\\n'\n\neval/tests/test_basic_invocation.py:10: AssertionError"}, "547860b2846e/eval.tests.test_create_book.test_create_book_with_filename": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmppv7pd55q/mybook.book').exists", "text": "temp_files = \n\n def test_create_book_with_filename(temp_files):\n \"\"\"Test --create creates actual file when book name is specified.\"\"\"\n md1 = temp_files.create(\"chapter.md\", \"# Chapter\\n\\nText.\")\n book_path = Path(temp_files.tempdir) / \"mybook.book\"\n \n result = run(str(book_path), \"--create\", str(md1), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # File should be created\n> assert book_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmppv7pd55q/mybook.book').exists\n\neval/tests/test_create_book.py:45: AssertionError"}, "547860b2846e/eval.tests.test_print_template.test_print_template_tex": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_tex():\n \"\"\"Test printing TeX template.\"\"\"\n result = run(\"--print-template\", \"tex.template\")\n assert result.returncode == 0\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'tex.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:29: AssertionError"}, "547860b2846e/eval.tests.test_book_processing.test_book_missing_chapter_file": {"message": "AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\n + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_book_missing_chapter_file(temp_files):\n \"\"\"Test book with reference to missing chapter.\"\"\"\n book_content = \"\"\"title: Test\n author: Me\n lang: en\n \n + nonexistent.md\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Should error or warn\n> assert result.returncode != 0 or b\"error\" in result.stdout.lower() or b\"error\" in result.stderr.lower()\nE AssertionError: assert (0 != 0 or b'error' in b'crowbook 0.17.0\\n' or b'error' in b'')\nE + where 0 = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').returncode\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp9qwqdsy5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_book_processing.py:120: AssertionError"}, "547860b2846e/eval.tests.test_rendering_options.test_rendering_inline_toc": {"message": "AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuviqbtrg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_inline_toc(temp_files):\n \"\"\"Test inline table of contents.\"\"\"\n md1 = temp_files.create(\"ch1.md\", \"# Chapter One\\n\\nContent.\\n\")\n md2 = temp_files.create(\"ch2.md\", \"# Chapter Two\\n\\nMore.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.inline_toc: true\n \n + {md1.name}\n + {md2.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should have TOC markers\n> assert b\"Chapter One\" in result.stdout\nE AssertionError: assert b'Chapter One' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpuviqbtrg/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:23: AssertionError"}, "547860b2846e/eval.tests.test_rendering_options.test_rendering_numbering": {"message": "AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyvwn235e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_numbering(temp_files):\n \"\"\"Test chapter numbering.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n rendering.num_depth: 2\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Chapter\" in result.stdout\nE AssertionError: assert b'Chapter' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpyvwn235e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:42: AssertionError"}, "547860b2846e/eval.tests.test_output_formats.test_output_file_tex": {"message": "assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')", "text": "temp_files = \n\n def test_output_file_tex(temp_files):\n \"\"\"Test --output creates TeX file.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_file = Path(temp_files.tempdir) / \"output.tex\"\n \n result = run(str(book_file), \"--to\", \"tex\", \"--output\", str(output_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_file.exists()\n content = output_file.read_bytes()\n> assert b\"\\\\document\" in content or b\"\\\\begin\" in content\nE assert (b'\\\\document' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ' or b'\\\\begin' in b'T

      A

      T

      \\n

      Chapter 1
      Chapter

      Text.

      \\n
      ')\n\neval/tests/test_output_formats.py:71: AssertionError"}, "547860b2846e/eval.tests.test_output_formats.test_to_tex_format": {"message": "AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_to_tex_format(temp_files):\n \"\"\"Test --to tex output format.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"tex\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"\\\\document\" in result.stdout or b\"\\\\begin\" in result.stdout or b\"\\\\chapter\" in result.stdout or b\"\\\\section\" in result.stdout\nE AssertionError: assert (b'\\\\document' in b'CROWBOOK 0.17.0\\n' or b'\\\\begin' in b'CROWBOOK 0.17.0\\n' or b'\\\\chapter' in b'CROWBOOK 0.17.0\\n' or b'\\\\section' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp5lqbn8pr/book.book', '--to', 'tex'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_output_formats.py:23: AssertionError"}, "547860b2846e/eval.tests.test_edge_cases.test_special_characters_in_title": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd9hw5h_e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_special_characters_in_title(temp_files):\n \"\"\"Test special characters in book title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n \n book_content = f\"\"\"title: \"Test & Book: 'Chars'\"\n author: O'Brien & Smith\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should escape HTML entities\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpd9hw5h_e/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:61: AssertionError"}, "547860b2846e/eval.tests.test_set_option.test_set_single_option": {"message": "AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpil9dq61x/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpil9dq61x/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_single_option(temp_files):\n \"\"\"Test --set to override a single option.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_content = f\"\"\"title: Original Title\n author: Original Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"New Author\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # The new author might appear in metadata or HTML\n> assert b\"New Author\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'New Author' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpil9dq61x/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpil9dq61x/book.book', '--to', 'html', '--set', 'author', 'New Author'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:18: AssertionError"}, "547860b2846e/eval.tests.test_set_option.test_set_invalid_option": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3dvux_lv/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_invalid_option(temp_files):\n \"\"\"Test --set with invalid option name.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"invalid.option.xyz\", \"value\", cwd=temp_files.tempdir)\n # May warn or error about invalid option\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or b\"<\" in result.stdout\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmp3dvux_lv/book.book', '--to', 'html', '--set', 'invalid.option.xyz', 'value'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:65: AssertionError"}, "547860b2846e/eval.tests.test_epub_generation.test_epub_with_to_flag": {"message": "AssertionError: assert False\n + where False = (PosixPath('/tmp/tmp835ram9j/test.epub'))\n + where = zipfile.is_zipfile", "text": "temp_files = \n\n def test_epub_with_to_flag(temp_files):\n \"\"\"Test EPUB generation with --to flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n result = run(str(book_file), \"--to\", \"epub\", \"--output\", str(output_epub), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n assert output_epub.exists()\n> assert zipfile.is_zipfile(output_epub)\nE AssertionError: assert False\nE + where False = (PosixPath('/tmp/tmp835ram9j/test.epub'))\nE + where = zipfile.is_zipfile\n\neval/tests/test_epub_generation.py:40: AssertionError"}, "547860b2846e/eval.tests.test_edge_cases.test_very_long_content": {"message": "AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpstuey76o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_very_long_content(temp_files):\n \"\"\"Test processing very long content.\"\"\"\n long_content = \"# Chapter\\n\\n\" + (\"This is a paragraph. \" * 1000)\n md_file = temp_files.create(\"long.md\", long_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"paragraph\" in result.stdout\nE AssertionError: assert b'paragraph' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpstuey76o/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:24: AssertionError"}, "547860b2846e/eval.tests.test_markdown_features.test_markdown_tables": {"message": "AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwvczatbj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_tables(temp_files):\n \"\"\"Test markdown tables.\"\"\"\n md_content = \"\"\"# Table\n \n | Header 1 | Header 2 |\n |----------|----------|\n | Cell 1 | Cell 2 |\n | Cell 3 | Cell 4 |\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Header 1\" in result.stdout\nE AssertionError: assert b'Header 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwvczatbj/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:156: AssertionError"}, "547860b2846e/eval.tests.test_rendering_options.test_tex_standalone_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmprv7ch2wv/output.tex').exists", "text": "temp_files = \n\n def test_tex_standalone_output(temp_files):\n \"\"\"Test LaTeX standalone output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Chapter\\n\\nSome text with **bold**.\\n\")\n tex_file = Path(temp_files.tempdir) / \"output.tex\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n output.tex: {tex_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # TeX file should be created\n> assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmprv7ch2wv/output.tex').exists\n\neval/tests/test_rendering_options.py:177: AssertionError"}, "547860b2846e/eval.tests.test_single_file.test_single_markdown_with_yaml_block": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmphmv5hk0o/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_with_yaml_block(temp_files):\n \"\"\"Test processing single markdown file with YAML metadata.\"\"\"\n md_content = \"\"\"---\n author: Test Author\n title: Test Story\n lang: en\n ---\n \n # Chapter One\n \n This is a test story with some content.\n \n ## Section\n \n More content here.\n \"\"\"\n md_file = temp_files.create(\"story.md\", md_content)\n \n # Generate HTML to stdout\n result = run(\"--single\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n \n # Should output HTML\n> assert b\"<\" in result.stdout and b\">\" in result.stdout\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '/tmp/tmphmv5hk0o/story.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:28: AssertionError"}, "547860b2846e/eval.tests.test_rendering_options.test_rendering_with_cover": {"message": "AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4ok1mwp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4ok1mwp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_rendering_with_cover(temp_files):\n \"\"\"Test book with cover image specified.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n # Create a dummy cover file\n cover_file = temp_files.create(\"cover.png\", b\"\\x89PNG\\r\\n\\x1a\\n\" + b\"\\x00\" * 100)\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n cover: {cover_file.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # May succeed or fail depending on image handling\n> assert b\"Test\" in result.stdout or b\"<\" in result.stdout\nE AssertionError: assert (b'Test' in b'CROWBOOK 0.17.0\\n' or b'<' in b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4ok1mwp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpa4ok1mwp/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_rendering_options.py:112: AssertionError"}, "547860b2846e/eval.tests.test_epub_generation.test_epub_version_3": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpgowh4zj0/test.epub').exists", "text": "temp_files = \n\n def test_epub_version_3(temp_files):\n \"\"\"Test EPUB version 3 generation.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n output_epub = Path(temp_files.tempdir) / \"test.epub\"\n \n book_content = f\"\"\"title: Test\n author: Author\n lang: en\n epub.version: 3\n output.epub: {output_epub.name}\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert output_epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpgowh4zj0/test.epub').exists\n\neval/tests/test_epub_generation.py:125: AssertionError"}, "547860b2846e/eval.tests.test_lang_option.test_lang_option_french": {"message": "AssertionError: assert 16 > 100\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_french():\n \"\"\"Test --lang option with French.\"\"\"\n result = run(\"--lang\", \"fr\", \"--help\")\n assert result.returncode == 0\n # Help might be in French (if translation exists)\n # At minimum should work\n> assert len(result.stdout) > 100\nE AssertionError: assert 16 > 100\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'fr', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:18: AssertionError"}, "547860b2846e/eval.tests.test_print_template.test_print_template_epub_css": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_epub_css():\n \"\"\"Test printing EPUB CSS template.\"\"\"\n result = run(\"--print-template\", \"epub.css\")\n assert result.returncode == 0\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'epub.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:20: AssertionError"}, "547860b2846e/eval.tests.test_print_template.test_print_template_html_standalone": {"message": "AssertionError: assert 16 > 50\n + where 16 = len(b'CROWBOOK 0.17.0\\n')\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_html_standalone():\n \"\"\"Test printing HTML standalone template.\"\"\"\n result = run(\"--print-template\", \"html.standalone.template\")\n assert result.returncode == 0\n # Should have template content\n> assert len(result.stdout) > 50\nE AssertionError: assert 16 > 50\nE + where 16 = len(b'CROWBOOK 0.17.0\\n')\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.standalone.template'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_print_template.py:39: AssertionError"}, "547860b2846e/eval.tests.test_markdown_features.test_markdown_headings": {"message": "AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplnpeu10l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_markdown_headings(temp_files):\n \"\"\"Test various heading levels.\"\"\"\n md_content = \"\"\"# H1\n ## H2\n ### H3\n #### H4\n ##### H5\n ###### H6\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"H1\" in result.stdout\nE AssertionError: assert b'H1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmplnpeu10l/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_markdown_features.py:18: AssertionError"}, "547860b2846e/eval.tests.test_single_file_rendering.test_single_to_stdout": {"message": "AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'", "text": "def test_single_to_stdout():\n \"\"\"Test single mode output to stdout.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"stdout.md\"\n markdown.write_text(\"\"\"---\n author: Stdout Test\n title: Stdout Output\n ---\n \n # Main\n \n Stdout content.\n \"\"\")\n \n result = run(\n \"-s\", str(markdown),\n \"--to\", \"html\",\n \"-o\", \"-\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n stdout = result.stdout.decode('utf-8')\n> assert \"Stdout Output\" in stdout\nE AssertionError: assert 'Stdout Output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_single_file_rendering.py:166: AssertionError"}, "547860b2846e/eval.tests.test_single_file_rendering.test_single_render_to_html": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpyhibx3g_/article.html').exists", "text": "def test_single_render_to_html():\n \"\"\"Test single file mode rendering to HTML.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"article.md\"\n markdown.write_text(\"\"\"---\n author: Single Author\n title: Single Article\n output: [html]\n ---\n \n # Introduction\n \n This is a single file article.\n \n ## Section 1\n \n Content for section 1.\n \"\"\")\n \n result = run(\"--single\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create article.html (based on input filename)\n html = tmppath / \"article.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpyhibx3g_/article.html').exists\n\neval/tests/test_single_file_rendering.py:47: AssertionError"}, "547860b2846e/eval.tests.test_edge_cases.test_book_with_no_title": {"message": "AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpfmn68m4z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_book_with_no_title(temp_files):\n \"\"\"Test book without title.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Content\\n\\nText.\\n\")\n \n book_content = f\"\"\"author: Author\n lang: en\n \n + {md_file.name}\n \"\"\"\n book_file = temp_files.create(\"book.book\", book_content)\n \n result = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Content\" in result.stdout\nE AssertionError: assert b'Content' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpfmn68m4z/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_edge_cases.py:153: AssertionError"}, "547860b2846e/eval.tests.test_single_file.test_single_markdown_features": {"message": "AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpgpk40js2/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_single_markdown_features(temp_files):\n \"\"\"Test that single file properly renders markdown features.\"\"\"\n md_content = \"\"\"---\n title: Markdown Test\n ---\n \n # Heading 1\n \n ## Heading 2\n \n **Bold text** and *italic text*.\n \n - List item 1\n - List item 2\n \n [Link](http://example.com)\n \"\"\"\n md_file = temp_files.create(\"test.md\", md_content)\n \n result = run(\"-s\", str(md_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"Heading 1\" in result.stdout\nE AssertionError: assert b'Heading 1' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-s', '/tmp/tmpgpk40js2/test.md', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_single_file.py:120: AssertionError"}, "547860b2846e/eval.tests.test_lang_option.test_lang_option_english": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_lang_option_english():\n \"\"\"Test --lang option with English.\"\"\"\n result = run(\"--lang\", \"en\", \"--help\")\n assert result.returncode == 0\n # Help should be in English (default)\n> assert b\"USAGE:\" in result.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--lang', 'en', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_lang_option.py:9: AssertionError"}, "547860b2846e/eval.tests.test_single_file_rendering.test_single_render_to_epub": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmptzy5ij5n/story.epub').exists", "text": "def test_single_render_to_epub():\n \"\"\"Test single file mode rendering to EPUB.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"story.md\"\n markdown.write_text(\"\"\"---\n author: Story Author\n title: Short Story\n output: [epub]\n ---\n \n # The Story\n \n Once upon a time...\n \n # The End\n \n And they lived happily ever after.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n epub = tmppath / \"story.epub\"\n> assert epub.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmptzy5ij5n/story.epub').exists\n\neval/tests/test_single_file_rendering.py:81: AssertionError"}, "547860b2846e/eval.tests.test_set_option.test_set_with_spaces_in_value": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwiv5027f/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_set_with_spaces_in_value(temp_files):\n \"\"\"Test --set with values containing spaces.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--to\", \"html\", \"--set\", \"author\", \"First Last\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '/tmp/tmpwiv5027f/book.book', '--to', 'html', '--set', 'author', 'First Last'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_set_option.py:85: AssertionError"}, "547860b2846e/eval.tests.test_output_formats.test_output_without_to_shows_error": {"message": "AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower\n + and 16 = len(b'CROWBOOK 0.17.0\\n')", "text": "temp_files = \n\n def test_output_without_to_shows_error(temp_files):\n \"\"\"Test that --output without --to shows error.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(str(book_file), \"--output\", \"out.html\", cwd=temp_files.tempdir)\n # Should fail or warn - output only valid with --to\n output = result.stdout + result.stderr\n> assert b\"warning\" in output.lower() or b\"error\" in output.lower() or len(output) > 30\nE AssertionError: assert (b'warning' in b'crowbook 0.17.0\\n' or b'error' in b'crowbook 0.17.0\\n' or 16 > 30)\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\nE + and 16 = len(b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_output_formats.py:91: AssertionError"}, "547860b2846e/eval.tests.test_single_file_rendering.test_single_with_set_options": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpcvq_l8c3/set.html').exists", "text": "def test_single_with_set_options():\n \"\"\"Test single mode with --set options.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"set.md\"\n markdown.write_text(\"\"\"---\n author: Original\n title: Original Title\n output: [html]\n ---\n \n # Content\n \n Test.\n \"\"\")\n \n result = run(\n \"--single\", str(markdown),\n \"--set\", \"author\", \"Override Author\",\n cwd=tmpdir\n )\n assert result.returncode == 0\n \n html = tmppath / \"set.html\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcvq_l8c3/set.html').exists\n\neval/tests/test_single_file_rendering.py:196: AssertionError"}, "547860b2846e/eval.tests.test_single_file_rendering.test_single_with_links": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmppkm68x66/links.html'", "text": "def test_single_with_links():\n \"\"\"Test single file with links.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"links.md\"\n markdown.write_text(\"\"\"---\n author: Links Author\n title: Links Doc\n output: [html]\n ---\n \n # Links\n \n [External link](http://example.com)\n \n [Another link](https://test.org)\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"links.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:259: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmppkm68x66/links.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmppkm68x66/links.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "547860b2846e/eval.tests.test_single_file_rendering.test_single_with_multiple_chapters": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpax2ui2xz/multi.html'", "text": "def test_single_with_multiple_chapters():\n \"\"\"Test single file with multiple chapter headings.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Chapter Doc\n output: [html]\n ---\n \n # Chapter 1\n \n First chapter content.\n \n # Chapter 2\n \n Second chapter content.\n \n # Chapter 3\n \n Third chapter content.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"multi.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:230: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmpax2ui2xz/multi.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmpax2ui2xz/multi.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "547860b2846e/eval.tests.test_single_file_rendering.test_single_with_blockquotes": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmportu6ea6/quote.html'", "text": "def test_single_with_blockquotes():\n \"\"\"Test single file with blockquotes.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"quote.md\"\n markdown.write_text(\"\"\"---\n author: Quote Author\n title: Quote Doc\n output: [html]\n ---\n \n # Quotes\n \n > This is a blockquote.\n > It has multiple lines.\n \n Regular text.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"quote.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:289: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmportu6ea6/quote.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmportu6ea6/quote.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "547860b2846e/eval.tests.test_single_file_rendering.test_single_with_syntax_highlighting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp8t00_ogr/code.html'", "text": "def test_single_with_syntax_highlighting():\n \"\"\"Test single mode with code block syntax highlighting.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"code.md\"\n markdown.write_text(\"\"\"---\n author: Code Author\n title: Code Doc\n output: [html]\n ---\n \n # Code Example\n \n ```rust\n fn main() {\n println!(\"Hello, world!\");\n }\n ```\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n html = tmppath / \"code.html\"\n> content = html.read_text()\n\neval/tests/test_single_file_rendering.py:398: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/tmp8t00_ogr/code.html'), mode = 'r', buffering = -1\nencoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp8t00_ogr/code.html'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "547860b2846e/eval.tests.test_single_file_rendering.test_single_tex_output": {"message": "assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '", "text": "def test_single_tex_output():\n \"\"\"Test single mode with TeX output.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"latex.md\"\n markdown.write_text(\"\"\"---\n author: LaTeX Author\n title: LaTeX Doc\n ---\n \n # LaTeX Content\n \n Some content with **bold**.\n \"\"\")\n \n result = run(\"-s\", str(markdown), \"--to\", \"tex\", \"-o\", \"output.tex\", cwd=tmpdir)\n assert result.returncode == 0\n \n tex = tmppath / \"output.tex\"\n assert tex.exists()\n content = tex.read_text()\n> assert \"\\\\documentclass\" in content\nE assert '\\\\documentclass' in '

      \\n

      --- author: LaTeX Author title: LaTeX Doc ---

      \\n

      Chapter 1
      LaTeX Content

      Some content with **bold**.

      \\n
      '\n\neval/tests/test_single_file_rendering.py:369: AssertionError"}, "547860b2846e/eval.tests.test_special_flags.test_autograph_short_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp5a_5phr5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp5a_5phr5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_short_flag(temp_files):\n \"\"\"Test -a short flag for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-a\", str(book_file), \"--to\", \"html\", stdin=\"Signature\\n\", cwd=temp_files.tempdir)\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp5a_5phr5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '-a', '/tmp/tmp5a_5phr5/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:63: AssertionError"}, "547860b2846e/eval.tests.test_special_flags.test_combined_flags": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmppq4kaznq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_combined_flags(temp_files):\n \"\"\"Test combining multiple flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", \"-f\", \"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '-f', '-q', '/tmp/tmppq4kaznq/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:72: AssertionError"}, "547860b2846e/eval.tests.test_single_file_rendering.test_single_render_multiple_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/tmpcvhvuf4k/multi.html').exists", "text": "def test_single_render_multiple_formats():\n \"\"\"Test single mode rendering multiple output formats.\"\"\"\n with tempfile.TemporaryDirectory() as tmpdir:\n tmppath = Path(tmpdir)\n \n markdown = tmppath / \"multi.md\"\n markdown.write_text(\"\"\"---\n author: Multi Author\n title: Multi Format\n output: [html, epub]\n ---\n \n # Content\n \n Multi format test.\n \"\"\")\n \n result = run(\"-s\", str(markdown), cwd=tmpdir)\n assert result.returncode == 0\n \n # Should create both formats\n html = tmppath / \"multi.html\"\n epub = tmppath / \"multi.epub\"\n> assert html.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/tmpcvhvuf4k/multi.html').exists\n\neval/tests/test_single_file_rendering.py:426: AssertionError"}, "547860b2846e/eval.tests.test_special_flags.test_force_emoji_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpkvcpx2_6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_flag(temp_files):\n \"\"\"Test --force-emoji flag.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test #x1F600\\n\\nEmoji content.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--force-emoji\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should process emoji\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--force-emoji', '/tmp/tmpkvcpx2_6/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:33: AssertionError"}, "547860b2846e/eval.tests.test_special_flags.test_no_fancy_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmphcq8e8o0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_flag(temp_files):\n \"\"\"Test --no-fancy disables fancy UI.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n # Should work without fancy UI\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--no-fancy', '/tmp/tmphcq8e8o0/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:12: AssertionError"}, "547860b2846e/eval.tests.test_special_flags.test_autograph_flag": {"message": "AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpc4mt2ryn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n + and 0 = len(b'')\n + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpc4mt2ryn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr", "text": "temp_files = \n\n def test_autograph_flag(temp_files):\n \"\"\"Test --autograph flag prompts for autograph.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n # Autograph prompts for input, so we provide stdin\n result = run(\"--autograph\", str(book_file), \"--to\", \"html\", stdin=\"Test Signature\\n\", cwd=temp_files.tempdir)\n # May timeout or complete\n # At minimum shouldn't crash and should produce output\n> assert b\"<\" in result.stdout or len(result.stderr) > 0\nE AssertionError: assert (b'<' in b'CROWBOOK 0.17.0\\n' or 0 > 0)\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpc4mt2ryn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\nE + and 0 = len(b'')\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--autograph', '/tmp/tmpc4mt2ryn/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stderr\n\neval/tests/test_special_flags.py:55: AssertionError"}, "547860b2846e/eval.tests.test_special_flags.test_verbose_with_no_fancy": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmptmd21j6u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_verbose_with_no_fancy(temp_files):\n \"\"\"Test combining verbose and no-fancy flags.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"--verbose\", \"--no-fancy\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--verbose', '--no-fancy', '/tmp/tmptmd21j6u/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:82: AssertionError"}, "547860b2846e/eval.tests.test_verbose_quiet.test_quiet_with_error": {"message": "AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\n + where b'crowbook 0.17.0\\n' = ()\n + where = b'CROWBOOK 0.17.0\\n'.lower", "text": "temp_files = \n\n def test_quiet_with_error(temp_files):\n \"\"\"Test quiet mode with error condition.\"\"\"\n book_file = temp_files.create(\"book.book\", \"title: T\\nauthor: A\\nlang: en\\n\\n+ nonexistent.md\\n\")\n \n result = run(\"-q\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n # Error occurred but crowbook returns 0\n output = result.stdout + result.stderr\n # Should still show error even in quiet mode\n> assert b\"ERROR\" in output or b\"not found\" in output.lower() or b\"Could not find\" in output\nE AssertionError: assert (b'ERROR' in b'CROWBOOK 0.17.0\\n' or b'not found' in b'crowbook 0.17.0\\n' or b'Could not find' in b'CROWBOOK 0.17.0\\n')\nE + where b'crowbook 0.17.0\\n' = ()\nE + where = b'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_verbose_quiet.py:63: AssertionError"}, "547860b2846e/eval.tests.test_special_flags.test_no_fancy_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpkfurf8az/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_no_fancy_short_flag(temp_files):\n \"\"\"Test -n short flag for no-fancy.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-n\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-n', '/tmp/tmpkfurf8az/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:22: AssertionError"}, "547860b2846e/eval.tests.test_special_flags.test_force_emoji_short_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp2ilamgc1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_force_emoji_short_flag(temp_files):\n \"\"\"Test -f short flag for force-emoji.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nText.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result = run(\"-f\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n assert result.returncode == 0\n> assert b\"<\" in result.stdout\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '-f', '/tmp/tmp2ilamgc1/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_special_flags.py:43: AssertionError"}, "547860b2846e/eval.tests.test_verbose_quiet.test_quiet_flag": {"message": "AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmppia1o_jr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "temp_files = \n\n def test_quiet_flag(temp_files):\n \"\"\"Test --quiet flag suppresses output.\"\"\"\n md_file = temp_files.create(\"test.md\", \"# Test\\n\\nContent.\\n\")\n book_file = temp_files.create(\"book.book\", f\"title: T\\nauthor: A\\nlang: en\\n\\n+ {md_file.name}\\n\")\n \n result_normal = run(str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n result_quiet = run(\"--quiet\", str(book_file), \"--to\", \"html\", cwd=temp_files.tempdir)\n \n assert result_quiet.returncode == 0\n # Quiet mode should produce HTML output but suppress info messages\n # The actual HTML might still be in stdout depending on design\n> assert b\"<\" in result_quiet.stdout # HTML still produced\nE AssertionError: assert b'<' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '/tmp/tmppia1o_jr/book.book', '--to', 'html'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_verbose_quiet.py:34: AssertionError"}, "9cd5a99e237f/tests.test_book.test_option_type_error_bool_as_int": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1228: in test_option_type_error_bool_as_int\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_book.test_basic_metadata_fields": {"message": "assert None is not None", "text": "tests/test_book.py:44: in test_basic_metadata_fields\n assert meta_author is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_epub.test_chapter_numbering": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw58/test_chapter_numbering0/test.epub'", "text": "tests/test_epub.py:899: in test_chapter_numbering\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw58/test_chapter_numbering0/test.epub'"}, "9cd5a99e237f/tests.test_cli.test_stdin_single_mode": {"message": "AssertionError: Should contain stdin content\nassert 'Test from stdin' in '

      '", "text": "tests/test_cli.py:375: in test_stdin_single_mode\n assert \"Test from stdin\" in content, \"Should contain stdin content\"\nE AssertionError: Should contain stdin content\nE assert 'Test from stdin' in '

      '"}, "9cd5a99e237f/tests.test_book.test_missing_markdown_file_error": {"message": "assert \"Could not find file 'missing_file.md' for book chapter\" in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:530: in test_missing_markdown_file_error\n assert \"Could not find file 'missing_file.md' for book chapter\" in result.stderr\nE assert \"Could not find file 'missing_file.md' for book chapter\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_book.test_rendering_roman_numerals_option": {"message": "AssertionError: Expected roman numerals in chapter headings\nassert False", "text": "tests/test_book.py:1134: in test_rendering_roman_numerals_option\n assert has_roman, \"Expected roman numerals in chapter headings\"\nE AssertionError: Expected roman numerals in chapter headings\nE assert False"}, "9cd5a99e237f/tests.test_book.test_option_type_error_array_as_string": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1180: in test_option_type_error_array_as_string\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_book.test_option_import_merges_settings": {"message": "assert None is not None", "text": "tests/test_book.py:1430: in test_option_import_merges_settings\n assert meta_author is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_book.test_option_custom_metadata_invalid_type": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1490: in test_option_custom_metadata_invalid_type\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_book.test_deprecated_option_with_alias": {"message": "AssertionError: assert 'WARNING' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1276: in test_deprecated_option_with_alias\n assert \"WARNING\" in result.stderr\nE AssertionError: assert 'WARNING' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_cli.test_missing_book_file_error": {"message": "assert 'CROWBOOK 0.17.0\\n' == \"CROWBOOK 0.1...k' for book\\n\"\n \n CROWBOOK 0.17.0\n - ERROR Could not find file 'nonexistent.book' for book", "text": "tests/test_cli.py:84: in test_missing_book_file_error\n assert output == (RESOURCES / \"missing_book.golden\").read_text()\nE assert 'CROWBOOK 0.17.0\\n' == \"CROWBOOK 0.1...k' for book\\n\"\nE \nE CROWBOOK 0.17.0\nE - ERROR Could not find file 'nonexistent.book' for book"}, "9cd5a99e237f/tests.test_cli.test_output_to_stdout": {"message": "AssertionError: Should output HTML to stdout\nassert '' in 'CROWBOOK 0.17.0\\n'\n + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '--single', 'test.md', '--to', 'html', '-o', '-'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout", "text": "tests/test_cli.py:218: in test_output_to_stdout\n assert \"\" in result.stdout, \"Should output HTML to stdout\"\nE AssertionError: Should output HTML to stdout\nE assert '' in 'CROWBOOK 0.17.0\\n'\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--quiet', '--single', 'test.md', '--to', 'html', '-o', '-'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout"}, "9cd5a99e237f/tests.test_cli.test_multiple_set_flags_error": {"message": "AssertionError: Should reject multiple --set flags\nassert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--quiet', '--single', 'test.md', '--to', 'html', '-o', 'output.html', '--set', 'author', 'Alice', '--set', 'title', 'My Title'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "tests/test_cli.py:472: in test_multiple_set_flags_error\n assert result.returncode != 0, \"Should reject multiple --set flags\"\nE AssertionError: Should reject multiple --set flags\nE assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--quiet', '--single', 'test.md', '--to', 'html', '-o', 'output.html', '--set', 'author', 'Alice', '--set', 'title', 'My Title'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode"}, "9cd5a99e237f/tests.test_book.test_option_float_wrong_yaml_type": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1539: in test_option_float_wrong_yaml_type\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_book.test_html_css_add_option": {"message": "assert 'body { background-color: #f0f0f0; }' in 'Custom CSS

      Test

      Custom CSS

      \\n

      Chapter 1
      Chapter

      Content.

      \\n
      '", "text": "tests/test_book.py:782: in test_html_css_add_option\n assert \"body { background-color: #f0f0f0; }\" in output\nE assert 'body { background-color: #f0f0f0; }' in 'Custom CSS

      Test

      Custom CSS

      \\n

      Chapter 1
      Chapter

      Content.

      \\n
      '"}, "9cd5a99e237f/tests.test_epub.test_empty_book_error": {"message": "AssertionError: EPUB file not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw57/test_empty_book_error0/test.epub').exists", "text": "tests/test_epub.py:821: in test_empty_book_error\n assert epub_path.exists(), \"EPUB file not created\"\nE AssertionError: EPUB file not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw57/test_empty_book_error0/test.epub').exists"}, "9cd5a99e237f/tests.test_book.test_additional_metadata_fields": {"message": "AssertionError: Missing subtitle element\nassert None is not None", "text": "tests/test_book.py:112: in test_additional_metadata_fields\n assert subtitle is not None, \"Missing subtitle element\"\nE AssertionError: Missing subtitle element\nE assert None is not None"}, "9cd5a99e237f/tests.test_cli.test_list_options_flag": {"message": "AssertionError: Should list EPUB output option\nassert 'output.epub' in 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'", "text": "tests/test_cli.py:62: in test_list_options_flag\n assert \"output.epub\" in output, \"Should list EPUB output option\"\nE AssertionError: Should list EPUB output option\nE assert 'output.epub' in 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'"}, "9cd5a99e237f/tests.test_epub.test_cover_image_handling": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw53/test_cover_image_handling0/test.epub'", "text": "tests/test_epub.py:451: in test_cover_image_handling\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw53/test_cover_image_handling0/test.epub'"}, "9cd5a99e237f/tests.test_book.test_option_strvec_invalid_element_type": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1328: in test_option_strvec_invalid_element_type\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_book.test_book_file_with_yaml_style_multiline_string": {"message": "assert 'This is a multi-line' in 'Test Book

      Test

      Test Book

      \\n

      Chapter 1
      Chapter

      Content.

      \\n
      '", "text": "tests/test_book.py:958: in test_book_file_with_yaml_style_multiline_string\n assert \"This is a multi-line\" in output\nE assert 'This is a multi-line' in 'Test Book

      Test

      Test Book

      \\n

      Chapter 1
      Chapter

      Content.

      \\n
      '"}, "9cd5a99e237f/tests.test_epub.test_multiple_chapters_toc": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw54/test_multiple_chapters_toc0/test.epub'", "text": "tests/test_epub.py:566: in test_multiple_chapters_toc\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw54/test_multiple_chapters_toc0/test.epub'"}, "9cd5a99e237f/tests.test_epub.test_footnote_handling_epub2": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw55/test_footnote_handling_epub20/test.epub'", "text": "tests/test_epub.py:671: in test_footnote_handling_epub2\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw55/test_footnote_handling_epub20/test.epub'"}, "9cd5a99e237f/tests.test_book.test_tex_options_paper_size": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw10/test_tex_options_paper_size0/output.tex').exists", "text": "tests/test_book.py:724: in test_tex_options_paper_size\n assert tex_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw10/test_tex_options_paper_size0/output.tex').exists"}, "9cd5a99e237f/tests.test_book.test_option_strvec_invalid_output_format": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1376: in test_option_strvec_invalid_output_format\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_epub.test_ncx_depth_metadata": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw62/test_ncx_depth_metadata0/test.epub'", "text": "tests/test_epub.py:1252: in test_ncx_depth_metadata\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw62/test_ncx_depth_metadata0/test.epub'"}, "9cd5a99e237f/tests.test_book.test_inline_toc_name_option": {"message": "assert 'Contents' in 'Test

      Test

      Test

      \\n

      Chapter 1
      Chapter One

      Content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Content.

      \\n
      '", "text": "tests/test_book.py:901: in test_inline_toc_name_option\n assert \"Contents\" in output\nE assert 'Contents' in 'Test

      Test

      Test

      \\n

      Chapter 1
      Chapter One

      Content.

      \\n
      \\n

      Chapter 2
      Chapter Two

      Content.

      \\n
      '"}, "9cd5a99e237f/tests.test_epub.test_metadata_generator_crowbook": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw61/test_metadata_generator_crowbo0/test.epub'", "text": "tests/test_epub.py:1165: in test_metadata_generator_crowbook\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw61/test_metadata_generator_crowbo0/test.epub'"}, "9cd5a99e237f/tests.test_epub.test_heading_ids_in_chapters": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw60/test_heading_ids_in_chapters0/test.epub'", "text": "tests/test_epub.py:1084: in test_heading_ids_in_chapters\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw60/test_heading_ids_in_chapters0/test.epub'"}, "9cd5a99e237f/tests.test_epub.test_spine_ordering": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_spine_ordering0/test.epub'", "text": "tests/test_epub.py:226: in test_spine_ordering\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_spine_ordering0/test.epub'"}, "9cd5a99e237f/tests.test_cli.test_verbose_quiet_conflict": {"message": "AssertionError: Should reject conflicting flags with non-zero exit\nassert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--verbose', '--quiet', '--single', 'test.md'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "tests/test_cli.py:139: in test_verbose_quiet_conflict\n assert result.returncode != 0, \"Should reject conflicting flags with non-zero exit\"\nE AssertionError: Should reject conflicting flags with non-zero exit\nE assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--verbose', '--quiet', '--single', 'test.md'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode"}, "9cd5a99e237f/tests.test_cli.test_single_mode_epub_output": {"message": "AssertionError: EPUB should be a valid zip file\nassert False\n + where False = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw37/test_single_mode_epub_output0/output.epub'))\n + where = .is_zipfile", "text": "tests/test_cli.py:182: in test_single_mode_epub_output\n assert zipfile.is_zipfile(output_file), \"EPUB should be a valid zip file\"\nE AssertionError: EPUB should be a valid zip file\nE assert False\nE + where False = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw37/test_single_mode_epub_output0/output.epub'))\nE + where = .is_zipfile"}, "9cd5a99e237f/tests.test_epub.test_epub_version_3_explicit": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw50/test_epub_version_3_explicit0/test.epub'", "text": "tests/test_epub.py:121: in test_epub_version_3_explicit\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw50/test_epub_version_3_explicit0/test.epub'"}, "9cd5a99e237f/tests.test_cli.test_verbose_flag_shows_debug_output": {"message": "AssertionError: Verbose should show DEBUG messages\nassert '[DEBUG]' in 'CROWBOOK 0.17.0\\n'", "text": "tests/test_cli.py:112: in test_verbose_flag_shows_debug_output\n assert \"[DEBUG]\" in output, \"Verbose should show DEBUG messages\"\nE AssertionError: Verbose should show DEBUG messages\nE assert '[DEBUG]' in 'CROWBOOK 0.17.0\\n'"}, "9cd5a99e237f/tests.test_book.test_unrecognized_option_error": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1635: in test_unrecognized_option_error\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_epub.test_list_rendering": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw65/test_list_rendering0/test.epub'", "text": "tests/test_epub.py:1502: in test_list_rendering\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw65/test_list_rendering0/test.epub'"}, "9cd5a99e237f/tests.test_cli.test_create_book_with_files": {"message": "AssertionError: Should have chapter list header\nassert '## List of chapters' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ newbook.book\\n'", "text": "tests/test_cli.py:328: in test_create_book_with_files\n assert \"## List of chapters\" in output, \"Should have chapter list header\"\nE AssertionError: Should have chapter list header\nE assert '## List of chapters' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ newbook.book\\n'"}, "9cd5a99e237f/tests.test_cli.test_force_emoji_flag": {"message": "AssertionError: Should document the force-emoji flag\nassert '--force-emoji' in 'CROWBOOK 0.17.0\\n'", "text": "tests/test_cli.py:563: in test_force_emoji_flag\n assert \"--force-emoji\" in output, \"Should document the force-emoji flag\"\nE AssertionError: Should document the force-emoji flag\nE assert '--force-emoji' in 'CROWBOOK 0.17.0\\n'"}, "9cd5a99e237f/tests.test_cli.test_print_template_html_css": {"message": "AssertionError: Should have body CSS rules\nassert 'body {' in 'CROWBOOK 0.17.0\\n'", "text": "tests/test_cli.py:300: in test_print_template_html_css\n assert \"body {\" in output, \"Should have body CSS rules\"\nE AssertionError: Should have body CSS rules\nE assert 'body {' in 'CROWBOOK 0.17.0\\n'"}, "9cd5a99e237f/tests.test_book.test_output_base_path_option": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw6/test_output_base_path_option0/outputs/test.html').exists", "text": "tests/test_book.py:479: in test_output_base_path_option\n assert html_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw6/test_output_base_path_option0/outputs/test.html').exists"}, "9cd5a99e237f/tests.test_epub.test_basic_epub_structure": {"message": "AssertionError: EPUB file not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw49/test_basic_epub_structure0/test.epub').exists", "text": "tests/test_epub.py:40: in test_basic_epub_structure\n assert epub_path.exists(), \"EPUB file not created\"\nE AssertionError: EPUB file not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw49/test_basic_epub_structure0/test.epub').exists"}, "9cd5a99e237f/tests.test_cli.test_set_invalid_option_error": {"message": "assert 'CROWBOOK 0.17.0\\n' == \"CROWBOOK 0.1...lid_option'\\n\"\n \n CROWBOOK 0.17.0\n - ERROR Error in setting key invalid_option: Error converting BookOption: unrecognized key 'invalid_option'", "text": "tests/test_cli.py:263: in test_set_invalid_option_error\n assert output == (RESOURCES / \"invalid_set.golden\").read_text()\nE assert 'CROWBOOK 0.17.0\\n' == \"CROWBOOK 0.1...lid_option'\\n\"\nE \nE CROWBOOK 0.17.0\nE - ERROR Error in setting key invalid_option: Error converting BookOption: unrecognized key 'invalid_option'"}, "9cd5a99e237f/tests.test_epub.test_toc_extras_option": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw64/test_toc_extras_option0/test.epub'", "text": "tests/test_epub.py:1410: in test_toc_extras_option\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw64/test_toc_extras_option0/test.epub'"}, "9cd5a99e237f/tests.test_epub.test_xhtml_content_valid": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw52/test_xhtml_content_valid0/test.epub'", "text": "tests/test_epub.py:349: in test_xhtml_content_valid\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw52/test_xhtml_content_valid0/test.epub'"}, "9cd5a99e237f/tests.test_epub.test_custom_css_addition": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw56/test_custom_css_addition0/test.epub'", "text": "tests/test_epub.py:758: in test_custom_css_addition\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw56/test_custom_css_addition0/test.epub'"}, "9cd5a99e237f/tests.test_epub.test_html_escaping_in_metadata": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw63/test_html_escaping_in_metadata0/test.epub'", "text": "tests/test_epub.py:1338: in test_html_escaping_in_metadata\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw63/test_html_escaping_in_metadata0/test.epub'"}, "9cd5a99e237f/tests.test_epub.test_manifest_items_have_ids": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw59/test_manifest_items_have_ids0/test.epub'", "text": "tests/test_epub.py:982: in test_manifest_items_have_ids\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw59/test_manifest_items_have_ids0/test.epub'"}, "9cd5a99e237f/tests.test_book.test_book_with_empty_lines": {"message": "assert None is not None", "text": "tests/test_book.py:191: in test_book_with_empty_lines\n assert meta_author is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_cli.test_autograph_mode_requires_stdin": {"message": "AssertionError: Should include autograph div in output\nassert '
      ' in 'Test Book

      Test Author

      Test Book

      \\n

      Chapter 1
      Chapter

      Content.

      \\n
      '", "text": "tests/test_cli.py:601: in test_autograph_mode_requires_stdin\n assert '
      ' in content, \\\nE AssertionError: Should include autograph div in output\nE assert '
      ' in 'Test Book

      Test Author

      Test Book

      \\n

      Chapter 1
      Chapter

      Content.

      \\n
      '"}, "9cd5a99e237f/tests.test_errors.test_missing_cover_image": {"message": "assert \"Could not find file './missing_cover.jpg' for cover\" in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'cover_test.book', '--to', 'epub', '-o', 'test.epub'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:209: in test_missing_cover_image\n assert \"Could not find file './missing_cover.jpg' for cover\" in result.stderr\nE assert \"Could not find file './missing_cover.jpg' for cover\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'cover_test.book', '--to', 'epub', '-o', 'test.epub'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_conflicting_quiet_verbose_flags": {"message": "AssertionError: assert 0 == 2\n + where 0 = CompletedProcess(args=['/workspace/executable', '--quiet', '--verbose', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "tests/test_errors.py:254: in test_conflicting_quiet_verbose_flags\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--quiet', '--verbose', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode"}, "9cd5a99e237f/tests.test_errors.test_pdf_rendering_latex_missing": {"message": "AssertionError: assert 'Error rendering pdf' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'output_format.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:341: in test_pdf_rendering_latex_missing\n assert \"Error rendering pdf\" in result.stderr\nE AssertionError: assert 'Error rendering pdf' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'output_format.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_chapter_file_naming_sequential": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw89/test_html_dir_chapter_file_nam0/output') / 'chapter_000.html').exists", "text": "tests/test_html_dir.py:80: in test_html_dir_chapter_file_naming_sequential\n assert (output_dir / \"chapter_000.html\").exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw89/test_html_dir_chapter_file_nam0/output') / 'chapter_000.html').exists"}, "9cd5a99e237f/tests.test_errors.test_malformed_yaml_configuration": {"message": "AssertionError: assert 'Error parsing configuration file' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'malformed.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:50: in test_malformed_yaml_configuration\n assert \"Error parsing configuration file\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'malformed.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_invalid_yaml_structure_error": {"message": "AssertionError: assert 'Error parsing configuration file:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'yaml_struct.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:1071: in test_invalid_yaml_structure_error\n assert \"Error parsing configuration file:\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'yaml_struct.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_output_directory_not_found": {"message": "assert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', 'test.book', '--to', 'html', '-o', '/nonexistent_dir/output.html'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 46, in run\\n if self.options.get(\"output.html\"): open(self.options[\"output.html\"], \\'w\\', encoding=\\'utf-8\\').write(res)\\nFileNotFoundError: [Errno 2] No such file or directory: \\'/nonexistent_dir/output.html\\'\\n').returncode", "text": "tests/test_errors.py:158: in test_output_directory_not_found\n assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'test.book', '--to', 'html', '-o', '/nonexistent_dir/output.html'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 46, in run\\n if self.options.get(\"output.html\"): open(self.options[\"output.html\"], \\'w\\', encoding=\\'utf-8\\').write(res)\\nFileNotFoundError: [Errno 2] No such file or directory: \\'/nonexistent_dir/output.html\\'\\n').returncode"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_images_directory_created": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw91/test_html_dir_images_directory0/output/images').exists", "text": "tests/test_html_dir.py:241: in test_html_dir_images_directory_created\n assert images_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw91/test_html_dir_images_directory0/output/images').exists"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_chapter_files_have_navigation_menu": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw90/test_html_dir_chapter_files_ha0/output/chapter_000.html'", "text": "tests/test_html_dir.py:157: in test_html_dir_chapter_files_have_navigation_menu\n chapter_html = (result.workspace / \"output\" / chapter_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw90/test_html_dir_chapter_files_ha0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_errors.test_multiple_errors_accumulation": {"message": "AssertionError: assert 'missing_chapter1.md' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'multi_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:430: in test_multiple_errors_accumulation\n assert \"missing_chapter1.md\" in result.stderr\nE AssertionError: assert 'missing_chapter1.md' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'multi_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_multiple_chapter_errors_reported": {"message": "AssertionError: assert 'multi_missing.book:5:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'multi_missing.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:1015: in test_multiple_chapter_errors_reported\n assert \"multi_missing.book:5:\" in result.stderr\nE AssertionError: assert 'multi_missing.book:5:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'multi_missing.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_invalid_to_format": {"message": "AssertionError: assert 0 == 2\n + where 0 = CompletedProcess(args=['/workspace/executable', 'chapter.md', '--to', 'invalid_format'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "tests/test_errors.py:89: in test_invalid_to_format\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'chapter.md', '--to', 'invalid_format'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode"}, "9cd5a99e237f/tests.test_errors.test_set_with_wrong_argument_count": {"message": "AssertionError: assert 0 == 2\n + where 0 = CompletedProcess(args=['/workspace/executable', 'test.book', '--set', 'title'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "tests/test_errors.py:300: in test_set_with_wrong_argument_count\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'test.book', '--set', 'title'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode"}, "9cd5a99e237f/tests.test_errors.test_no_arguments_error": {"message": "AssertionError: assert '' == 'CROWBOOK 0.1...y --help.\\n\\n'\n \n - CROWBOOK 0.17.0\n - ERROR You must pass the name of a book configuration file.\n - For more information try --help.\n -", "text": "tests/test_errors.py:17: in test_no_arguments_error\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...y --help.\\n\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR You must pass the name of a book configuration file.\nE - For more information try --help.\nE -"}, "9cd5a99e237f/tests.test_errors.test_file_not_found_with_description": {"message": "AssertionError: assert 'Error rendering html:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'file_not_found.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:800: in test_file_not_found_with_description\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'file_not_found.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_chapter_numbering_in_titles": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw96/test_html_dir_chapter_numberin0/output/chapter_000.html'", "text": "tests/test_html_dir.py:718: in test_html_dir_chapter_numbering_in_titles\n chapter_html = (output_dir / f\"chapter_{i:03d}.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw96/test_html_dir_chapter_numberin0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_json_ld_structured_data": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw94/test_html_dir_json_ld_structur0/output/chapter_000.html'", "text": "tests/test_html_dir.py:503: in test_html_dir_json_ld_structured_data\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw94/test_html_dir_json_ld_structur0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_errors.test_zipper_error_epub_creation": {"message": "AssertionError: assert 'Error rendering epub:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'zipper_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:738: in test_zipper_error_epub_creation\n assert \"Error rendering epub:\" in result.stderr\nE AssertionError: assert 'Error rendering epub:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'zipper_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_book_option_type_error_formatting": {"message": "AssertionError: assert 'Error converting BookOption:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'type_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:681: in test_book_option_type_error_formatting\n assert \"Error converting BookOption:\" in result.stderr\nE AssertionError: assert 'Error converting BookOption:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'type_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_output_to_stdout_with_dash": {"message": "AssertionError: assert '' in 'CROWBOOK 0.17.0\\n'\n + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', 'stdout_test.book', '--to', 'html', '-o', '-'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout", "text": "tests/test_errors.py:524: in test_output_to_stdout_with_dash\n assert \"\" in result.stdout\nE AssertionError: assert '' in 'CROWBOOK 0.17.0\\n'\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', 'stdout_test.book', '--to', 'html', '-o', '-'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout"}, "9cd5a99e237f/tests.test_errors.test_quiet_mode_suppresses_header": {"message": "AssertionError: assert '' == 'ERROR missin...ook chapter\\n'\n \n - ERROR missing_chapter.book:5: Could not find file 'nonexistent_chapter.md' for book chapter", "text": "tests/test_errors.py:130: in test_quiet_mode_suppresses_header\n assert result.stderr == golden\nE AssertionError: assert '' == 'ERROR missin...ook chapter\\n'\nE \nE - ERROR missing_chapter.book:5: Could not find file 'nonexistent_chapter.md' for book chapter"}, "9cd5a99e237f/tests.test_errors.test_multiple_error_types_in_same_book": {"message": "AssertionError: assert 'nonexistent.option' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'multi_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:850: in test_multiple_error_types_in_same_book\n assert \"nonexistent.option\" in result.stderr\nE AssertionError: assert 'nonexistent.option' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'multi_error.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_invalid_boolean_option_value": {"message": "AssertionError: assert '' == 'CROWBOOK 0.1...valid value\\n'\n \n - CROWBOOK 0.17.0\n - WARNING Crowbook exited successfully, but the following errors occurred:\n - ERROR rendering.highlight set to 'not_a_bool', not a valid value", "text": "tests/test_errors.py:477: in test_invalid_boolean_option_value\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...valid value\\n'\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR rendering.highlight set to 'not_a_bool', not a valid value"}, "9cd5a99e237f/tests.test_errors.test_render_error_epub_missing_cover": {"message": "AssertionError: assert 'Error rendering epub:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'missing_cover.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:956: in test_render_error_epub_missing_cover\n assert \"Error rendering epub:\" in result.stderr\nE AssertionError: assert 'Error rendering epub:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'missing_cover.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_chapter_content_matches_markdown": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw92/test_html_dir_chapter_content_0/output/chapter_000.html'", "text": "tests/test_html_dir.py:314: in test_html_dir_chapter_content_matches_markdown\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw92/test_html_dir_chapter_content_0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_multiple_chapters_with_sections": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw95/test_html_dir_multiple_chapter0/output') / 'chapter_000.html').exists", "text": "tests/test_html_dir.py:617: in test_html_dir_multiple_chapters_with_sections\n assert (output_dir / \"chapter_000.html\").exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw95/test_html_dir_multiple_chapter0/output') / 'chapter_000.html').exists"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_blockquote_rendering": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw101/test_html_dir_blockquote_rende0/output/chapter_000.html'", "text": "tests/test_html_dir.py:1082: in test_html_dir_blockquote_rendering\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw101/test_html_dir_blockquote_rende0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_errors.test_render_error_pdf_without_latex": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'pdf_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:905: in test_render_error_pdf_without_latex\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'pdf_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_index_next_link_to_first_chapter": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw98/test_html_dir_index_next_link_0/output/index.html'", "text": "tests/test_html_dir.py:853: in test_html_dir_index_next_link_to_first_chapter\n index_html = (result.workspace / \"output\" / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw98/test_html_dir_index_next_link_0/output/index.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_cleans_previous_output": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw100/test_html_dir_cleans_previous_0/output/chapter_002.html').exists", "text": "tests/test_html_dir.py:979: in test_html_dir_cleans_previous_output\n assert ch2_path.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw100/test_html_dir_cleans_previous_0/output/chapter_002.html').exists"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_middle_chapter_has_both_prev_and_next": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw108/test_html_dir_middle_chapter_h0/output/chapter_002.html'", "text": "tests/test_html_dir.py:1681: in test_html_dir_middle_chapter_has_both_prev_and_next\n middle_html = (output_dir / \"chapter_002.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw108/test_html_dir_middle_chapter_h0/output/chapter_002.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_toc_links_resolve_to_chapter_anchors": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw93/test_html_dir_toc_links_resolv0/output/index.html'", "text": "tests/test_html_dir.py:425: in test_html_dir_toc_links_resolve_to_chapter_anchors\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw93/test_html_dir_toc_links_resolv0/output/index.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_favicon_link_in_chapter_pages": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw106/test_html_dir_favicon_link_in_0/output/chapter_000.html'", "text": "tests/test_html_dir.py:1506: in test_html_dir_favicon_link_in_chapter_pages\n html_content = (output_dir / chapter_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw106/test_html_dir_favicon_link_in_0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_viewport_meta_for_mobile": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw103/test_html_dir_viewport_meta_fo0/output/index.html'", "text": "tests/test_html_dir.py:1222: in test_html_dir_viewport_meta_for_mobile\n html_content = (result.workspace / \"output\" / html_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw103/test_html_dir_viewport_meta_fo0/output/index.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_highlight_js_files_included": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw104/test_html_dir_highlight_js_fil0/output/highlight.js').exists", "text": "tests/test_html_dir.py:1322: in test_html_dir_highlight_js_files_included\n assert highlight_js.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw104/test_html_dir_highlight_js_fil0/output/highlight.js').exists"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_inline_toc_on_index_when_enabled": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw109/test_html_dir_inline_toc_on_in0/output/index.html'", "text": "tests/test_html_dir.py:1772: in test_html_dir_inline_toc_on_index_when_enabled\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw109/test_html_dir_inline_toc_on_in0/output/index.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_error_when_output_path_is_file": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_html_dir.py:1856: in test_html_dir_error_when_output_path_is_file\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_lang_attribute_propagated": {"message": "AssertionError: Traceback (most recent call last):\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\n this = chr(ESCAPES[this][1])\n KeyError: '\\\\u'\n \n During handling of the above exception, another exception occurred:\n \n Traceback (most recent call last):\n File \"/workspace/executable\", line 72, in \n if __name__ == \"__main__\": main()\n File \"/workspace/executable\", line 71, in main\n else: cb.run()\n File \"/workspace/executable\", line 44, in run\n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 44, in \n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 33, in render\n lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\n File \"/workspace/executable\", line 21, in clean\n if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\n return _compile(pattern, flags).sub(repl, string, count)\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\n template = _compile_repl(template, pattern)\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\n return sre_parse.parse_template(repl, pattern)\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\n raise s.error('bad escape %s' % this, len(this))\n re.error: bad escape \\u at position 1\n \nassert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode", "text": "tests/test_html_dir.py:913: in test_html_dir_lang_attribute_propagated\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_emphasis_and_strong": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw102/test_html_dir_emphasis_and_str0/output/chapter_000.html'", "text": "tests/test_html_dir.py:1154: in test_html_dir_emphasis_and_strong\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw102/test_html_dir_emphasis_and_str0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_menu_svg_is_valid": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw97/test_html_dir_menu_svg_is_vali0/output/menu.svg'", "text": "tests/test_html_dir.py:790: in test_html_dir_menu_svg_is_valid\n menu_svg = (result.workspace / \"output\" / \"menu.svg\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw97/test_html_dir_menu_svg_is_vali0/output/menu.svg'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_first_chapter_has_only_next_link": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw107/test_html_dir_first_chapter_ha0/output/chapter_000.html'", "text": "tests/test_html_dir.py:1588: in test_html_dir_first_chapter_has_only_next_link\n first_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw107/test_html_dir_first_chapter_ha0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_cover_image_on_index_page": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw105/test_html_dir_cover_image_on_i0/output/index.html'", "text": "tests/test_html_dir.py:1401: in test_html_dir_cover_image_on_index_page\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw105/test_html_dir_cover_image_on_i0/output/index.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_favicon_on_index_page": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw112/test_html_dir_favicon_on_index0/output/index.html'", "text": "tests/test_html_dir.py:2008: in test_html_dir_favicon_on_index_page\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw112/test_html_dir_favicon_on_index0/output/index.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_custom_css_added_to_stylesheet": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw113/test_html_dir_custom_css_added0/output/stylesheet.css'", "text": "tests/test_html_dir.py:2093: in test_html_dir_custom_css_added_to_stylesheet\n stylesheet = (output_dir / \"stylesheet.css\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw113/test_html_dir_custom_css_added0/output/stylesheet.css'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_menu_svg_always_included": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw114/test_html_dir_menu_svg_always_0/output/menu.svg').exists", "text": "tests/test_html_dir.py:2171: in test_html_dir_menu_svg_always_included\n assert menu_svg.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw114/test_html_dir_menu_svg_always_0/output/menu.svg').exists"}, "9cd5a99e237f/tests.test_html_single.test_markdown_headings_h1_to_h3": {"message": "assert 'Simple Test Book' in ''\n + where '' = get_text()\n + where get_text =

      .get_text", "text": "tests/test_html_single.py:124: in test_markdown_headings_h1_to_h3\n assert \"Simple Test Book\" in h1s[0].get_text()\nE assert 'Simple Test Book' in ''\nE + where '' = get_text()\nE + where get_text =

      .get_text"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_chapter_title_in_browser_title_tag": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw115/test_html_dir_chapter_title_in0/output/chapter_000.html'", "text": "tests/test_html_dir.py:2240: in test_html_dir_chapter_title_in_browser_title_tag\n ch1_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw115/test_html_dir_chapter_title_in0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_html_single.test_markdown_ordered_list": {"message": "assert 0 >= 1\n + where 0 = len([])", "text": "tests/test_html_single.py:260: in test_markdown_ordered_list\n assert len(ols) >= 1\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_html_single.test_markdown_links": {"message": "assert 0 >= 1\n + where 0 = len([])", "text": "tests/test_html_single.py:199: in test_markdown_links\n assert len(external_links) >= 1\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_html_single.test_html_title_in_head": {"message": "AssertionError: assert '' == 'Simple Test Book'\n \n - Simple Test Book", "text": "tests/test_html_single.py:79: in test_html_title_in_head\n assert title_tag.get_text(strip=True) == \"Simple Test Book\"\nE AssertionError: assert '' == 'Simple Test Book'\nE \nE - Simple Test Book"}, "9cd5a99e237f/tests.test_html_single.test_html_horizontal_rule": {"message": "AssertionError: Should have at least one horizontal rule, found 0
      and 0

      \nassert (0 + 0) >= 1\n + where 0 = len([])\n + and 0 = len([])", "text": "tests/test_html_single.py:484: in test_html_horizontal_rule\n assert len(hrs) + len(p_rules) >= 1, \\\nE AssertionError: Should have at least one horizontal rule, found 0


      and 0

      \nE assert (0 + 0) >= 1\nE + where 0 = len([])\nE + and 0 = len([])"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_index_page_links_to_first_chapter": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw111/test_html_dir_index_page_links0/output/index.html'", "text": "tests/test_html_dir.py:1936: in test_html_dir_index_page_links_to_first_chapter\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw111/test_html_dir_index_page_links0/output/index.html'"}, "9cd5a99e237f/tests.test_html_single.test_metadata_author_meta_tag": {"message": "assert None is not None", "text": "tests/test_html_single.py:431: in test_metadata_author_meta_tag\n assert author_meta is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_html_single.test_markdown_table_rendering": {"message": "assert 0 >= 1\n + where 0 = len([])", "text": "tests/test_html_single.py:357: in test_markdown_table_rendering\n assert len(tables) >= 1\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_html_single.test_markdown_code_inline": {"message": "assert 0 >= 1\n + where 0 = len([])", "text": "tests/test_html_single.py:311: in test_markdown_code_inline\n assert len(code_tags) >= 1\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_html_single.test_image_base64_embedded": {"message": "AssertionError: Should have at least one img tag\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_html_single.py:576: in test_image_base64_embedded\n assert len(imgs) >= 1, \"Should have at least one img tag\"\nE AssertionError: Should have at least one img tag\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_html_single.test_schema_org_metadata_json_ld": {"message": "AssertionError: Should have schema.org JSON-LD metadata\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_html_single.py:693: in test_schema_org_metadata_json_ld\n assert len(json_ld_scripts) >= 1, \"Should have schema.org JSON-LD metadata\"\nE AssertionError: Should have schema.org JSON-LD metadata\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_book.test_unnumbered_part_syntax": {"message": "assert 'Introduction' in 'Book with Unnumbered Part

      Test

      Book with Unnumbered Part

      \\n

      Chapter 1
      Chapter One

      Content.

      \\n
      '", "text": "tests/test_book.py:1100: in test_unnumbered_part_syntax\n assert \"Introduction\" in output\nE assert 'Introduction' in 'Book with Unnumbered Part

      Test

      Book with Unnumbered Part

      \\n

      Chapter 1
      Chapter One

      Content.

      \\n
      '"}, "9cd5a99e237f/tests.test_cli.test_help_flag_full_output": {"message": "AssertionError: Should have USAGE section\nassert 'USAGE:' in 'CROWBOOK 0.17.0\\n'", "text": "tests/test_cli.py:35: in test_help_flag_full_output\n assert \"USAGE:\" in output, \"Should have USAGE section\"\nE AssertionError: Should have USAGE section\nE assert 'USAGE:' in 'CROWBOOK 0.17.0\\n'"}, "9cd5a99e237f/tests.test_book.test_rendering_highlight_option": {"message": "assert 0 > 0\n + where 0 = len([])", "text": "tests/test_book.py:647: in test_rendering_highlight_option\n assert len(pre_tags) > 0\nE assert 0 > 0\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_book.test_list_options_flag": {"message": "AssertionError: assert ('OUTPUT OPTIONS' in 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' or 'OUTPUT' in 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n')\n + where 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' = ()\n + where = 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'.upper\n + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdout\n + and 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' = ()\n + where = 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'.upper\n + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdout", "text": "tests/test_book.py:1602: in test_list_options_flag\n assert \"OUTPUT OPTIONS\" in result.stdout.upper() or \"OUTPUT\" in result.stdout.upper()\nE AssertionError: assert ('OUTPUT OPTIONS' in 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' or 'OUTPUT' in 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n')\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'.upper\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdout\nE + and 'CROWBOOK 0.17.0\\nMETADATA\\nAUTHOR\\nTITLE\\nLANG\\n...\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'.upper\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdout"}, "9cd5a99e237f/tests.test_book.test_epub_version_option": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw9/test_epub_version_option0/output.epub').exists", "text": "tests/test_book.py:700: in test_epub_version_option\n assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw9/test_epub_version_option0/output.epub').exists"}, "9cd5a99e237f/tests.test_book.test_option_resources_base_path_templates": {"message": "assert ('margin: 2em' in 'Test Book

      Test Author

      Test Book

      \\n

      Chapter 1
      Chapter

      Content.

      \\n
      ' or 'margin:2em' in 'Test Book

      Test Author

      Test Book

      \\n

      Chapter 1
      Chapter

      Content.

      \\n
      ')", "text": "tests/test_book.py:1717: in test_option_resources_base_path_templates\n assert \"margin: 2em\" in content or \"margin:2em\" in content\nE assert ('margin: 2em' in 'Test Book

      Test Author

      Test Book

      \\n

      Chapter 1
      Chapter

      Content.

      \\n
      ' or 'margin:2em' in 'Test Book

      Test Author

      Test Book

      \\n

      Chapter 1
      Chapter

      Content.

      \\n
      ')"}, "9cd5a99e237f/tests.test_cli.test_output_formats_html_dir": {"message": "AssertionError: Should create output directory\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw45/test_output_formats_html_dir0/html_output').exists", "text": "tests/test_cli.py:543: in test_output_formats_html_dir\n assert output_dir.exists(), \"Should create output directory\"\nE AssertionError: Should create output directory\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw45/test_output_formats_html_dir0/html_output').exists"}, "9cd5a99e237f/tests.test_book.test_subchapter_double_dash_syntax": {"message": "assert 'Subchapter One' in 'Book with Subchapters

      Test

      Book with Subchapters

      \\n

      Chapter 1
      Main Chapter

      Content.

      \\n
      \\n

      Chapter 2
      Another Chapter

      Content.

      \\n
      '", "text": "tests/test_book.py:871: in test_subchapter_double_dash_syntax\n assert \"Subchapter One\" in output\nE assert 'Subchapter One' in 'Book with Subchapters

      Test

      Book with Subchapters

      \\n

      Chapter 1
      Main Chapter

      Content.

      \\n
      \\n

      Chapter 2
      Another Chapter

      Content.

      \\n
      '"}, "9cd5a99e237f/tests.test_book.test_option_multiple_imports_chain": {"message": "assert None is not None", "text": "tests/test_book.py:1773: in test_option_multiple_imports_chain\n assert meta_author is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_book.test_rendering_inline_toc_option": {"message": "AssertionError: Expected TOC element in output\nassert 0 > 0\n + where 0 = len([])", "text": "tests/test_book.py:441: in test_rendering_inline_toc_option\n assert len(toc_elements) > 0, \"Expected TOC element in output\"\nE AssertionError: Expected TOC element in output\nE assert 0 > 0\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_book.test_specific_chapter_number_syntax": {"message": "assert 'Chapter Five' in 'Book with Specific Numbers

      Test

      Book with Specific Numbers

      '", "text": "tests/test_book.py:366: in test_specific_chapter_number_syntax\n assert \"Chapter Five\" in output\nE assert 'Chapter Five' in 'Book with Specific Numbers

      Test

      Book with Specific Numbers

      '"}, "9cd5a99e237f/tests.test_book.test_option_epub_version_validation": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw31/test_option_epub_version_valid0/output.epub').exists", "text": "tests/test_book.py:1882: in test_option_epub_version_validation\n assert output_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw31/test_option_epub_version_valid0/output.epub').exists"}, "9cd5a99e237f/tests.test_book.test_unnumbered_chapter_minus_syntax": {"message": "assert 'Preface' in 'Book with Unnumbered Chapters

      Test

      Book with Unnumbered Chapters

      \\n

      Chapter 1
      Main Chapter

      Main content.

      \\n
      '", "text": "tests/test_book.py:303: in test_unnumbered_chapter_minus_syntax\n assert \"Preface\" in output\nE assert 'Preface' in 'Book with Unnumbered Chapters

      Test

      Book with Unnumbered Chapters

      \\n

      Chapter 1
      Main Chapter

      Main content.

      \\n
      '"}, "9cd5a99e237f/tests.test_errors.test_error_with_line_number_precision": {"message": "AssertionError: assert 'line_test.book:6:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'line_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:605: in test_error_with_line_number_precision\n assert \"line_test.book:6:\" in result.stderr\nE AssertionError: assert 'line_test.book:6:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'line_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_invalid_yaml_in_book_config": {"message": "AssertionError: assert 'Error parsing configuration file' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'invalid_yaml.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:408: in test_invalid_yaml_in_book_config\n assert \"Error parsing configuration file\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'invalid_yaml.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_invalid_book_option_error_formatting": {"message": "AssertionError: assert 'Error converting BookOption:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'invalid_option.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:654: in test_invalid_book_option_error_formatting\n assert \"Error converting BookOption:\" in result.stderr\nE AssertionError: assert 'Error converting BookOption:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'invalid_option.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_book.test_multiple_authors": {"message": "assert None is not None", "text": "tests/test_book.py:79: in test_multiple_authors\n assert meta_author is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_book.test_option_strvec_not_array": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1352: in test_option_strvec_not_array\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_cli.test_quiet_flag_suppresses_banner": {"message": "AssertionError: assert 'CROWBOOK 0.17.0\\n' == ''\n \n + CROWBOOK 0.17.0", "text": "tests/test_cli.py:98: in test_quiet_flag_suppresses_banner\n assert combined == (RESOURCES / \"quiet_output.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == ''\nE \nE + CROWBOOK 0.17.0"}, "9cd5a99e237f/tests.test_book.test_option_type_error_string_as_int": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1204: in test_option_type_error_string_as_int\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_cli.test_stdin_book_mode": {"message": "AssertionError: Should use title from stdin config\nassert 'Test Book' in '

      '", "text": "tests/test_cli.py:401: in test_stdin_book_mode\n assert \"Test Book\" in content, \"Should use title from stdin config\"\nE AssertionError: Should use title from stdin config\nE assert 'Test Book' in '

      '"}, "9cd5a99e237f/tests.test_book.test_option_type_error_int_as_string": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1156: in test_option_type_error_int_as_string\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_book.test_option_type_error_string_as_bool": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1252: in test_option_type_error_string_as_bool\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_book.test_option_float_invalid_string": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1514: in test_option_float_invalid_string\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_html_single.test_nested_lists": {"message": "AssertionError: Should have nested unordered lists, got 0\nassert 0 >= 2\n + where 0 = len([])", "text": "tests/test_html_single.py:849: in test_nested_lists\n assert len(uls) >= 2, f\"Should have nested unordered lists, got {len(uls)}\"\nE AssertionError: Should have nested unordered lists, got 0\nE assert 0 >= 2\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_cli.test_set_single_option": {"message": "AssertionError: Should set author in meta tag\nassert '' in '

      Jane Doe

      \\n

      Chapter 1
      Chapter One

      This is the first chapter with **bold** text and *italic* text.

      \\n

      A paragraph with some content.

      \\n

      - List item 1 - List item 2 - List item 3

      \\n

      ```rust fn main() { println!(\u201cHello, World!\u201d); } ```

      \\n

      More content here.

      \\n
      '", "text": "tests/test_cli.py:242: in test_set_single_option\n assert '' in content, \\\nE AssertionError: Should set author in meta tag\nE assert '' in '

      Jane Doe

      \\n

      Chapter 1
      Chapter One

      This is the first chapter with **bold** text and *italic* text.

      \\n

      A paragraph with some content.

      \\n

      - List item 1 - List item 2 - List item 3

      \\n

      ```rust fn main() { println!(\u201cHello, World!\u201d); } ```

      \\n

      More content here.

      \\n
      '"}, "9cd5a99e237f/tests.test_cli.test_set_multiple_values_in_single_flag": {"message": "AssertionError: Should set author\nassert '' in '

      Bob

      \\n

      Chapter 1
      Test

      Content.

      \\n
      '", "text": "tests/test_cli.py:494: in test_set_multiple_values_in_single_flag\n assert '' in content, \"Should set author\"\nE AssertionError: Should set author\nE assert '' in '

      Bob

      \\n

      Chapter 1
      Test

      Content.

      \\n
      '"}, "9cd5a99e237f/tests.test_epub.test_title_page_content": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw57/test_title_page_content0/test.epub'", "text": "tests/test_epub.py:854: in test_title_page_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw57/test_title_page_content0/test.epub'"}, "9cd5a99e237f/tests.test_cli.test_print_template_invalid_name": {"message": "AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...mplate name\\n'\n \n CROWBOOK 0.17.0\n - ERROR invalid_template is not a valid template name", "text": "tests/test_cli.py:315: in test_print_template_invalid_name\n assert output == (RESOURCES / \"invalid_template.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...mplate name\\n'\nE \nE CROWBOOK 0.17.0\nE - ERROR invalid_template is not a valid template name"}, "9cd5a99e237f/tests.test_cli.test_no_input_file_error": {"message": "AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...y --help.\\n\\n'\n \n CROWBOOK 0.17.0\n - ERROR You must pass the name of a book configuration file.\n - For more information try --help.\n -", "text": "tests/test_cli.py:73: in test_no_input_file_error\n assert result.stdout + result.stderr == (RESOURCES / \"no_input.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...y --help.\\n\\n'\nE \nE CROWBOOK 0.17.0\nE - ERROR You must pass the name of a book configuration file.\nE - For more information try --help.\nE -"}, "9cd5a99e237f/tests.test_latex.test_basic_latex_structure_with_book_class": {"message": "AssertionError: LaTeX output file not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw15/test_basic_latex_structure_wit0/output.tex').exists", "text": "tests/test_latex.py:36: in test_basic_latex_structure_with_book_class\n assert output_file.exists(), \"LaTeX output file not created\"\nE AssertionError: LaTeX output file not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw15/test_basic_latex_structure_wit0/output.tex').exists"}, "9cd5a99e237f/tests.test_cli.test_single_mode_tex_output": {"message": "AssertionError: Should have documentclass\nassert '\\\\documentclass' in '

      \\n

      Chapter 1
      Chapter One

      This is the first chapter with **bold** text and *italic* text.

      \\n

      A paragraph with some content.

      \\n

      - List item 1 - List item 2 - List item 3

      \\n

      ```rust fn main() { println!(\u201cHello, World!\u201d); } ```

      \\n

      More content here.

      \\n
      '", "text": "tests/test_cli.py:203: in test_single_mode_tex_output\n assert \"\\\\documentclass\" in content, \"Should have documentclass\"\nE AssertionError: Should have documentclass\nE assert '\\\\documentclass' in '

      \\n

      Chapter 1
      Chapter One

      This is the first chapter with **bold** text and *italic* text.

      \\n

      A paragraph with some content.

      \\n

      - List item 1 - List item 2 - List item 3

      \\n

      ```rust fn main() { println!(\u201cHello, World!\u201d); } ```

      \\n

      More content here.

      \\n
      '"}, "9cd5a99e237f/tests.test_cli.test_single_mode_html_output": {"message": "AssertionError: Should have pre blocks for code\nassert '
      ' in '

      \\n

      Chapter 1
      Chapter One

      This is the first chapter with **bold** text and *italic* text.

      \\n

      A paragraph with some content.

      \\n

      - List item 1 - List item 2 - List item 3

      \\n

      ```rust fn main() { println!(\u201cHello, World!\u201d); } ```

      \\n

      More content here.

      \\n
      '", "text": "tests/test_cli.py:161: in test_single_mode_html_output\n assert \"
      \" in content, \"Should have pre blocks for code\"\nE   AssertionError: Should have pre blocks for code\nE   assert '
      ' in '

      \\n

      Chapter 1
      Chapter One

      This is the first chapter with **bold** text and *italic* text.

      \\n

      A paragraph with some content.

      \\n

      - List item 1 - List item 2 - List item 3

      \\n

      ```rust fn main() { println!(\u201cHello, World!\u201d); } ```

      \\n

      More content here.

      \\n
      '"}, "9cd5a99e237f/tests.test_book.test_deprecated_option_removed_no_replacement": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1305: in test_deprecated_option_removed_no_replacement\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_latex.test_unordered_list_to_itemize": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw43/test_unordered_list_to_itemize0/output.tex'", "text": "tests/test_latex.py:204: in test_unordered_list_to_itemize\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw43/test_unordered_list_to_itemize0/output.tex'"}, "9cd5a99e237f/tests.test_cli.test_stats_flag_shows_word_count": {"message": "AssertionError: Should show character count\nassert '216' in 'CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\ntest.md 264 48 5.50\\n---------\\nTOTAL: 264 48 5.50\\n'", "text": "tests/test_cli.py:286: in test_stats_flag_shows_word_count\n assert \"216\" in output, \"Should show character count\"\nE AssertionError: Should show character count\nE assert '216' in 'CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\ntest.md 264 48 5.50\\n---------\\nTOTAL: 264 48 5.50\\n'"}, "9cd5a99e237f/tests.test_book.test_output_list_format": {"message": "AssertionError: Expected at least one HTML file to be generated\nassert 0 > 0\n + where 0 = len([])", "text": "tests/test_book.py:983: in test_output_list_format\n assert len(html_files) > 0, \"Expected at least one HTML file to be generated\"\nE AssertionError: Expected at least one HTML file to be generated\nE assert 0 > 0\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_cli.test_no_fancy_flag_disables_ui": {"message": "AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...output.html\\n'\n \n CROWBOOK 0.17.0\n - [INFO] Succesfully generated HTML (standalone page): output.html", "text": "tests/test_cli.py:126: in test_no_fancy_flag_disables_ui\n assert result.stdout + result.stderr == (RESOURCES / \"no_fancy.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'CROWBOOK 0.1...output.html\\n'\nE \nE CROWBOOK 0.17.0\nE - [INFO] Succesfully generated HTML (standalone page): output.html"}, "9cd5a99e237f/tests.test_cli.test_invalid_output_format_error": {"message": "AssertionError: Should reject invalid output format with non-zero exit\nassert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--single', 'test.md', '--to', 'invalid_format'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "tests/test_cli.py:615: in test_invalid_output_format_error\n assert result.returncode != 0, \"Should reject invalid output format with non-zero exit\"\nE AssertionError: Should reject invalid output format with non-zero exit\nE assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--single', 'test.md', '--to', 'invalid_format'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode"}, "9cd5a99e237f/tests.test_cli.test_create_book_with_set_options": {"message": "AssertionError: Should set author metadata\nassert 'author: John Doe' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ book.book\\n'", "text": "tests/test_cli.py:351: in test_create_book_with_set_options\n assert \"author: John Doe\" in output, \"Should set author metadata\"\nE AssertionError: Should set author metadata\nE assert 'author: John Doe' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ book.book\\n'"}, "9cd5a99e237f/tests.test_book.test_option_path_output_base_path_applied": {"message": "AssertionError: Expected output at /tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/result.html, files: [PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/.keep')]\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/result.html').exists", "text": "tests/test_book.py:1663: in test_option_path_output_base_path_applied\n assert output_file.exists(), f\"Expected output at {output_file}, files: {list((result.workspace / 'out').glob('*'))}\"\nE AssertionError: Expected output at /tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/result.html, files: [PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/.keep')]\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_option_path_output_base_p0/out/result.html').exists"}, "9cd5a99e237f/tests.test_book.test_rendering_chapter_template_option": {"message": "assert '***' in 'Custom Chapter Template

      Test

      Custom Chapter Template

      \\n

      Chapter 1
      First Chapter

      Content.

      \\n
      \\n

      Chapter 2
      Second Chapter

      Content.

      \\n
      '", "text": "tests/test_book.py:754: in test_rendering_chapter_template_option\n assert \"***\" in output\nE assert '***' in 'Custom Chapter Template

      Test

      Custom Chapter Template

      \\n

      Chapter 1
      First Chapter

      Content.

      \\n
      \\n

      Chapter 2
      Second Chapter

      Content.

      \\n
      '"}, "9cd5a99e237f/tests.test_errors.test_set_invalid_option_key": {"message": "assert '' == \"CROWBOOK 0.1...lid_option'\\n\"\n \n - CROWBOOK 0.17.0\n - ERROR Error in setting key invalid_option: test.book:4: Error converting BookOption: unrecognized key 'invalid_option'", "text": "tests/test_errors.py:279: in test_set_invalid_option_key\n assert result.stderr == golden\nE assert '' == \"CROWBOOK 0.1...lid_option'\\n\"\nE \nE - CROWBOOK 0.17.0\nE - ERROR Error in setting key invalid_option: test.book:4: Error converting BookOption: unrecognized key 'invalid_option'"}, "9cd5a99e237f/tests.test_latex.test_language_mapping_to_babel": {"message": "AssertionError: Failed for lang=fr: Traceback (most recent call last):\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\n this = chr(ESCAPES[this][1])\n KeyError: '\\\\u'\n \n During handling of the above exception, another exception occurred:\n \n Traceback (most recent call last):\n File \"/workspace/executable\", line 72, in \n if __name__ == \"__main__\": main()\n File \"/workspace/executable\", line 71, in main\n else: cb.run()\n File \"/workspace/executable\", line 44, in run\n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 44, in \n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 33, in render\n lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\n File \"/workspace/executable\", line 21, in clean\n if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\n return _compile(pattern, flags).sub(repl, string, count)\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\n template = _compile_repl(template, pattern)\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\n return sre_parse.parse_template(repl, pattern)\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\n raise s.error('bad escape %s' % this, len(this))\n re.error: bad escape \\u at position 1\n \nassert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode", "text": "tests/test_latex.py:378: in test_language_mapping_to_babel\n assert result.returncode == 0, f\"Failed for lang={lang_code}: {result.stderr}\"\nE AssertionError: Failed for lang=fr: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode"}, "9cd5a99e237f/tests.test_latex.test_custom_title_and_author_in_metadata": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw116/test_custom_title_and_author_i0/output.tex'", "text": "tests/test_latex.py:402: in test_custom_title_and_author_in_metadata\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw116/test_custom_title_and_author_i0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_creates_required_files": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw88/test_html_dir_creates_required0/output').exists", "text": "tests/test_html_dir.py:32: in test_html_dir_creates_required_files\n assert output_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw88/test_html_dir_creates_required0/output').exists"}, "9cd5a99e237f/tests.test_errors.test_output_without_to_flag": {"message": "AssertionError: assert 0 == 2\n + where 0 = CompletedProcess(args=['/workspace/executable', 'chapter.md', '-o', 'output.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "tests/test_errors.py:106: in test_output_without_to_flag\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'chapter.md', '-o', 'output.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode"}, "9cd5a99e237f/tests.test_latex.test_special_latex_characters_escaped": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw23/test_special_latex_characters_0/output.tex'", "text": "tests/test_latex.py:432: in test_special_latex_characters_escaped\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw23/test_special_latex_characters_0/output.tex'"}, "9cd5a99e237f/tests.test_errors.test_nonexistent_book_file": {"message": "assert '' == \"CROWBOOK 0.1...k' for book\\n\"\n \n - CROWBOOK 0.17.0\n - ERROR Could not find file 'nonexistent.book' for book", "text": "tests/test_errors.py:30: in test_nonexistent_book_file\n assert result.stderr == golden\nE assert '' == \"CROWBOOK 0.1...k' for book\\n\"\nE \nE - CROWBOOK 0.17.0\nE - ERROR Could not find file 'nonexistent.book' for book"}, "9cd5a99e237f/tests.test_errors.test_render_error_invalid_html_template_var": {"message": "AssertionError: assert 'Error rendering html:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'render_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:771: in test_render_error_invalid_html_template_var\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'render_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_book.test_option_import_nonexistent_file": {"message": "AssertionError: assert 'ERROR' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:1398: in test_option_import_nonexistent_file\n assert \"ERROR\" in result.stderr\nE AssertionError: assert 'ERROR' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_template_error_formatting": {"message": "AssertionError: assert 'Error rendering html:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'template_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:709: in test_template_error_formatting\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'template_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_book.test_multiple_output_formats": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw2/test_multiple_output_formats0/output.epub').exists", "text": "tests/test_book.py:224: in test_multiple_output_formats\n assert epub_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw2/test_multiple_output_formats0/output.epub').exists"}, "9cd5a99e237f/tests.test_errors.test_missing_css_file_in_config": {"message": "AssertionError: assert 'Could not find file' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book', '--to', 'html', '-o', 'test.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:452: in test_missing_css_file_in_config\n assert \"Could not find file\" in result.stderr\nE AssertionError: assert 'Could not find file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book', '--to', 'html', '-o', 'test.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_missing_markdown_chapter": {"message": "AssertionError: assert '' == 'CROWBOOK 0.1...ook chapter\\n'\n \n - CROWBOOK 0.17.0\n - ERROR missing_chapter.book:5: Could not find file 'nonexistent_chapter.md' for book chapter", "text": "tests/test_errors.py:74: in test_missing_markdown_chapter\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...ook chapter\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR missing_chapter.book:5: Could not find file 'nonexistent_chapter.md' for book chapter"}, "9cd5a99e237f/tests.test_errors.test_invalid_template_name": {"message": "AssertionError: assert '' == 'CROWBOOK 0.1...mplate name\\n'\n \n - CROWBOOK 0.17.0\n - ERROR nonexistent_template is not a valid template name", "text": "tests/test_errors.py:233: in test_invalid_template_name\n assert result.stderr == golden\nE AssertionError: assert '' == 'CROWBOOK 0.1...mplate name\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR nonexistent_template is not a valid template name"}, "9cd5a99e237f/tests.test_errors.test_template_not_found_error_format": {"message": "AssertionError: assert 'Error rendering html:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'template_missing.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:1042: in test_template_not_found_error_format\n assert \"Error rendering html:\" in result.stderr\nE AssertionError: assert 'Error rendering html:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'template_missing.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_config_parser_error_yaml_syntax": {"message": "AssertionError: assert 'Error parsing configuration file' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'config_parse.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:823: in test_config_parser_error_yaml_syntax\n assert \"Error parsing configuration file\" in result.stderr\nE AssertionError: assert 'Error parsing configuration file' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'config_parse.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_create_mode_with_multiple_chapters": {"message": "assert False\n + where False = exists()\n + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_create_mode_with_multiple0') / 'new_book.book').exists\n + where PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_create_mode_with_multiple0') = CompletedProcess(args=['/workspace/executable', 'new_book.book', '--create', 'ch1.md', 'ch2.md', 'ch3.md'], returncode=0, stdout='CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ ch3.md\\n', stderr='').workspace", "text": "tests/test_errors.py:546: in test_create_mode_with_multiple_chapters\n assert (result.workspace / \"new_book.book\").exists()\nE assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_create_mode_with_multiple0') / 'new_book.book').exists\nE + where PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_create_mode_with_multiple0') = CompletedProcess(args=['/workspace/executable', 'new_book.book', '--create', 'ch1.md', 'ch2.md', 'ch3.md'], returncode=0, stdout='CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n+ ch1.md\\n+ ch2.md\\n+ ch3.md\\n', stderr='').workspace"}, "9cd5a99e237f/tests.test_errors.test_latex_render_error_format": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'latex_render.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:988: in test_latex_render_error_format\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'latex_render.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_error_source_with_line_number_formatting": {"message": "AssertionError: assert 'source_test.book:6:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'source_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:879: in test_error_source_with_line_number_formatting\n assert \"source_test.book:6:\" in result.stderr\nE AssertionError: assert 'source_test.book:6:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'source_test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_latex.test_chapter_labels_for_cross_references": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw34/test_chapter_labels_for_cross_0/output.tex'", "text": "tests/test_latex.py:497: in test_chapter_labels_for_cross_references\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw34/test_chapter_labels_for_cross_0/output.tex'"}, "9cd5a99e237f/tests.test_epub.test_epub_version_2_default": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw49/test_epub_version_2_default0/test.epub'", "text": "tests/test_epub.py:85: in test_epub_version_2_default\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw49/test_epub_version_2_default0/test.epub'"}, "9cd5a99e237f/tests.test_errors.test_verbose_mode_shows_debug_info": {"message": "AssertionError: assert '[DEBUG] (1) crowbook::book:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', '--verbose', 'verbose_test.book', '--to', 'html', '-o', 'test.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:363: in test_verbose_mode_shows_debug_info\n assert \"[DEBUG] (1) crowbook::book:\" in result.stderr\nE AssertionError: assert '[DEBUG] (1) crowbook::book:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', '--verbose', 'verbose_test.book', '--to', 'html', '-o', 'test.html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_invalid_integer_option_value": {"message": "assert '' == 'CROWBOOK 0.1...ot_an_int\")\\n'\n \n - CROWBOOK 0.17.0\n - WARNING Crowbook exited successfully, but the following errors occurred:\n - ERROR int_test.book:5: Error converting BookOption: expected an integer as value for key 'rendering.num_depth', found String(\"not_an_int\")", "text": "tests/test_errors.py:501: in test_invalid_integer_option_value\n assert result.stderr == golden\nE assert '' == 'CROWBOOK 0.1...ot_an_int\")\\n'\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR int_test.book:5: Error converting BookOption: expected an integer as value for key 'rendering.num_depth', found String(\"not_an_int\")"}, "9cd5a99e237f/tests.test_errors.test_missing_image_in_markdown": {"message": "assert '' == \"CROWBOOK 0.1...' for image\\n\"\n \n - CROWBOOK 0.17.0\n - ERROR chapter_img.md: Could not find file './nonexistent.png' for image", "text": "tests/test_errors.py:186: in test_missing_image_in_markdown\n assert result.stderr == golden\nE assert '' == \"CROWBOOK 0.1...' for image\\n\"\nE \nE - CROWBOOK 0.17.0\nE - ERROR chapter_img.md: Could not find file './nonexistent.png' for image"}, "9cd5a99e237f/tests.test_latex.test_strikethrough_to_sout": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw42/test_strikethrough_to_sout0/output.tex'", "text": "tests/test_latex.py:574: in test_strikethrough_to_sout\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw42/test_strikethrough_to_sout0/output.tex'"}, "9cd5a99e237f/tests.test_book.test_invalid_option_name_error": {"message": "assert \"unrecognized key 'invalid.option.name'\" in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_book.py:509: in test_invalid_option_name_error\n assert \"unrecognized key 'invalid.option.name'\" in result.stderr\nE assert \"unrecognized key 'invalid.option.name'\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_epub_zipper_error_format": {"message": "AssertionError: assert 'Error rendering epub:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'epub_zip.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_errors.py:930: in test_epub_zipper_error_format\n assert \"Error rendering epub:\" in result.stderr\nE AssertionError: assert 'Error rendering epub:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'epub_zip.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_errors.test_invalid_flag": {"message": "AssertionError: assert 0 == 2\n + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-flag'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "tests/test_errors.py:138: in test_invalid_flag\n assert result.returncode == 2 # clap error exit code\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--invalid-flag'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode"}, "9cd5a99e237f/tests.test_latex.test_subsection_hierarchy": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw0/test_subsection_hierarchy0/output.tex'", "text": "tests/test_latex.py:469: in test_subsection_hierarchy\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw0/test_subsection_hierarchy0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_unnumbered_chapter_with_asterisk": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw1/test_unnumbered_chapter_with_a0/output.tex'", "text": "tests/test_latex.py:630: in test_unnumbered_chapter_with_asterisk\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw1/test_unnumbered_chapter_with_a0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_tex_font_size_setting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw46/test_tex_font_size_setting0/output.tex'", "text": "tests/test_latex.py:713: in test_tex_font_size_setting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw46/test_tex_font_size_setting0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_inline_elements_in_lists": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw7/test_inline_elements_in_lists0/output.tex'", "text": "tests/test_latex.py:966: in test_inline_elements_in_lists\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw7/test_inline_elements_in_lists0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_index_contains_toc_with_all_chapters": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw89/test_html_dir_index_contains_t0/output/index.html'", "text": "tests/test_html_dir.py:114: in test_html_dir_index_contains_toc_with_all_chapters\n index_html = (result.workspace / \"output\" / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw89/test_html_dir_index_contains_t0/output/index.html'"}, "9cd5a99e237f/tests.test_errors.test_empty_book_file": {"message": "assert '' == 'CROWBOOK 0.1...argument?\\n\\n'\n \n - CROWBOOK 0.17.0\n - ERROR empty.book: Error parsing configuration file: \"could not parse %{file} as a book file.\"\n - Maybe you meant to run crowbook with the --single argument?\n -", "text": "tests/test_errors.py:318: in test_empty_book_file\n assert result.stderr == golden\nE assert '' == 'CROWBOOK 0.1...argument?\\n\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR empty.book: Error parsing configuration file: \"could not parse %{file} as a book file.\"\nE - Maybe you meant to run crowbook with the --single argument?\nE -"}, "9cd5a99e237f/tests.test_latex.test_tex_paper_size_setting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw24/test_tex_paper_size_setting0/output.tex'", "text": "tests/test_latex.py:688: in test_tex_paper_size_setting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw24/test_tex_paper_size_setting0/output.tex'"}, "9cd5a99e237f/tests.test_epub.test_ncx_navigation": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_ncx_navigation0/test.epub'", "text": "tests/test_epub.py:279: in test_ncx_navigation\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_ncx_navigation0/test.epub'"}, "9cd5a99e237f/tests.test_latex.test_nested_lists": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw48/test_nested_lists0/output.tex'", "text": "tests/test_latex.py:873: in test_nested_lists\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw48/test_nested_lists0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_code_block_without_language": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw25/test_code_block_without_langua0/output.tex'", "text": "tests/test_latex.py:996: in test_code_block_without_language\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw25/test_code_block_without_langua0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_image_references_copied_and_linked": {"message": "assert 0 >= 2\n + where 0 = len([])", "text": "tests/test_html_dir.py:668: in test_html_dir_image_references_copied_and_linked\n assert len(image_files) >= 2 # icon and diagram\nE assert 0 >= 2\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_latex.test_ordered_list_starting_number": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw11/test_ordered_list_starting_num0/output.tex'", "text": "tests/test_latex.py:905: in test_ordered_list_starting_number\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw11/test_ordered_list_starting_num0/output.tex'"}, "9cd5a99e237f/tests.test_epub.test_guide_section_in_opf": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw58/test_guide_section_in_opf0/test.epub'", "text": "tests/test_epub.py:933: in test_guide_section_in_opf\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw58/test_guide_section_in_opf0/test.epub'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_css_contains_actual_styles": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw91/test_html_dir_css_contains_act0/output/stylesheet.css'", "text": "tests/test_html_dir.py:268: in test_html_dir_css_contains_actual_styles\n stylesheet = (result.workspace / \"output\" / \"stylesheet.css\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw91/test_html_dir_css_contains_act0/output/stylesheet.css'"}, "9cd5a99e237f/tests.test_latex.test_footnotes_rendered": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw19/test_footnotes_rendered0/output.tex'", "text": "tests/test_latex.py:663: in test_footnotes_rendered\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw19/test_footnotes_rendered0/output.tex'"}, "9cd5a99e237f/tests.test_epub.test_language_code_propagation": {"message": "AssertionError: Traceback (most recent call last):\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\n this = chr(ESCAPES[this][1])\n KeyError: '\\\\u'\n \n During handling of the above exception, another exception occurred:\n \n Traceback (most recent call last):\n File \"/workspace/executable\", line 72, in \n if __name__ == \"__main__\": main()\n File \"/workspace/executable\", line 71, in main\n else: cb.run()\n File \"/workspace/executable\", line 44, in run\n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 44, in \n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 33, in render\n lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\n File \"/workspace/executable\", line 21, in clean\n if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\n return _compile(pattern, flags).sub(repl, string, count)\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\n template = _compile_repl(template, pattern)\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\n return sre_parse.parse_template(repl, pattern)\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\n raise s.error('bad escape %s' % this, len(this))\n re.error: bad escape \\u at position 1\n \nassert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode", "text": "tests/test_epub.py:1372: in test_language_code_propagation\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode"}, "9cd5a99e237f/tests.test_latex.test_tex_hyperref_disabled": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw44/test_tex_hyperref_disabled0/output.tex'", "text": "tests/test_latex.py:803: in test_tex_hyperref_disabled\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw44/test_tex_hyperref_disabled0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_codeblock_rendering": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw100/test_html_dir_codeblock_render0/output/chapter_000.html'", "text": "tests/test_html_dir.py:1042: in test_html_dir_codeblock_rendering\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw100/test_html_dir_codeblock_render0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_latex.test_tex_links_as_footnotes_disabled": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw38/test_tex_links_as_footnotes_di0/output.tex'", "text": "tests/test_latex.py:769: in test_tex_links_as_footnotes_disabled\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw38/test_tex_links_as_footnotes_di0/output.tex'"}, "9cd5a99e237f/tests.test_epub.test_css_stylesheet_included": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw52/test_css_stylesheet_included0/test.epub'", "text": "tests/test_epub.py:398: in test_css_stylesheet_included\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw52/test_css_stylesheet_included0/test.epub'"}, "9cd5a99e237f/tests.test_latex.test_mixed_list_types": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw40/test_mixed_list_types0/output.tex'", "text": "tests/test_latex.py:936: in test_mixed_list_types\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw40/test_mixed_list_types0/output.tex'"}, "9cd5a99e237f/tests.test_epub.test_spine_references_manifest_items": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw59/test_spine_references_manifest0/test.epub'", "text": "tests/test_epub.py:1030: in test_spine_references_manifest_items\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw59/test_spine_references_manifest0/test.epub'"}, "9cd5a99e237f/tests.test_latex.test_link_to_href_with_url": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw75/test_link_to_href_with_url0/output.tex'", "text": "tests/test_latex.py:312: in test_link_to_href_with_url\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw75/test_link_to_href_with_url0/output.tex'"}, "9cd5a99e237f/tests.test_epub.test_footnote_handling_epub3": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw55/test_footnote_handling_epub30/test.epub'", "text": "tests/test_epub.py:718: in test_footnote_handling_epub3\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw55/test_footnote_handling_epub30/test.epub'"}, "9cd5a99e237f/tests.test_html_single.test_viewport_meta_tag": {"message": "AssertionError: Should have viewport meta tag for responsive design\nassert None is not None", "text": "tests/test_html_single.py:724: in test_viewport_meta_tag\n assert viewport_meta is not None, \"Should have viewport meta tag for responsive design\"\nE AssertionError: Should have viewport meta tag for responsive design\nE assert None is not None"}, "9cd5a99e237f/tests.test_html_single.test_markdown_unordered_list": {"message": "AssertionError: Expected at least 1
        tag, got 0\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_html_single.py:221: in test_markdown_unordered_list\n assert len(uls) >= 1, f\"Expected at least 1
          tag, got {len(uls)}\"\nE AssertionError: Expected at least 1
            tag, got 0\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_latex.test_maketitle_command_included": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw21/test_maketitle_command_include0/output.tex'", "text": "tests/test_latex.py:520: in test_maketitle_command_included\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw21/test_maketitle_command_include0/output.tex'"}, "9cd5a99e237f/tests.test_html_single.test_markdown_bold_italic_rendering": {"message": "AssertionError: Should have bold formatting tags\nassert (0 + 0) > 0\n + where 0 = len([])\n + and 0 = len([])", "text": "tests/test_html_single.py:163: in test_markdown_bold_italic_rendering\n assert len(strong_tags) + len(b_tags) > 0, \"Should have bold formatting tags\"\nE AssertionError: Should have bold formatting tags\nE assert (0 + 0) > 0\nE + where 0 = len([])\nE + and 0 = len([])"}, "9cd5a99e237f/tests.test_latex.test_table_with_formatting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw37/test_table_with_formatting0/output.tex'", "text": "tests/test_latex.py:1084: in test_table_with_formatting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw37/test_table_with_formatting0/output.tex'"}, "9cd5a99e237f/tests.test_html_single.test_css_embedded_in_style_tag": {"message": "AssertionError: CSS should contain body rules\nassert 'body' in ''", "text": "tests/test_html_single.py:406: in test_css_embedded_in_style_tag\n assert \"body\" in css_content, \"CSS should contain body rules\"\nE AssertionError: CSS should contain body rules\nE assert 'body' in ''"}, "9cd5a99e237f/tests.test_html_single.test_code_block_without_language": {"message": "AssertionError: Should have pre tag for code block\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_html_single.py:982: in test_code_block_without_language\n assert len(pre_tags) >= 1, \"Should have pre tag for code block\"\nE AssertionError: Should have pre tag for code block\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_latex.test_hidden_chapter": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw36/test_hidden_chapter0/output.tex'", "text": "tests/test_latex.py:1120: in test_hidden_chapter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw36/test_hidden_chapter0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_print_css_always_included": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw114/test_html_dir_print_css_always0/output/print.css').exists", "text": "tests/test_html_dir.py:2206: in test_html_dir_print_css_always_included\n assert print_css.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw114/test_html_dir_print_css_always0/output/print.css').exists"}, "9cd5a99e237f/tests.test_html_single.test_generator_meta_tag": {"message": "AssertionError: Should have generator meta tag\nassert None is not None", "text": "tests/test_html_single.py:745: in test_generator_meta_tag\n assert generator_meta is not None, \"Should have generator meta tag\"\nE AssertionError: Should have generator meta tag\nE assert None is not None"}, "9cd5a99e237f/tests.test_epub.test_images_in_content": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw53/test_images_in_content0/test.epub'", "text": "tests/test_epub.py:509: in test_images_in_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw53/test_images_in_content0/test.epub'"}, "9cd5a99e237f/tests.test_epub.test_inline_toc_option": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw54/test_inline_toc_option0/test.epub'", "text": "tests/test_epub.py:625: in test_inline_toc_option\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw54/test_inline_toc_option0/test.epub'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_javascript_toggle_function_present": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw98/test_html_dir_javascript_toggl0/output/chapter_000.html'", "text": "tests/test_html_dir.py:886: in test_html_dir_javascript_toggle_function_present\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw98/test_html_dir_javascript_toggl0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_html_single.test_empty_markdown_produces_valid_html": {"message": "AssertionError: assert '' == 'Empty Book'\n \n - Empty Book", "text": "tests/test_html_single.py:780: in test_empty_markdown_produces_valid_html\n assert soup.find(\"title\").get_text(strip=True) == \"Empty Book\"\nE AssertionError: assert '' == 'Empty Book'\nE \nE - Empty Book"}, "9cd5a99e237f/tests.test_epub.test_unique_identifier_uuid": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw61/test_unique_identifier_uuid0/test.epub'", "text": "tests/test_epub.py:1196: in test_unique_identifier_uuid\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw61/test_unique_identifier_uuid0/test.epub'"}, "9cd5a99e237f/tests.test_epub.test_paragraph_ids_in_content": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw60/test_paragraph_ids_in_content0/test.epub'", "text": "tests/test_epub.py:1134: in test_paragraph_ids_in_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw60/test_paragraph_ids_in_content0/test.epub'"}, "9cd5a99e237f/tests.test_latex.test_rendering_initials_first_letter": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw72/test_rendering_initials_first_0/output.tex'", "text": "tests/test_latex.py:1410: in test_rendering_initials_first_letter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw72/test_rendering_initials_first_0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_code_blocks_wrapped_in_environment": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw4/test_code_blocks_wrapped_in_en0/output.tex'", "text": "tests/test_latex.py:172: in test_code_blocks_wrapped_in_environment\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw4/test_code_blocks_wrapped_in_en0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_metadata_in_index_page": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw93/test_html_dir_metadata_in_inde0/output/index.html'", "text": "tests/test_html_dir.py:464: in test_html_dir_metadata_in_index_page\n index_html = (result.workspace / \"output\" / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw93/test_html_dir_metadata_in_inde0/output/index.html'"}, "9cd5a99e237f/tests.test_html_single.test_markdown_code_block_fenced": {"message": "assert 0 >= 1\n + where 0 = len([])", "text": "tests/test_html_single.py:332: in test_markdown_code_block_fenced\n assert len(pre_tags) >= 1\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_latex.test_multiline_blockquote": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw33/test_multiline_blockquote0/output.tex'", "text": "tests/test_latex.py:1026: in test_multiline_blockquote\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw33/test_multiline_blockquote0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_hardbreak_to_linebreak": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw18/test_hardbreak_to_linebreak0/output.tex'", "text": "tests/test_latex.py:549: in test_hardbreak_to_linebreak\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw18/test_hardbreak_to_linebreak0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_part_with_chapters": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw20/test_part_with_chapters0/output.tex'", "text": "tests/test_latex.py:1159: in test_part_with_chapters\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw20/test_part_with_chapters0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_prev_next_chapter_links": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw90/test_html_dir_prev_next_chapte0/output/chapter_000.html'", "text": "tests/test_html_dir.py:196: in test_html_dir_prev_next_chapter_links\n ch0_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw90/test_html_dir_prev_next_chapte0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_latex.test_image_local_vs_remote_handling": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw47/test_image_local_vs_remote_han0/output.tex'", "text": "tests/test_latex.py:1339: in test_image_local_vs_remote_handling\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw47/test_image_local_vs_remote_han0/output.tex'"}, "9cd5a99e237f/tests.test_epub.test_stylesheet_referenced_in_all_xhtml": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw62/test_stylesheet_referenced_in_0/test.epub'", "text": "tests/test_epub.py:1299: in test_stylesheet_referenced_in_all_xhtml\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw62/test_stylesheet_referenced_in_0/test.epub'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_special_characters_in_titles": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw96/test_html_dir_special_characte0/output/chapter_000.html'", "text": "tests/test_html_dir.py:752: in test_html_dir_special_characters_in_titles\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw96/test_html_dir_special_characte0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_latex.test_inline_code_with_break_opportunities": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw41/test_inline_code_with_break_op0/output.tex'", "text": "tests/test_latex.py:1376: in test_inline_code_with_break_opportunities\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw41/test_inline_code_with_break_op0/output.tex'"}, "9cd5a99e237f/tests.test_html_single.test_markdown_blockquote": {"message": "assert 0 >= 1\n + where 0 = len([])", "text": "tests/test_html_single.py:288: in test_markdown_blockquote\n assert len(blockquotes) >= 1\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_latex.test_description_list_rendering": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw35/test_description_list_renderin0/output.tex'", "text": "tests/test_latex.py:1297: in test_description_list_rendering\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw35/test_description_list_renderin0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_inline_code_to_texttt": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw5/test_inline_code_to_texttt0/output.tex'", "text": "tests/test_latex.py:144: in test_inline_code_to_texttt\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw5/test_inline_code_to_texttt0/output.tex'"}, "9cd5a99e237f/tests.test_html_single.test_table_of_contents_generated": {"message": "AssertionError: Should have navigation/TOC element\nassert None is not None", "text": "tests/test_html_single.py:606: in test_table_of_contents_generated\n assert nav is not None, \"Should have navigation/TOC element\"\nE AssertionError: Should have navigation/TOC element\nE assert None is not None"}, "9cd5a99e237f/tests.test_epub.test_emphasis_and_strong": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw65/test_emphasis_and_strong0/test.epub'", "text": "tests/test_epub.py:1539: in test_emphasis_and_strong\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw65/test_emphasis_and_strong0/test.epub'"}, "9cd5a99e237f/tests.test_latex.test_special_character_escaping_in_text": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw39/test_special_character_escapin0/output.tex'", "text": "tests/test_latex.py:1187: in test_special_character_escaping_in_text\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw39/test_special_character_escapin0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_error_when_output_is_file_not_directory": {"message": "AssertionError: assert 'already exists and is not a directory' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_html_dir.py:947: in test_html_dir_error_when_output_is_file_not_directory\n assert \"already exists and is not a directory\" in result.stderr\nE AssertionError: assert 'already exists and is not a directory' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_latex.test_inline_toc_option": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw13/test_inline_toc_option0/output.tex'", "text": "tests/test_latex.py:1588: in test_inline_toc_option\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw13/test_inline_toc_option0/output.tex'"}, "9cd5a99e237f/tests.test_html_single.test_special_html_characters_escaped": {"message": "AssertionError: Should preserve angle bracket text content\nassert '' in \"\\n--- title: HTML Characters author: Test lang: en ---\\nChapter 1HTML Special CharactersText with and & ampersands.\\nA \u201cquote\u201d and 'apostrophe'.\\nCode: \\n\"", "text": "tests/test_html_single.py:1061: in test_special_html_characters_escaped\n assert \"\" in text, \"Should preserve angle bracket text content\"\nE AssertionError: Should preserve angle bracket text content\nE assert '' in \"\\n--- title: HTML Characters author: Test lang: en ---\\nChapter 1HTML Special CharactersText with and & ampersands.\\nA \u201cquote\u201d and 'apostrophe'.\\nCode: \\n\""}, "9cd5a99e237f/tests.test_latex.test_table_to_tabularx_environment": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw80/test_table_to_tabularx_environ0/output.tex'", "text": "tests/test_latex.py:342: in test_table_to_tabularx_environment\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw80/test_table_to_tabularx_environ0/output.tex'"}, "9cd5a99e237f/tests.test_epub.test_missing_cover_error": {"message": "AssertionError: Should print ERROR for missing cover\nassert 'ERROR' in 'CROWBOOK 0.17.0\\n'", "text": "tests/test_epub.py:792: in test_missing_cover_error\n assert 'ERROR' in error_output, \"Should print ERROR for missing cover\"\nE AssertionError: Should print ERROR for missing cover\nE assert 'ERROR' in 'CROWBOOK 0.17.0\\n'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_navigation_without_chapter_numbers": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw108/test_html_dir_navigation_witho0/output/chapter_000.html'", "text": "tests/test_html_dir.py:1727: in test_html_dir_navigation_without_chapter_numbers\n first_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw108/test_html_dir_navigation_witho0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_latex.test_numbered_chapter_setcounter": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw17/test_numbered_chapter_setcount0/output.tex'", "text": "tests/test_latex.py:598: in test_numbered_chapter_setcounter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw17/test_numbered_chapter_setcount0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_article_class_uses_section_not_chapter": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw12/test_article_class_uses_sectio0/output.tex'", "text": "tests/test_latex.py:85: in test_article_class_uses_section_not_chapter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw12/test_article_class_uses_sectio0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_blockquote_to_mdblockquote_environment": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw3/test_blockquote_to_mdblockquot0/output.tex'", "text": "tests/test_latex.py:259: in test_blockquote_to_mdblockquote_environment\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw3/test_blockquote_to_mdblockquot0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_horizontal_rule_to_mdrule": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw79/test_horizontal_rule_to_mdrule0/output.tex'", "text": "tests/test_latex.py:288: in test_horizontal_rule_to_mdrule\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw79/test_horizontal_rule_to_mdrule0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_index_page_no_next_link_for_single_chapter": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw111/test_html_dir_index_page_no_ne0/output/index.html'", "text": "tests/test_html_dir.py:1974: in test_html_dir_index_page_no_next_link_for_single_chapter\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw111/test_html_dir_index_page_no_ne0/output/index.html'"}, "9cd5a99e237f/tests.test_latex.test_url_link_same_as_text": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw81/test_url_link_same_as_text0/output.tex'", "text": "tests/test_latex.py:1781: in test_url_link_same_as_text\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw81/test_url_link_same_as_text0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_empty_emphasis": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw15/test_empty_emphasis0/output.tex'", "text": "tests/test_latex.py:1055: in test_empty_emphasis\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw15/test_empty_emphasis0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_nested_enumerate_counter_levels": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw76/test_nested_enumerate_counter_0/output.tex'", "text": "tests/test_latex.py:1812: in test_nested_enumerate_counter_levels\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw76/test_nested_enumerate_counter_0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_link_rendering": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw101/test_html_dir_link_rendering0/output/chapter_000.html'", "text": "tests/test_html_dir.py:1119: in test_html_dir_link_rendering\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw101/test_html_dir_link_rendering0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_latex.test_tex_font_size_option": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw27/test_tex_font_size_option0/output.tex'", "text": "tests/test_latex.py:1441: in test_tex_font_size_option\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw27/test_tex_font_size_option0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_tex_margins_customization": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw30/test_tex_margins_customization0/output.tex'", "text": "tests/test_latex.py:740: in test_tex_margins_customization\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw30/test_tex_margins_customization0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_chapter_title_in_page_title_tag": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw102/test_html_dir_chapter_title_in0/output/chapter_000.html'", "text": "tests/test_html_dir.py:1190: in test_html_dir_chapter_title_in_page_title_tag\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw102/test_html_dir_chapter_title_in0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_nested_resource_files_preserve_structure": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw113/test_html_dir_nested_resource_0/output/assets/lib/vendor/jquery.js').exists", "text": "tests/test_html_dir.py:2133: in test_html_dir_nested_resource_files_preserve_structure\n assert jquery_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw113/test_html_dir_nested_resource_0/output/assets/lib/vendor/jquery.js').exists"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_chapter_without_header_gets_empty_title": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw110/test_html_dir_chapter_without_0/output') / 'chapter_000.html').exists", "text": "tests/test_html_dir.py:1894: in test_html_dir_chapter_without_header_gets_empty_title\n assert (output_dir / \"chapter_000.html\").exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = (PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw110/test_html_dir_chapter_without_0/output') / 'chapter_000.html').exists"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_is_chapter_flag_in_template_data": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw115/test_html_dir_is_chapter_flag_0/output/index.html'", "text": "tests/test_html_dir.py:2285: in test_html_dir_is_chapter_flag_in_template_data\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw115/test_html_dir_is_chapter_flag_0/output/index.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_anchor_ids_on_headings": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw92/test_html_dir_anchor_ids_on_he0/output/chapter_000.html'", "text": "tests/test_html_dir.py:376: in test_html_dir_anchor_ids_on_headings\n chapter_html = (result.workspace / \"output\" / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw92/test_html_dir_anchor_ids_on_he0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_latex.test_strikethrough_to_sout_command": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw2/test_strikethrough_to_sout_com0/output.tex'", "text": "tests/test_latex.py:1693: in test_strikethrough_to_sout_command\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw2/test_strikethrough_to_sout_com0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_hard_break_to_mdhardbreak": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw66/test_hard_break_to_mdhardbreak0/output.tex'", "text": "tests/test_latex.py:1719: in test_hard_break_to_mdhardbreak\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw66/test_hard_break_to_mdhardbreak0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_initials_with_non_alphanumeric_first_character": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw87/test_initials_with_non_alphanu0/output.tex'", "text": "tests/test_latex.py:1869: in test_initials_with_non_alphanumeric_first_character\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw87/test_initials_with_non_alphanu0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_resource_files_copied_to_out_path": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw105/test_html_dir_resource_files_c0/output/assets').exists", "text": "tests/test_html_dir.py:1458: in test_html_dir_resource_files_copied_to_out_path\n assert assets_dir.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw105/test_html_dir_resource_files_c0/output/assets').exists"}, "9cd5a99e237f/tests.test_epub.test_code_blocks_in_content": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw64/test_code_blocks_in_content0/test.epub'", "text": "tests/test_epub.py:1453: in test_code_blocks_in_content\n with zipfile.ZipFile(epub_path, 'r') as z:\n/usr/lib/python3.10/zipfile.py:1270: in __init__\n self.fp = io.open(file, filemode)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw64/test_code_blocks_in_content0/test.epub'"}, "9cd5a99e237f/tests.test_latex.test_tex_paper_size_option": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw10/test_tex_paper_size_option0/output.tex'", "text": "tests/test_latex.py:1499: in test_tex_paper_size_option\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw10/test_tex_paper_size_option0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_deletes_existing_directory": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw103/test_html_dir_deletes_existing0/output/old_stale_file.txt'", "text": "tests/test_html_dir.py:1256: in test_html_dir_deletes_existing_directory\n old_file.write_text(\"stale content\")\n/usr/lib/python3.10/pathlib.py:1154: in write_text\n with self.open(mode='w', encoding=encoding, errors=errors, newline=newline) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw103/test_html_dir_deletes_existing0/output/old_stale_file.txt'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_single_chapter_no_prev_next_links": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw106/test_html_dir_single_chapter_n0/output/chapter_000.html'", "text": "tests/test_html_dir.py:1548: in test_html_dir_single_chapter_no_prev_next_links\n chapter_html = (output_dir / \"chapter_000.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw106/test_html_dir_single_chapter_n0/output/chapter_000.html'"}, "9cd5a99e237f/tests.test_latex.test_markdown_emphasis_to_latex_commands": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw29/test_markdown_emphasis_to_late0/output.tex'", "text": "tests/test_latex.py:117: in test_markdown_emphasis_to_latex_commands\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw29/test_markdown_emphasis_to_late0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_tex_stdpage_package_inclusion": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw68/test_tex_stdpage_package_inclu0/output.tex'", "text": "tests/test_latex.py:1642: in test_tex_stdpage_package_inclusion\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw68/test_tex_stdpage_package_inclu0/output.tex'"}, "9cd5a99e237f/tests.test_epub.test_metadata_in_opf": {"message": "AssertionError: Traceback (most recent call last):\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\n this = chr(ESCAPES[this][1])\n KeyError: '\\\\u'\n \n During handling of the above exception, another exception occurred:\n \n Traceback (most recent call last):\n File \"/workspace/executable\", line 72, in \n if __name__ == \"__main__\": main()\n File \"/workspace/executable\", line 71, in main\n else: cb.run()\n File \"/workspace/executable\", line 44, in run\n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 44, in \n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 33, in render\n lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\n File \"/workspace/executable\", line 21, in clean\n if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\n return _compile(pattern, flags).sub(repl, string, count)\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\n template = _compile_repl(template, pattern)\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\n return sre_parse.parse_template(repl, pattern)\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\n raise s.error('bad escape %s' % this, len(this))\n re.error: bad escape \\u at position 1\n \nassert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode", "text": "tests/test_epub.py:152: in test_metadata_in_opf\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode"}, "9cd5a99e237f/tests.test_latex.test_ordered_list_deep_nesting_handling": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw67/test_ordered_list_deep_nesting0/output.tex'", "text": "tests/test_latex.py:1843: in test_ordered_list_deep_nesting_handling\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw67/test_ordered_list_deep_nesting0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_tex_template_add_custom_code": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw82/test_tex_template_add_custom_c0/output.tex'", "text": "tests/test_latex.py:1668: in test_tex_template_add_custom_code\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw82/test_tex_template_add_custom_c0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_chapter_number_specification_with_setcounter": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw83/test_chapter_number_specificat0/output.tex'", "text": "tests/test_latex.py:1944: in test_chapter_number_specification_with_setcounter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw83/test_chapter_number_specificat0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_custom_pageref_template_for_internal_links": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw71/test_custom_pageref_template_f0/output.tex'", "text": "tests/test_latex.py:1906: in test_custom_pageref_template_for_internal_links\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw71/test_custom_pageref_template_f0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_last_chapter_has_only_prev_link": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw107/test_html_dir_last_chapter_has0/output/chapter_002.html'", "text": "tests/test_html_dir.py:1634: in test_html_dir_last_chapter_has_only_prev_link\n last_html = (output_dir / \"chapter_002.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw107/test_html_dir_last_chapter_has0/output/chapter_002.html'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_no_inline_toc_when_disabled": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw109/test_html_dir_no_inline_toc_wh0/output/index.html'", "text": "tests/test_html_dir.py:1816: in test_html_dir_no_inline_toc_when_disabled\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw109/test_html_dir_no_inline_toc_wh0/output/index.html'"}, "9cd5a99e237f/tests.test_latex.test_internal_cross_reference_with_hyperref": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw22/test_internal_cross_reference_0/output.tex'", "text": "tests/test_latex.py:1751: in test_internal_cross_reference_with_hyperref\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw22/test_internal_cross_reference_0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_footnote_reference_and_definition": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw43/test_footnote_reference_and_de0/output.tex'", "text": "tests/test_latex.py:1227: in test_footnote_reference_and_definition\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw43/test_footnote_reference_and_de0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_author_title_subtitle_on_index": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw112/test_html_dir_author_title_sub0/output/index.html'", "text": "tests/test_html_dir.py:2049: in test_html_dir_author_title_subtitle_on_index\n index_html = (output_dir / \"index.html\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw112/test_html_dir_author_title_sub0/output/index.html'"}, "9cd5a99e237f/tests.test_latex.test_ordered_list_to_enumerate": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw31/test_ordered_list_to_enumerate0/output.tex'", "text": "tests/test_latex.py:232: in test_ordered_list_to_enumerate\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw31/test_ordered_list_to_enumerate0/output.tex'"}, "9cd5a99e237f/tests.test_html_single.test_syntax_highlighting_python_code": {"message": "AssertionError: Should have code blocks\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_html_single.py:800: in test_syntax_highlighting_python_code\n assert len(pre_tags) >= 1, \"Should have code blocks\"\nE AssertionError: Should have code blocks\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_latex.test_multiple_chapters_with_labels": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw57/test_multiple_chapters_with_la0/output.tex'", "text": "tests/test_latex.py:837: in test_multiple_chapters_with_labels\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw57/test_multiple_chapters_with_la0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_xelatex_command_packages": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw126/test_xelatex_command_packages0/output.tex'", "text": "tests/test_latex.py:1557: in test_xelatex_command_packages\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw126/test_xelatex_command_packages0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_task_items_with_checkboxes": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw14/test_task_items_with_checkboxe0/output.tex'", "text": "tests/test_latex.py:1259: in test_task_items_with_checkboxes\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw14/test_task_items_with_checkboxe0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_cover_image_inclusion": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw88/test_cover_image_inclusion0/output.tex'", "text": "tests/test_latex.py:1528: in test_cover_image_inclusion\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw88/test_cover_image_inclusion0/output.tex'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_print_css_separate_file": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw97/test_html_dir_print_css_separa0/output/print.css'", "text": "tests/test_html_dir.py:819: in test_html_dir_print_css_separate_file\n print_css = (result.workspace / \"output\" / \"print.css\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw97/test_html_dir_print_css_separa0/output/print.css'"}, "9cd5a99e237f/tests.test_html_dir.test_html_dir_valid_html5_structure": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw94/test_html_dir_valid_html5_stru0/output/index.html'", "text": "tests/test_html_dir.py:540: in test_html_dir_valid_html5_structure\n html_content = (result.workspace / \"output\" / html_file).read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw94/test_html_dir_valid_html5_stru0/output/index.html'"}, "9cd5a99e237f/tests.test_latex.test_tex_margin_customization": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw116/test_tex_margin_customization0/output.tex'", "text": "tests/test_latex.py:1470: in test_tex_margin_customization\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw116/test_tex_margin_customization0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_unnumbered_chapter_adds_to_toc": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw78/test_unnumbered_chapter_adds_t0/output.tex'", "text": "tests/test_latex.py:1976: in test_unnumbered_chapter_adds_to_toc\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw78/test_unnumbered_chapter_adds_t0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_language_unknown_fallback_to_english": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw74/test_language_unknown_fallback0/output.tex'", "text": "tests/test_latex.py:2163: in test_language_unknown_fallback_to_english\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw74/test_language_unknown_fallback0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_book_class_asymmetric_margins": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw77/test_book_class_asymmetric_mar0/output.tex'", "text": "tests/test_latex.py:2137: in test_book_class_asymmetric_margins\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw77/test_book_class_asymmetric_mar0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_article_class_symmetric_margins": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw84/test_article_class_symmetric_m0/output.tex'", "text": "tests/test_latex.py:2110: in test_article_class_symmetric_margins\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw84/test_article_class_symmetric_m0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_multiple_languages_babel_selection": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw73/test_multiple_languages_babel_0/output.tex'", "text": "tests/test_latex.py:2283: in test_multiple_languages_babel_selection\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw73/test_multiple_languages_babel_0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_custom_chapter_and_part_names": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw23/test_custom_chapter_and_part_n0/output.tex'", "text": "tests/test_latex.py:1615: in test_custom_chapter_and_part_names\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw23/test_custom_chapter_and_part_n0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_tectonic_command_uses_xelatex_packages": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw70/test_tectonic_command_uses_xel0/output.tex'", "text": "tests/test_latex.py:2189: in test_tectonic_command_uses_xelatex_packages\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw70/test_tectonic_command_uses_xel0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_part_marker_renders_empty_chapter": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw86/test_part_marker_renders_empty0/output.tex'", "text": "tests/test_latex.py:2047: in test_part_marker_renders_empty_chapter\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw86/test_part_marker_renders_empty0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_empty_paragraphs_handling": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw69/test_empty_paragraphs_handling0/output.tex'", "text": "tests/test_latex.py:2379: in test_empty_paragraphs_handling\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw69/test_empty_paragraphs_handling0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_description_list_multiline_terms": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw85/test_description_list_multilin0/output.tex'", "text": "tests/test_latex.py:2344: in test_description_list_multiline_terms\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw85/test_description_list_multilin0/output.tex'"}, "9cd5a99e237f/tests.test_markdown.test_autolink_email": {"message": "AssertionError: Email autolink not found\nassert None is not None", "text": "tests/test_markdown.py:976: in test_autolink_email\n assert email_link is not None, \"Email autolink not found\"\nE AssertionError: Email autolink not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_escaping_special_characters": {"message": "assert None is not None", "text": "tests/test_markdown.py:598: in test_escaping_special_characters\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_table_with_empty_cells": {"message": "AssertionError: Table not found\nassert None is not None", "text": "tests/test_markdown.py:1285: in test_table_with_empty_cells\n assert table is not None, \"Table not found\"\nE AssertionError: Table not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_latex.test_soft_break_to_space": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw6/test_soft_break_to_space0/output.tex'", "text": "tests/test_latex.py:2245: in test_soft_break_to_space\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw6/test_soft_break_to_space0/output.tex'"}, "9cd5a99e237f/tests.test_markdown.test_code_block_preserves_whitespace": {"message": "AssertionError: Code block not found\nassert None is not None", "text": "tests/test_markdown.py:779: in test_code_block_preserves_whitespace\n assert pre is not None, \"Code block not found\"\nE AssertionError: Code block not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_code_blocks_and_inline": {"message": "assert 0 >= 1\n + where 0 = len([])", "text": "tests/test_markdown.py:117: in test_code_blocks_and_inline\n assert len(code_tags) >= 1\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_blockquote_simple": {"message": "AssertionError: Expected at least 3 blockquotes, found 0\nassert 0 >= 3\n + where 0 = len([])", "text": "tests/test_markdown.py:267: in test_blockquote_simple\n assert len(blockquotes) >= 3, f\"Expected at least 3 blockquotes, found {len(blockquotes)}\"\nE AssertionError: Expected at least 3 blockquotes, found 0\nE assert 0 >= 3\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_deep_nesting": {"message": "AssertionError: Expected at least 3 nested list levels, found 0\nassert 0 >= 3\n + where 0 = len([])", "text": "tests/test_markdown.py:730: in test_deep_nesting\n assert len(ul_tags) >= 3, f\"Expected at least 3 nested list levels, found {len(ul_tags)}\"\nE AssertionError: Expected at least 3 nested list levels, found 0\nE assert 0 >= 3\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_images_inline": {"message": "AssertionError: Expected at least 3 images, found 0\nassert 0 >= 3\n + where 0 = len([])", "text": "tests/test_markdown.py:421: in test_images_inline\n assert len(images) >= 3, f\"Expected at least 3 images, found {len(images)}\"\nE AssertionError: Expected at least 3 images, found 0\nE assert 0 >= 3\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_multiple_paragraphs_in_list_item": {"message": "assert None is not None", "text": "tests/test_markdown.py:1115: in test_multiple_paragraphs_in_list_item\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_malformed_markdown_missing_closing": {"message": "AssertionError: assert None is not None\n + where None = find('html')\n + where find = CROWBOOK 0.17.0\\n.find", "text": "tests/test_markdown.py:758: in test_malformed_markdown_missing_closing\n assert soup.find(\"html\") is not None\nE AssertionError: assert None is not None\nE + where None = find('html')\nE + where find = CROWBOOK 0.17.0\\n.find"}, "9cd5a99e237f/tests.test_markdown.test_emphasis_variations": {"message": "assert None is not None", "text": "tests/test_markdown.py:56: in test_emphasis_variations\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_latex.test_code_block_without_syntax_highlighting": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw0/test_code_block_without_syntax0/output.tex'", "text": "tests/test_latex.py:2503: in test_code_block_without_syntax_highlighting\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw0/test_code_block_without_syntax0/output.tex'"}, "9cd5a99e237f/tests.test_markdown.test_links_inline": {"message": "AssertionError: Expected at least 3 links, found 0\nassert 0 >= 3\n + where 0 = len([])", "text": "tests/test_markdown.py:340: in test_links_inline\n assert len(links) >= 3, f\"Expected at least 3 links, found {len(links)}\"\nE AssertionError: Expected at least 3 links, found 0\nE assert 0 >= 3\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_setext_headings": {"message": "assert None is not None", "text": "tests/test_markdown.py:834: in test_setext_headings\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_latex.test_tex_title_option_controls_titlepage": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw89/test_tex_title_option_controls0/output.tex'", "text": "tests/test_latex.py:2471: in test_tex_title_option_controls_titlepage\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw89/test_tex_title_option_controls0/output.tex'"}, "9cd5a99e237f/tests.test_markdown.test_task_lists": {"message": "AssertionError: Expected 3 checkboxes, found 0\nassert 0 == 3\n + where 0 = len([])", "text": "tests/test_markdown.py:872: in test_task_lists\n assert len(checkboxes) == 3, f\"Expected 3 checkboxes, found {len(checkboxes)}\"\nE AssertionError: Expected 3 checkboxes, found 0\nE assert 0 == 3\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_latex.test_nested_formatting_combinations": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw42/test_nested_formatting_combina0/output.tex'", "text": "tests/test_latex.py:2215: in test_nested_formatting_combinations\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw42/test_nested_formatting_combina0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_hidden_chapter_not_in_toc": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw34/test_hidden_chapter_not_in_toc0/output.tex'", "text": "tests/test_latex.py:2011: in test_hidden_chapter_not_in_toc\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw34/test_hidden_chapter_not_in_toc0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_special_chars_in_code_blocks": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw24/test_special_chars_in_code_blo0/output.tex'", "text": "tests/test_latex.py:2533: in test_special_chars_in_code_blocks\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw24/test_special_chars_in_code_blo0/output.tex'"}, "9cd5a99e237f/tests.test_latex.test_table_cell_alignment_and_structure": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw46/test_table_cell_alignment_and_0/output.tex'", "text": "tests/test_latex.py:2311: in test_table_cell_alignment_and_structure\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw46/test_table_cell_alignment_and_0/output.tex'"}, "9cd5a99e237f/tests.test_markdown.test_unordered_lists": {"message": "assert None is not None", "text": "tests/test_markdown.py:173: in test_unordered_lists\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_latex.test_multiple_chapters_from_single_file": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw11/test_multiple_chapters_from_si0/output.tex'", "text": "tests/test_latex.py:2570: in test_multiple_chapters_from_single_file\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw11/test_multiple_chapters_from_si0/output.tex'"}, "9cd5a99e237f/tests.test_markdown.test_blockquote_with_formatting": {"message": "AssertionError: No blockquote with bold and italic formatting found\nassert False", "text": "tests/test_markdown.py:315: in test_blockquote_with_formatting\n assert formatting_found, \"No blockquote with bold and italic formatting found\"\nE AssertionError: No blockquote with bold and italic formatting found\nE assert False"}, "9cd5a99e237f/tests.test_markdown.test_line_breaks_soft_vs_hard": {"message": "assert None is not None", "text": "tests/test_markdown.py:906: in test_line_breaks_soft_vs_hard\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_ordered_lists": {"message": "AssertionError: No ordered lists found\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_markdown.py:215: in test_ordered_lists\n assert len(ol_tags) >= 1, \"No ordered lists found\"\nE AssertionError: No ordered lists found\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_atx_headings": {"message": "assert None is not None", "text": "tests/test_markdown.py:23: in test_atx_headings\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_latex.test_chapter_with_no_content": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw1/test_chapter_with_no_content0/output.tex'", "text": "tests/test_latex.py:2408: in test_chapter_with_no_content\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw1/test_chapter_with_no_content0/output.tex'"}, "9cd5a99e237f/tests.test_markdown.test_unicode_content": {"message": "assert None is not None", "text": "tests/test_markdown.py:674: in test_unicode_content\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_latex.test_mixed_list_with_nested_content": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw7/test_mixed_list_with_nested_co0/output.tex'", "text": "tests/test_latex.py:2440: in test_mixed_list_with_nested_content\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw7/test_mixed_list_with_nested_co0/output.tex'"}, "9cd5a99e237f/tests.test_markdown.test_complex_nested_structures": {"message": "assert None is not None", "text": "tests/test_markdown.py:1800: in test_complex_nested_structures\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_code_fence_with_backticks_inside": {"message": "AssertionError: Code block not found\nassert None is not None", "text": "tests/test_markdown.py:1203: in test_code_fence_with_backticks_inside\n assert pre is not None, \"Code block not found\"\nE AssertionError: Code block not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_multiple_chapters": {"message": "AssertionError: Should attempt PDF generation\nassert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:72: in test_pdf_with_multiple_chapters\n assert \"Error rendering pdf:\" in result.stderr, \"Should attempt PDF generation\"\nE AssertionError: Should attempt PDF generation\nE assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_markdown.test_links_reference": {"message": "AssertionError: Reference link not found\nassert None is not None", "text": "tests/test_markdown.py:382: in test_links_reference\n assert ref_link is not None, \"Reference link not found\"\nE AssertionError: Reference link not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_lualatex_command": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:229: in test_pdf_with_lualatex_command\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_latex.test_rendering_num_depth_controls_numbering": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw49/test_rendering_num_depth_contr0/output.tex'", "text": "tests/test_latex.py:2079: in test_rendering_num_depth_controls_numbering\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw49/test_rendering_num_depth_contr0/output.tex'"}, "9cd5a99e237f/tests.test_markdown.test_very_long_line": {"message": "assert None is not None", "text": "tests/test_markdown.py:702: in test_very_long_line\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_link_with_parentheses_in_url": {"message": "AssertionError: Expected at least 2 links, found 0\nassert 0 >= 2\n + where 0 = len([])", "text": "tests/test_markdown.py:1176: in test_link_with_parentheses_in_url\n assert len(links) >= 2, f\"Expected at least 2 links, found {len(links)}\"\nE AssertionError: Expected at least 2 links, found 0\nE assert 0 >= 2\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_nested_lists": {"message": "AssertionError: No nested lists found in the output\nassert False", "text": "tests/test_markdown.py:252: in test_nested_lists\n assert nested_found, \"No nested lists found in the output\"\nE AssertionError: No nested lists found in the output\nE assert False"}, "9cd5a99e237f/tests.test_markdown.test_inline_html_handling": {"message": "assert None is not None", "text": "tests/test_markdown.py:931: in test_inline_html_handling\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_images_with_title": {"message": "AssertionError: Image with title attribute not found\nassert None is not None", "text": "tests/test_markdown.py:448: in test_images_with_title\n assert title_img is not None, \"Image with title attribute not found\"\nE AssertionError: Image with title attribute not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_horizontal_rules": {"message": "AssertionError: Expected at least 3 horizontal rules, found 0\nassert 0 >= 3\n + where 0 = len([])", "text": "tests/test_markdown.py:497: in test_horizontal_rules\n assert len(rules) >= 3, f\"Expected at least 3 horizontal rules, found {len(rules)}\"\nE AssertionError: Expected at least 3 horizontal rules, found 0\nE assert 0 >= 3\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_footnote_references_and_definitions": {"message": "AssertionError: Expected 2 footnote references, found 0\nassert 0 == 2\n + where 0 = len([])", "text": "tests/test_markdown.py:1366: in test_footnote_references_and_definitions\n assert len(refs) == 2, f\"Expected 2 footnote references, found {len(refs)}\"\nE AssertionError: Expected 2 footnote references, found 0\nE assert 0 == 2\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_reference_link_case_insensitive": {"message": "AssertionError: Reference link not found\nassert None is not None", "text": "tests/test_markdown.py:1235: in test_reference_link_case_insensitive\n assert ref_link is not None, \"Reference link not found\"\nE AssertionError: Reference link not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_task_lists_with_checked_unchecked": {"message": "AssertionError: Expected 4 checkboxes, found 0\nassert 0 == 4\n + where 0 = len([])", "text": "tests/test_markdown.py:1410: in test_task_lists_with_checked_unchecked\n assert len(checkboxes) == 4, f\"Expected 4 checkboxes, found {len(checkboxes)}\"\nE AssertionError: Expected 4 checkboxes, found 0\nE assert 0 == 4\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_mixed_content_document": {"message": "AssertionError: H1 not found\nassert None is not None\n + where None = find('h1')\n + where find = CROWBOOK 0.17.0\\n.find", "text": "tests/test_markdown.py:641: in test_mixed_content_document\n assert soup.find(\"h1\") is not None, \"H1 not found\"\nE AssertionError: H1 not found\nE assert None is not None\nE + where None = find('h1')\nE + where find = CROWBOOK 0.17.0\\n.find"}, "9cd5a99e237f/tests.test_markdown.test_empty_document": {"message": "AssertionError: Output should contain HTML tag\nassert None is not None\n + where None = find('html')\n + where find = CROWBOOK 0.17.0\\n.find", "text": "tests/test_markdown.py:533: in test_empty_document\n assert soup.find(\"html\") is not None, \"Output should contain HTML tag\"\nE AssertionError: Output should contain HTML tag\nE assert None is not None\nE + where None = find('html')\nE + where find = CROWBOOK 0.17.0\\n.find"}, "9cd5a99e237f/tests.test_pdf.test_pdf_generation_with_custom_temp_dir": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:362: in test_pdf_generation_with_custom_temp_dir\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_latex.test_subsection_and_subsubsection_hierarchy": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_subsection_and_subsubsect0/output.tex'", "text": "tests/test_latex.py:2604: in test_subsection_and_subsubsection_hierarchy\n latex_content = (result.workspace / \"output.tex\").read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-9/popen-gw51/test_subsection_and_subsubsect0/output.tex'"}, "9cd5a99e237f/tests.test_markdown.test_table_basic": {"message": "AssertionError: Expected at least 2 tables, found 0\nassert 0 >= 2\n + where 0 = len([])", "text": "tests/test_markdown.py:464: in test_table_basic\n assert len(tables) >= 2, f\"Expected at least 2 tables, found {len(tables)}\"\nE AssertionError: Expected at least 2 tables, found 0\nE assert 0 >= 2\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_blockquote_nested": {"message": "AssertionError: No nested blockquotes found\nassert False", "text": "tests/test_markdown.py:294: in test_blockquote_nested\n assert nested_found, \"No nested blockquotes found\"\nE AssertionError: No nested blockquotes found\nE assert False"}, "9cd5a99e237f/tests.test_markdown.test_list_with_code_blocks": {"message": "AssertionError: List not found\nassert None is not None", "text": "tests/test_markdown.py:813: in test_list_with_code_blocks\n assert ul is not None, \"List not found\"\nE AssertionError: List not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_description_lists_with_nested_formatting": {"message": "AssertionError: Description list not found\nassert None is not None", "text": "tests/test_markdown.py:1315: in test_description_lists_with_nested_formatting\n assert dl is not None, \"Description list not found\"\nE AssertionError: Description list not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_table_with_alignment": {"message": "AssertionError: Table not found\nassert None is not None", "text": "tests/test_markdown.py:1051: in test_table_with_alignment\n assert table is not None, \"Table not found\"\nE AssertionError: Table not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_table_structure_and_cells": {"message": "AssertionError: Expected at least 2 tables, found 0\nassert 0 >= 2\n + where 0 = len([])", "text": "tests/test_markdown.py:1709: in test_table_structure_and_cells\n assert len(tables) >= 2, f\"Expected at least 2 tables, found {len(tables)}\"\nE AssertionError: Expected at least 2 tables, found 0\nE assert 0 >= 2\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_pdf.test_pdf_fake_latex_succeeds_but_no_result_file": {"message": "AssertionError: Should report error, got: \nassert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:573: in test_pdf_fake_latex_succeeds_but_no_result_file\n assert \"Error rendering pdf:\" in result.stderr, f\"Should report error, got: {result.stderr}\"\nE AssertionError: Should report error, got: \nE assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_markdown.test_strikethrough_nested_formatting": {"message": "AssertionError: Expected at least 3 strikethrough sections, found 0\nassert 0 >= 3\n + where 0 = len([])", "text": "tests/test_markdown.py:1683: in test_strikethrough_nested_formatting\n assert len(del_tags) >= 3, f\"Expected at least 3 strikethrough sections, found {len(del_tags)}\"\nE AssertionError: Expected at least 3 strikethrough sections, found 0\nE assert 0 >= 3\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_annotation_tokens_grammar_check": {"message": "assert None is not None", "text": "tests/test_markdown.py:1658: in test_annotation_tokens_grammar_check\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_is_container_method_coverage": {"message": "assert None is not None", "text": "tests/test_markdown.py:1595: in test_is_container_method_coverage\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_strikethrough": {"message": "AssertionError: Expected at least 3 strikethrough sections, found 0\nassert 0 >= 3\n + where 0 = len([])", "text": "tests/test_markdown.py:92: in test_strikethrough\n assert len(del_tags) >= 3, f\"Expected at least 3 strikethrough sections, found {len(del_tags)}\"\nE AssertionError: Expected at least 3 strikethrough sections, found 0\nE assert 0 >= 3\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_resources.test_image_missing_file_error": {"message": "AssertionError: Error message mismatch.\n Expected:\n CROWBOOK 0.17.0\n WARNING Crowbook exited successfully, but the following errors occurred:\n ERROR Error rendering html: with_missing_image.md: Could not find file './nonexistent.png' for image\n \n Got:\n \nassert '' == \"CROWBOOK 0.1...' for image\\n\"\n \n - CROWBOOK 0.17.0\n - WARNING Crowbook exited successfully, but the following errors occurred:\n - ERROR Error rendering html: with_missing_image.md: Could not find file './nonexistent.png' for image", "text": "tests/test_resources.py:118: in test_image_missing_file_error\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE WARNING Crowbook exited successfully, but the following errors occurred:\nE ERROR Error rendering html: with_missing_image.md: Could not find file './nonexistent.png' for image\nE \nE Got:\nE \nE assert '' == \"CROWBOOK 0.1...' for image\\n\"\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR Error rendering html: with_missing_image.md: Could not find file './nonexistent.png' for image"}, "9cd5a99e237f/tests.test_pdf.test_pdf_generation_with_fake_latex_multiple_chapters": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw102/test_pdf_generation_with_fake_0/test.pdf').exists", "text": "tests/test_pdf.py:448: in test_pdf_generation_with_fake_latex_multiple_chapters\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw102/test_pdf_generation_with_fake_0/test.pdf').exists"}, "9cd5a99e237f/tests.test_markdown.test_consecutive_emphasis_markers": {"message": "assert None is not None", "text": "tests/test_markdown.py:1257: in test_consecutive_emphasis_markers\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_very_large_chapter_and_fake_latex": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw2/test_pdf_with_very_large_chapt0/test.pdf').exists", "text": "tests/test_pdf.py:537: in test_pdf_with_very_large_chapter_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw2/test_pdf_with_very_large_chapt0/test.pdf').exists"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_footnotes_and_fake_latex": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw31/test_pdf_with_footnotes_and_fa0/test.pdf').exists", "text": "tests/test_pdf.py:739: in test_pdf_with_footnotes_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw31/test_pdf_with_footnotes_and_fa0/test.pdf').exists"}, "9cd5a99e237f/tests.test_markdown.test_emphasis_in_word": {"message": "assert None is not None", "text": "tests/test_markdown.py:1025: in test_emphasis_in_word\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_blockquote_with_list": {"message": "AssertionError: Blockquote not found\nassert None is not None", "text": "tests/test_markdown.py:1147: in test_blockquote_with_list\n assert blockquote is not None, \"Blockquote not found\"\nE AssertionError: Blockquote not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_images_inline_vs_standalone": {"message": "AssertionError: Expected 2 images, found 0\nassert 0 == 2\n + where 0 = len([])", "text": "tests/test_markdown.py:1453: in test_images_inline_vs_standalone\n assert len(imgs) == 2, f\"Expected 2 images, found {len(imgs)}\"\nE AssertionError: Expected 2 images, found 0\nE assert 0 == 2\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_many_images_exercises_zipper_nested_write": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:304: in test_pdf_with_many_images_exercises_zipper_nested_write\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_resources.test_image_relative_path_resolution": {"message": "AssertionError: No img tags found\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_resources.py:255: in test_image_relative_path_resolution\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_resources.test_print_template_invalid_name_error": {"message": "AssertionError: Error message mismatch.\n Expected:\n CROWBOOK 0.17.0\n ERROR invalid.template is not a valid template name\n \n Got:\n \nassert '' == 'CROWBOOK 0.1...mplate name\\n'\n \n - CROWBOOK 0.17.0\n - ERROR invalid.template is not a valid template name", "text": "tests/test_resources.py:276: in test_print_template_invalid_name_error\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE ERROR invalid.template is not a valid template name\nE \nE Got:\nE \nE assert '' == 'CROWBOOK 0.1...mplate name\\n'\nE \nE - CROWBOOK 0.17.0\nE - ERROR invalid.template is not a valid template name"}, "9cd5a99e237f/tests.test_markdown.test_code_block_with_multiple_languages": {"message": "AssertionError: Expected 4 code blocks, found 0\nassert 0 == 4\n + where 0 = len([])", "text": "tests/test_markdown.py:1866: in test_code_block_with_multiple_languages\n assert len(pre_tags) == 4, f\"Expected 4 code blocks, found {len(pre_tags)}\"\nE AssertionError: Expected 4 code blocks, found 0\nE assert 0 == 4\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_subscript_superscript_token_handling": {"message": "AssertionError: Expected exactly 2 superscripts, found 0\nassert 0 == 2\n + where 0 = len([])", "text": "tests/test_markdown.py:1498: in test_subscript_superscript_token_handling\n assert len(sups) == 2, f\"Expected exactly 2 superscripts, found {len(sups)}\"\nE AssertionError: Expected exactly 2 superscripts, found 0\nE assert 0 == 2\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_description_list_multiple_terms_and_definitions": {"message": "AssertionError: Description list not found\nassert None is not None", "text": "tests/test_markdown.py:2022: in test_description_list_multiple_terms_and_definitions\n assert dl is not None, \"Description list not found\"\nE AssertionError: Description list not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_resources.test_image_embedding_epub_separate_file": {"message": "AssertionError: output.epub not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw83/test_image_embedding_epub_sepa0/output.epub').exists", "text": "tests/test_resources.py:66: in test_image_embedding_epub_separate_file\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw83/test_image_embedding_epub_sepa0/output.epub').exists"}, "9cd5a99e237f/tests.test_resources.test_image_case_sensitivity_extension": {"message": "AssertionError: No img tags found\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_resources.py:623: in test_image_case_sensitivity_extension\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_ordered_list_starting_number": {"message": "AssertionError: Ordered list not found\nassert None is not None", "text": "tests/test_markdown.py:997: in test_ordered_list_starting_number\n assert ol is not None, \"Ordered list not found\"\nE AssertionError: Ordered list not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_book_class_and_fake_latex": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw110/test_pdf_with_book_class_and_f0/test.pdf').exists", "text": "tests/test_pdf.py:696: in test_pdf_with_book_class_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw110/test_pdf_with_book_class_and_f0/test.pdf').exists"}, "9cd5a99e237f/tests.test_markdown.test_container_identification_with_edge_cases": {"message": "assert None is not None", "text": "tests/test_markdown.py:1967: in test_container_identification_with_edge_cases\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_markdown.test_nested_emphasis_combinations": {"message": "assert None is not None", "text": "tests/test_markdown.py:1082: in test_nested_emphasis_combinations\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_resources.test_print_template_epub_chapter_xhtml": {"message": "AssertionError: Template too short\nassert 16 > 100\n + where 16 = len('CROWBOOK 0.17.0\\n')", "text": "tests/test_resources.py:472: in test_print_template_epub_chapter_xhtml\n assert len(template) > 100, \"Template too short\"\nE AssertionError: Template too short\nE assert 16 > 100\nE + where 16 = len('CROWBOOK 0.17.0\\n')"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_pdflatex_command": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:203: in test_pdf_with_pdflatex_command\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_resources.test_print_template_html_standalone_template": {"message": "AssertionError: Template too short\nassert 16 > 200\n + where 16 = len('CROWBOOK 0.17.0\\n')", "text": "tests/test_resources.py:450: in test_print_template_html_standalone_template\n assert len(template) > 200, \"Template too short\"\nE AssertionError: Template too short\nE assert 16 > 200\nE + where 16 = len('CROWBOOK 0.17.0\\n')"}, "9cd5a99e237f/tests.test_resources.test_print_template_html_dir_template": {"message": "AssertionError: Template too short\nassert 16 > 200\n + where 16 = len('CROWBOOK 0.17.0\\n')", "text": "tests/test_resources.py:292: in test_print_template_html_dir_template\n assert len(template) > 200, \"Template too short\"\nE AssertionError: Template too short\nE assert 16 > 200\nE + where 16 = len('CROWBOOK 0.17.0\\n')"}, "9cd5a99e237f/tests.test_resources.test_print_template_epub_css": {"message": "AssertionError: EPUB CSS template mismatch. Length: expected 3842, got 16\nassert 'CROWBOOK 0.17.0\\n' == 'body {\\n ...al_code}}\\n\\n'\n \n + CROWBOOK 0.17.0\n - body {\n - font-family: \"Linux Libertine\", \"Georgia\", serif;\n - text-align: justify;\n - font-size: 100%;\n - }...\n \n ...Full output truncated (217 lines hidden), use '-vv' to show", "text": "tests/test_resources.py:174: in test_print_template_epub_css\n assert result.stdout == expected_css, \\\nE AssertionError: EPUB CSS template mismatch. Length: expected 3842, got 16\nE assert 'CROWBOOK 0.17.0\\n' == 'body {\\n ...al_code}}\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - body {\nE - font-family: \"Linux Libertine\", \"Georgia\", serif;\nE - text-align: justify;\nE - font-size: 100%;\nE - }...\nE \nE ...Full output truncated (217 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_resources.test_print_template_html_css": {"message": "AssertionError: HTML CSS template mismatch. Length: expected 6861, got 16\nassert 'CROWBOOK 0.17.0\\n' == 'body {\\n ...al_code}}\\n\\n'\n \n + CROWBOOK 0.17.0\n - body {\n - font-family: \"Linux Libertine\", \"Georgia\", serif;\n - text-align: justify;\n - font-size: 100%;\n - }...\n \n ...Full output truncated (427 lines hidden), use '-vv' to show", "text": "tests/test_resources.py:160: in test_print_template_html_css\n assert result.stdout == expected_css, \\\nE AssertionError: HTML CSS template mismatch. Length: expected 6861, got 16\nE assert 'CROWBOOK 0.17.0\\n' == 'body {\\n ...al_code}}\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - body {\nE - font-family: \"Linux Libertine\", \"Georgia\", serif;\nE - text-align: justify;\nE - font-size: 100%;\nE - }...\nE \nE ...Full output truncated (427 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_markdown.test_links_autolink": {"message": "AssertionError: Autolink not found\nassert None is not None", "text": "tests/test_markdown.py:405: in test_links_autolink\n assert autolink is not None, \"Autolink not found\"\nE AssertionError: Autolink not found\nE assert None is not None"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_very_long_content_exercises_zipper_write": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:261: in test_pdf_with_very_long_content_exercises_zipper_write\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_markdown.test_multiple_blank_lines": {"message": "assert None is not None", "text": "tests/test_markdown.py:560: in test_multiple_blank_lines\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_resources.test_image_embedding_html_base64": {"message": "AssertionError: No img tags found\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_resources.py:35: in test_image_embedding_html_base64\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_markdown.test_footnote_reference_without_definition": {"message": "assert None is not None", "text": "tests/test_markdown.py:1762: in test_footnote_reference_without_definition\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_resources.test_multiple_images_different_formats": {"message": "AssertionError: output_multi.epub not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw107/test_multiple_images_different0/output_multi.epub').exists", "text": "tests/test_resources.py:211: in test_multiple_images_different_formats\n assert epub_file.exists(), \"output_multi.epub not created\"\nE AssertionError: output_multi.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw107/test_multiple_images_different0/output_multi.epub').exists"}, "9cd5a99e237f/tests.test_resources.test_resources_files_directory_walking": {"message": "AssertionError: output.epub not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw116/test_resources_files_directory0/output.epub').exists", "text": "tests/test_resources.py:842: in test_resources_files_directory_walking\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw116/test_resources_files_directory0/output.epub').exists"}, "9cd5a99e237f/tests.test_resources.test_link_resolution_with_fallback_extension": {"message": "AssertionError: chapter_000.html not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw94/test_link_resolution_with_fall0/html_output/chapter_000.html').exists", "text": "tests/test_resources.py:751: in test_link_resolution_with_fallback_extension\n assert chapter1_file.exists(), \"chapter_000.html not created\"\nE AssertionError: chapter_000.html not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw94/test_link_resolution_with_fall0/html_output/chapter_000.html').exists"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_tables_and_fake_latex": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw50/test_pdf_with_tables_and_fake_0/test.pdf').exists", "text": "tests/test_pdf.py:785: in test_pdf_with_tables_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw50/test_pdf_with_tables_and_fake_0/test.pdf').exists"}, "9cd5a99e237f/tests.test_pdf.test_pdf_generation_with_images_and_fake_latex": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw115/test_pdf_generation_with_image0/test.pdf').exists", "text": "tests/test_pdf.py:496: in test_pdf_generation_with_images_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw115/test_pdf_generation_with_image0/test.pdf').exists"}, "9cd5a99e237f/tests.test_resources.test_multiple_css_files_space_in_name_error": {"message": "AssertionError: Error message mismatch.\n Expected:\n CROWBOOK 0.17.0\n WARNING Crowbook exited successfully, but the following errors occurred:\n ERROR Error rendering html: book.book: Could not find file './custom.css custom2.css' for template 'html.css'\n \n Got:\n \nassert '' == \"CROWBOOK 0.1... 'html.css'\\n\"\n \n - CROWBOOK 0.17.0\n - WARNING Crowbook exited successfully, but the following errors occurred:\n - ERROR Error rendering html: book.book: Could not find file './custom.css custom2.css' for template 'html.css'", "text": "tests/test_resources.py:543: in test_multiple_css_files_space_in_name_error\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE WARNING Crowbook exited successfully, but the following errors occurred:\nE ERROR Error rendering html: book.book: Could not find file './custom.css custom2.css' for template 'html.css'\nE \nE Got:\nE \nE assert '' == \"CROWBOOK 0.1... 'html.css'\\n\"\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR Error rendering html: book.book: Could not find file './custom.css custom2.css' for template 'html.css'"}, "9cd5a99e237f/tests.test_resources.test_remote_image_url_not_embedded": {"message": "AssertionError: No img tags found\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_resources.py:423: in test_remote_image_url_not_embedded\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_pdf.test_pdf_custom_latex_command": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:140: in test_pdf_custom_latex_command\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_special_characters_in_title": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:331: in test_pdf_with_special_characters_in_title\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_resources.test_image_not_found_absolute_path": {"message": "AssertionError: Error message mismatch.\n Expected:\n CROWBOOK 0.17.0\n WARNING Crowbook exited successfully, but the following errors occurred:\n ERROR Error rendering html: with_abs.md: Could not find file '/nonexistent/absolute/path.png' for image\n \n Got:\n \nassert '' == \"CROWBOOK 0.1...' for image\\n\"\n \n - CROWBOOK 0.17.0\n - WARNING Crowbook exited successfully, but the following errors occurred:\n - ERROR Error rendering html: with_abs.md: Could not find file '/nonexistent/absolute/path.png' for image", "text": "tests/test_resources.py:509: in test_image_not_found_absolute_path\n assert result.stderr == expected_error, \\\nE AssertionError: Error message mismatch.\nE Expected:\nE CROWBOOK 0.17.0\nE WARNING Crowbook exited successfully, but the following errors occurred:\nE ERROR Error rendering html: with_abs.md: Could not find file '/nonexistent/absolute/path.png' for image\nE \nE Got:\nE \nE assert '' == \"CROWBOOK 0.1...' for image\\n\"\nE \nE - CROWBOOK 0.17.0\nE - WARNING Crowbook exited successfully, but the following errors occurred:\nE - ERROR Error rendering html: with_abs.md: Could not find file '/nonexistent/absolute/path.png' for image"}, "9cd5a99e237f/tests.test_markdown.test_is_code_method_coverage": {"message": "AssertionError: Expected at least 2 inline code elements, found 0\nassert 0 >= 2\n + where 0 = len([])", "text": "tests/test_markdown.py:1551: in test_is_code_method_coverage\n assert len(code_tags) >= 2, f\"Expected at least 2 inline code elements, found {len(code_tags)}\"\nE AssertionError: Expected at least 2 inline code elements, found 0\nE assert 0 >= 2\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_pdf.test_pdf_generation_without_latex_command_fails": {"message": "AssertionError: Should report PDF error, got: \nassert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:36: in test_pdf_generation_without_latex_command_fails\n assert \"Error rendering pdf:\" in result.stderr, f\"Should report PDF error, got: {result.stderr}\"\nE AssertionError: Should report PDF error, got: \nE assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_markdown.test_mixed_inline_code_and_emphasis": {"message": "assert None is not None", "text": "tests/test_markdown.py:1901: in test_mixed_inline_code_and_emphasis\n assert chapter is not None\nE assert None is not None"}, "9cd5a99e237f/tests.test_resources.test_print_template_tex_template": {"message": "AssertionError: LaTeX template mismatch. Length: expected 6543, got 16\nassert 'CROWBOOK 0.17.0\\n' == '\\\\documentcl...document}\\n\\n'\n \n + CROWBOOK 0.17.0\n - \\documentclass<# if has_tex_size #>[<>pt]<# endif #>{<>}\n - \n - %% Package inclusion\n - <# if xelatex #>\n - % Unicode support if xelatex is used...\n \n ...Full output truncated (285 lines hidden), use '-vv' to show", "text": "tests/test_resources.py:188: in test_print_template_tex_template\n assert result.stdout == expected_tex, \\\nE AssertionError: LaTeX template mismatch. Length: expected 6543, got 16\nE assert 'CROWBOOK 0.17.0\\n' == '\\\\documentcl...document}\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - \\documentclass<# if has_tex_size #>[<>pt]<# endif #>{<>}\nE - \nE - %% Package inclusion\nE - <# if xelatex #>\nE - % Unicode support if xelatex is used...\nE \nE ...Full output truncated (285 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_images_exercises_zipper_nested_paths": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:114: in test_pdf_with_images_exercises_zipper_nested_paths\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_pdf.test_pdf_generation_success_path_with_fake_latex": {"message": "AssertionError: Should create output PDF file\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_pdf_generation_success_pa0/test.pdf').exists", "text": "tests/test_pdf.py:402: in test_pdf_generation_success_path_with_fake_latex\n assert pdf_file.exists(), \"Should create output PDF file\"\nE AssertionError: Should create output PDF file\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw27/test_pdf_generation_success_pa0/test.pdf').exists"}, "9cd5a99e237f/tests.test_resources.test_svg_image_mime_type_detection": {"message": "AssertionError: No img tags found\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_resources.py:998: in test_svg_image_mime_type_detection\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_resources.test_epub_css_option_custom_styling": {"message": "AssertionError: output_epub_css.epub not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw43/test_epub_css_option_custom_st0/output_epub_css.epub').exists", "text": "tests/test_resources.py:370: in test_epub_css_option_custom_styling\n assert epub_file.exists(), \"output_epub_css.epub not created\"\nE AssertionError: output_epub_css.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw43/test_epub_css_option_custom_st0/output_epub_css.epub').exists"}, "9cd5a99e237f/tests.test_resources.test_image_no_extension_epub_naming": {"message": "AssertionError: Expected extension warning not found in stderr: \nassert \"doesn't have an extension\" in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_resources.py:699: in test_image_no_extension_epub_naming\n assert \"doesn't have an extension\" in result.stderr, \\\nE AssertionError: Expected extension warning not found in stderr: \nE assert \"doesn't have an extension\" in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_resources.test_multiple_resource_types_epub": {"message": "AssertionError: output.epub not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw85/test_multiple_resource_types_e0/output.epub').exists", "text": "tests/test_resources.py:1302: in test_multiple_resource_types_epub\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw85/test_multiple_resource_types_e0/output.epub').exists"}, "9cd5a99e237f/tests.test_resources.test_css_add_option_inline_styles": {"message": "AssertionError: Default CSS not included\nassert 'Linux Libertine' in 'CSS Add Test

            Test

            CSS Add Test

            \\n

            Chapter 1
            Test with Image

            Here is a test image:

            \\n

            ![Test Image](test.png)

            \\n

            End of chapter.

            \\n
            '", "text": "tests/test_resources.py:336: in test_css_add_option_inline_styles\n assert \"Linux Libertine\" in html_content, \"Default CSS not included\"\nE AssertionError: Default CSS not included\nE assert 'Linux Libertine' in 'CSS Add Test

            Test

            CSS Add Test

            \\n

            Chapter 1
            Test with Image

            Here is a test image:

            \\n

            ![Test Image](test.png)

            \\n

            End of chapter.

            \\n
            '"}, "9cd5a99e237f/tests.test_resources.test_image_no_extension_base64_warning": {"message": "AssertionError: Expected mime type warning not found in stderr: \nassert 'could not guess mime type' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_resources.py:660: in test_image_no_extension_base64_warning\n assert \"could not guess mime type\" in result.stderr, \\\nE AssertionError: Expected mime type warning not found in stderr: \nE assert 'could not guess mime type' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_resources.test_jpeg_image_mime_type_detection": {"message": "AssertionError: No img tags found\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_resources.py:1066: in test_jpeg_image_mime_type_detection\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_pdf.test_pdf_with_all_latex_options_and_fake_latex": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw66/test_pdf_with_all_latex_option0/test.pdf').exists", "text": "tests/test_pdf.py:653: in test_pdf_with_all_latex_options_and_fake_latex\n assert pdf_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw66/test_pdf_with_all_latex_option0/test.pdf').exists"}, "9cd5a99e237f/tests.test_resources.test_resources_files_with_symlinks": {"message": "AssertionError: output.epub not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw69/test_resources_files_with_syml0/output.epub').exists", "text": "tests/test_resources.py:1147: in test_resources_files_with_symlinks\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw69/test_resources_files_with_syml0/output.epub').exists"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_multiple_chapters_aggregation": {"message": "AssertionError: assert 'CROWBOOK 0.1... 6.29\\n' == 'Chapter ... 7.18\\n\\n'\n \n + CROWBOOK 0.17.0\n Chapter Chars Words Chars/Word\n ---------\n - chapter1.md 237 35 6.77\n - chapter2.md 141 18 7.83\n - chapter3.md 31 4 7.75...\n \n ...Full output truncated (7 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:48: in test_stats_multiple_chapters_aggregation\n assert result.stdout == (RESOURCES / \"stats_multi.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.29\\n' == 'Chapter ... 7.18\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE Chapter Chars Words Chars/Word\nE ---------\nE - chapter1.md 237 35 6.77\nE - chapter2.md 141 18 7.83\nE - chapter3.md 31 4 7.75...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_lang_russian_chapter_label": {"message": "AssertionError: Russian chapter label not found\nassert '\u0413\u043b\u0430\u0432\u0430 1' in '\u0420\u0443\u0441\u0441\u043a\u0430\u044f \u041a\u043d\u0438\u0433\u0430

            Test Author

            \u0420\u0443\u0441\u0441\u043a\u0430\u044f \u041a\u043d\u0438\u0433\u0430

            \\n

            Chapter 1
            \u041f\u0435\u0440\u0432\u0430\u044f \u0413\u043b\u0430\u0432\u0430

            \u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435.

            \\n
            '", "text": "tests/test_stats_lang.py:174: in test_lang_russian_chapter_label\n assert \"\u0413\u043b\u0430\u0432\u0430 1\" in html_content, \"Russian chapter label not found\"\nE AssertionError: Russian chapter label not found\nE assert '\u0413\u043b\u0430\u0432\u0430 1' in '\u0420\u0443\u0441\u0441\u043a\u0430\u044f \u041a\u043d\u0438\u0433\u0430

            Test Author

            \u0420\u0443\u0441\u0441\u043a\u0430\u044f \u041a\u043d\u0438\u0433\u0430

            \\n

            Chapter 1
            \u041f\u0435\u0440\u0432\u0430\u044f \u0413\u043b\u0430\u0432\u0430

            \u0422\u0435\u0441\u0442\u043e\u0432\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435.

            \\n
            '"}, "9cd5a99e237f/tests.test_resources.test_resources_files_special_file_type_error": {"message": "AssertionError: Expected error for special file type, got: \nassert (0 != 0 or 'error' in '')\n + where 0 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n + and '' = ()\n + where = ''.lower\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_resources.py:1192: in test_resources_files_special_file_type_error\n assert result.returncode != 0 or \"error\" in result.stderr.lower(), \\\nE AssertionError: Expected error for special file type, got: \nE assert (0 != 0 or 'error' in '')\nE + where 0 = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\nE + and '' = ()\nE + where = ''.lower\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_resources.test_link_resolution_missing_file_warning": {"message": "AssertionError: Expected full link match warning not found in stderr: \nassert 'Resources: could not find an in-book match for link missing.txt or missing.md' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_resources.py:801: in test_link_resolution_missing_file_warning\n assert \"Resources: could not find an in-book match for link missing.txt or missing.md\" in result.stderr, \\\nE AssertionError: Expected full link match warning not found in stderr: \nE assert 'Resources: could not find an in-book match for link missing.txt or missing.md' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_seed.test_help_flag": {"message": "AssertionError: Help should show usage\nassert ('USAGE:' in 'CROWBOOK 0.17.0\\n' or 'Usage:' in 'CROWBOOK 0.17.0\\n')", "text": "tests/test_seed.py:49: in test_help_flag\n assert \"USAGE:\" in output or \"Usage:\" in output, \"Help should show usage\"\nE AssertionError: Help should show usage\nE assert ('USAGE:' in 'CROWBOOK 0.17.0\\n' or 'Usage:' in 'CROWBOOK 0.17.0\\n')"}, "9cd5a99e237f/tests.test_resources.test_custom_css_file_inclusion": {"message": "AssertionError: Custom CSS background not found\nassert 'background-color: #f0f0f0;' in 'Test Book with CSS

            Test Author

            Test Book with CSS

            \\n

            Chapter 1
            Test with Image

            Here is a test image:

            \\n

            ![Test Image](test.png)

            \\n

            End of chapter.

            \\n
            '", "text": "tests/test_resources.py:145: in test_custom_css_file_inclusion\n assert \"background-color: #f0f0f0;\" in html_content, \"Custom CSS background not found\"\nE AssertionError: Custom CSS background not found\nE assert 'background-color: #f0f0f0;' in 'Test Book with CSS

            Test Author

            Test Book with CSS

            \\n

            Chapter 1
            Test with Image

            Here is a test image:

            \\n

            ![Test Image](test.png)

            \\n

            End of chapter.

            \\n
            '"}, "9cd5a99e237f/tests.test_pdf.test_pdf_generation_attempts_three_latex_passes": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:175: in test_pdf_generation_attempts_three_latex_passes\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_resources.test_epub_css_add_option_inline_content": {"message": "AssertionError: output_epub_css_add.epub not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw57/test_epub_css_add_option_inlin0/output_epub_css_add.epub').exists", "text": "tests/test_resources.py:573: in test_epub_css_add_option_inline_content\n assert epub_file.exists(), \"output_epub_css_add.epub not created\"\nE AssertionError: output_epub_css_add.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw57/test_epub_css_add_option_inlin0/output_epub_css_add.epub').exists"}, "9cd5a99e237f/tests.test_resources.test_image_duplicate_reference_reuse": {"message": "AssertionError: output.epub not created\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_image_duplicate_reference0/output.epub').exists", "text": "tests/test_resources.py:933: in test_image_duplicate_reference_reuse\n assert epub_file.exists(), \"output.epub not created\"\nE AssertionError: output.epub not created\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-9/popen-gw78/test_image_duplicate_reference0/output.epub').exists"}, "9cd5a99e237f/tests.test_stats_lang.test_lang_catalan_chapter_label": {"message": "AssertionError: Catalan chapter label not found\nassert 'Cap\u00edtol 1' in 'Llibre Catal\u00e0

            Test Author

            Llibre Catal\u00e0

            \\n

            Chapter 1
            Primer Cap\u00edtol

            Contingut de prova.

            \\n
            '", "text": "tests/test_stats_lang.py:199: in test_lang_catalan_chapter_label\n assert \"Cap\u00edtol 1\" in html_content, \"Catalan chapter label not found\"\nE AssertionError: Catalan chapter label not found\nE assert 'Cap\u00edtol 1' in 'Llibre Catal\u00e0

            Test Author

            Llibre Catal\u00e0

            \\n

            Chapter 1
            Primer Cap\u00edtol

            Contingut de prova.

            \\n
            '"}, "9cd5a99e237f/tests.test_pdf.test_pdf_fake_latex_fails_with_error_code": {"message": "AssertionError: assert 'Error rendering pdf:' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_pdf.py:611: in test_pdf_fake_latex_fails_with_error_code\n assert \"Error rendering pdf:\" in result.stderr\nE AssertionError: assert 'Error rendering pdf:' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_resources.test_resources_files_missing_error": {"message": "AssertionError: Expected exact file not found error in stderr: \nassert 'error reading file ./nonexistent.txt: No such file or directory' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_resources.py:897: in test_resources_files_missing_error\n assert \"error reading file ./nonexistent.txt: No such file or directory\" in result.stderr, \\\nE AssertionError: Expected exact file not found error in stderr: \nE assert 'error reading file ./nonexistent.txt: No such file or directory' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_resources.test_large_image_base64_encoding": {"message": "AssertionError: No img tags found\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_resources.py:1246: in test_large_image_base64_encoding\n assert len(img_tags) >= 1, \"No img tags found\"\nE AssertionError: No img tags found\nE assert 0 >= 1\nE + where 0 = len([])"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_large_book_accurate_totals": {"message": "AssertionError: assert 'CROWBOOK 0.1... 7.17\\n' == 'Chapter ... 7.22\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n + Chapter Chars Words Chars/Word\n ? ++\n ---------\n - large1.md 16486 2602 6.34...\n \n ...Full output truncated (11 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:257: in test_stats_large_book_accurate_totals\n assert result.stdout == (RESOURCES / \"stats_large.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 7.17\\n' == 'Chapter ... 7.22\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? ++\nE ---------\nE - large1.md 16486 2602 6.34...\nE \nE ...Full output truncated (11 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_very_long_chapter_name_column_width": {"message": "AssertionError: assert 'CROWBOOK 0.1... 5.67\\n' == 'Chapter ... 6.15\\n\\n'\n \n - Chapter Chars Words Chars/Word\n + CROWBOOK 0.17.0\n + Chapter Chars Words Chars/Word\n ---------\n - very_long_chapter_name_that_exceeds_normal_width_expectations.md 80 13 6.15\n + very_long_chapter_name_that_exceeds_normal_width_expectations.md 85 15 5.67...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:515: in test_stats_very_long_chapter_name_column_width\n assert result.stdout == (RESOURCES / \"stats_long_name.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.67\\n' == 'Chapter ... 6.15\\n\\n'\nE \nE - Chapter Chars Words Chars/Word\nE + CROWBOOK 0.17.0\nE + Chapter Chars Words Chars/Word\nE ---------\nE - very_long_chapter_name_that_exceeds_normal_width_expectations.md 80 13 6.15\nE + very_long_chapter_name_that_exceeds_normal_width_expectations.md 85 15 5.67...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_lang_french_chapter_label": {"message": "AssertionError: Traceback (most recent call last):\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\n this = chr(ESCAPES[this][1])\n KeyError: '\\\\u'\n \n During handling of the above exception, another exception occurred:\n \n Traceback (most recent call last):\n File \"/workspace/executable\", line 72, in \n if __name__ == \"__main__\": main()\n File \"/workspace/executable\", line 71, in main\n else: cb.run()\n File \"/workspace/executable\", line 44, in run\n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 44, in \n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 33, in render\n lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\n File \"/workspace/executable\", line 21, in clean\n if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\n return _compile(pattern, flags).sub(repl, string, count)\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\n template = _compile_repl(template, pattern)\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\n return sre_parse.parse_template(repl, pattern)\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\n raise s.error('bad escape %s' % this, len(this))\n re.error: bad escape \\u at position 1\n \nassert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', '/workspace/eval/test_resources/test_stats_lang/french.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode", "text": "tests/test_stats_lang.py:92: in test_lang_french_chapter_label\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '/workspace/eval/test_resources/test_stats_lang/french.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_with_images_excludes_alt_text": {"message": "AssertionError: assert 'CROWBOOK 0.1... 6.79\\n' == 'Chapter ... 7.11\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? ------\n + Chapter Chars Words Chars/Word\n ---------\n - images_content.md 64 9 7.11...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:241: in test_stats_with_images_excludes_alt_text\n assert result.stdout == (RESOURCES / \"stats_images.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.79\\n' == 'Chapter ... 7.11\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - images_content.md 64 9 7.11...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_chars_word_ratio_precision": {"message": "AssertionError: Expected chars/word ratio 6.77 not found\nassert '6.77' in 'CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\nchapter1.md 256 43 5.95\\nchapter2.md 148 21 7.05\\nchapter3.md 36 6 6.00\\n---------\\nTOTAL: 440 70 6.29\\n'", "text": "tests/test_stats_lang.py:474: in test_stats_chars_word_ratio_precision\n assert \"6.77\" in output, \"Expected chars/word ratio 6.77 not found\"\nE AssertionError: Expected chars/word ratio 6.77 not found\nE assert '6.77' in 'CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\nchapter1.md 256 43 5.95\\nchapter2.md 148 21 7.05\\nchapter3.md 36 6 6.00\\n---------\\nTOTAL: 440 70 6.29\\n'"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_varied_word_lengths_ratio_precision": {"message": "AssertionError: assert 'CROWBOOK 0.1... 6.55\\n' == 'Chapter ... 7.44\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? ------\n + Chapter Chars Words Chars/Word\n ---------\n - varied_lengths.md 67 9 7.44...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:578: in test_stats_varied_word_lengths_ratio_precision\n assert result.stdout == (RESOURCES / \"stats_varied.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.55\\n' == 'Chapter ... 7.44\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - varied_lengths.md 67 9 7.44...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_cjk_characters_word_counting": {"message": "AssertionError: assert 'CROWBOOK 0.1... 9.25\\n' == 'Chapter ... 16.00\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? ---\n + Chapter Chars Words Chars/Word\n ---------\n - cjk_content.md 32 2 16.00...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:673: in test_stats_cjk_characters_word_counting\n assert result.stdout == (RESOURCES / \"stats_cjk.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 9.25\\n' == 'Chapter ... 16.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ---\nE + Chapter Chars Words Chars/Word\nE ---------\nE - cjk_content.md 32 2 16.00...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_single_character_word": {"message": "AssertionError: assert 'CROWBOOK 0.1... 2.00\\n' == 'Chapter ... 1.00\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? ---\n + Chapter Chars Words Chars/Word\n ---------\n - single_char.md 1 1 1.00...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:547: in test_stats_single_character_word\n assert result.stdout == (RESOURCES / \"stats_single_char.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 2.00\\n' == 'Chapter ... 1.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ---\nE + Chapter Chars Words Chars/Word\nE ---------\nE - single_char.md 1 1 1.00...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_simple_book_exact_counts": {"message": "AssertionError: assert 'CROWBOOK 0.1... 5.95\\n' == 'Chapter ... 6.77\\n\\n'\n \n + CROWBOOK 0.17.0\n Chapter Chars Words Chars/Word\n ---------\n - chapter1.md 237 35 6.77\n + chapter1.md 256 43 5.95\n ---------...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:33: in test_stats_simple_book_exact_counts\n assert result.stdout == (RESOURCES / \"stats_simple.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.95\\n' == 'Chapter ... 6.77\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE Chapter Chars Words Chars/Word\nE ---------\nE - chapter1.md 237 35 6.77\nE + chapter1.md 256 43 5.95\nE ---------...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_special_characters_word_boundaries": {"message": "AssertionError: assert 'CROWBOOK 0.1... 7.47\\n' == 'Chapter ... 8.23\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? -----\n + Chapter Chars Words Chars/Word\n ---------\n - special_chars.md 107 13 8.23...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:642: in test_stats_special_characters_word_boundaries\n assert result.stdout == (RESOURCES / \"stats_special_chars.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 7.47\\n' == 'Chapter ... 8.23\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - special_chars.md 107 13 8.23...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_markdown_syntax_ignored_in_counts": {"message": "AssertionError: assert 'CROWBOOK 0.1... 5.62\\n' == 'Chapter ... 7.40\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? -----------\n + Chapter Chars Words Chars/Word\n ---------\n - markdown_formatting.md 74 10 7.40...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:657: in test_stats_markdown_syntax_ignored_in_counts\n assert result.stdout == (RESOURCES / \"stats_markdown_formatting.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.62\\n' == 'Chapter ... 7.40\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -----------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - markdown_formatting.md 74 10 7.40...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_empty_book_nan_handling": {"message": "AssertionError: assert 'CROWBOOK 0.1... 0.00\\n' == 'Chapter ... NaN\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n + Chapter Chars Words Chars/Word\n ? +++\n ---------\n - empty.md 0 0 NaN...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:63: in test_stats_empty_book_nan_handling\n assert result.stdout == (RESOURCES / \"stats_empty.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 0.00\\n' == 'Chapter ... NaN\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? +++\nE ---------\nE - empty.md 0 0 NaN...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_with_code_blocks_included": {"message": "AssertionError: assert 'CROWBOOK 0.1... 7.00\\n' == 'Chapter ... 8.00\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? ----\n + Chapter Chars Words Chars/Word\n ---------\n - code_content.md 104 13 8.00...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:78: in test_stats_with_code_blocks_included\n assert result.stdout == (RESOURCES / \"stats_code.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 7.00\\n' == 'Chapter ... 8.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - code_content.md 104 13 8.00...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_lang_spanish_chapter_label": {"message": "AssertionError: Spanish chapter label not found\nassert 'Cap\u00edtulo 1' in 'Libro Espa\u00f1ol

            Test Author

            Libro Espa\u00f1ol

            \\n

            Chapter 1
            Cap\u00edtulo Primero

            Este es un contenido de prueba.

            \\n
            '", "text": "tests/test_stats_lang.py:149: in test_lang_spanish_chapter_label\n assert \"Cap\u00edtulo 1\" in html_content, \"Spanish chapter label not found\"\nE AssertionError: Spanish chapter label not found\nE assert 'Cap\u00edtulo 1' in 'Libro Espa\u00f1ol

            Test Author

            Libro Espa\u00f1ol

            \\n

            Chapter 1
            Cap\u00edtulo Primero

            Este es un contenido de prueba.

            \\n
            '"}, "9cd5a99e237f/tests.test_seed.test_simple_book_html": {"message": "AssertionError: Should print crowbook banner\nassert 'CROWBOOK' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', 'book.book', '--to', 'html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr", "text": "tests/test_seed.py:90: in test_simple_book_html\n assert \"CROWBOOK\" in result.stderr, \"Should print crowbook banner\"\nE AssertionError: Should print crowbook banner\nE assert 'CROWBOOK' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', 'book.book', '--to', 'html'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_many_chapters_aggregation": {"message": "AssertionError: assert 'CROWBOOK 0.1... 6.22\\n' == 'Chapter ... 6.94\\n\\n'\n \n + CROWBOOK 0.17.0\n Chapter Chars Words Chars/Word\n ---------\n - short.md 2 1 2.00\n ? ^ ^\n + short.md 3 1 3.00...\n \n ...Full output truncated (15 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:626: in test_stats_many_chapters_aggregation\n assert result.stdout == (RESOURCES / \"stats_many_chapters.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.22\\n' == 'Chapter ... 6.94\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE Chapter Chars Words Chars/Word\nE ---------\nE - short.md 2 1 2.00\nE ? ^ ^\nE + short.md 3 1 3.00...\nE \nE ...Full output truncated (15 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_mixed_markdown_elements": {"message": "AssertionError: assert 'CROWBOOK 0.1... 5.98\\n' == 'Chapter ... 7.81\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? -----\n + Chapter Chars Words Chars/Word\n ---------\n - mixed_content.md 242 31 7.81...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:417: in test_stats_mixed_markdown_elements\n assert result.stdout == (RESOURCES / \"stats_mixed.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.98\\n' == 'Chapter ... 7.81\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - mixed_content.md 242 31 7.81...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_html_lang_attribute_french": {"message": "AssertionError: Traceback (most recent call last):\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\n this = chr(ESCAPES[this][1])\n KeyError: '\\\\u'\n \n During handling of the above exception, another exception occurred:\n \n Traceback (most recent call last):\n File \"/workspace/executable\", line 72, in \n if __name__ == \"__main__\": main()\n File \"/workspace/executable\", line 71, in main\n else: cb.run()\n File \"/workspace/executable\", line 44, in run\n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 44, in \n c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\n File \"/workspace/executable\", line 33, in render\n lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\n File \"/workspace/executable\", line 21, in clean\n if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\n return _compile(pattern, flags).sub(repl, string, count)\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\n template = _compile_repl(template, pattern)\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\n return sre_parse.parse_template(repl, pattern)\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\n raise s.error('bad escape %s' % this, len(this))\n re.error: bad escape \\u at position 1\n \nassert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', '/workspace/eval/test_resources/test_stats_lang/french.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode", "text": "tests/test_stats_lang.py:287: in test_html_lang_attribute_french\n assert result.returncode == 0, result.stderr\nE AssertionError: Traceback (most recent call last):\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\nE this = chr(ESCAPES[this][1])\nE KeyError: '\\\\u'\nE \nE During handling of the above exception, another exception occurred:\nE \nE Traceback (most recent call last):\nE File \"/workspace/executable\", line 72, in \nE if __name__ == \"__main__\": main()\nE File \"/workspace/executable\", line 71, in main\nE else: cb.run()\nE File \"/workspace/executable\", line 44, in run\nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 44, in \nE c = \"\".join(self.render(open(f, 'r', encoding='utf-8').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\nE File \"/workspace/executable\", line 33, in render\nE lv = len(l) - len(l.lstrip('#')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\nE File \"/workspace/executable\", line 21, in clean\nE if l == \"fr\": t = re.sub(r'\"([^\"]*)\"', r'\u00ab\\u00a0\\1\\u00a0\u00bb', t)\nE File \"/usr/lib/python3.10/re.py\", line 209, in sub\nE return _compile(pattern, flags).sub(repl, string, count)\nE File \"/usr/lib/python3.10/re.py\", line 326, in _subx\nE template = _compile_repl(template, pattern)\nE File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\nE return sre_parse.parse_template(repl, pattern)\nE File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\nE raise s.error('bad escape %s' % this, len(this))\nE re.error: bad escape \\u at position 1\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '/workspace/eval/test_resources/test_stats_lang/french.book'], returncode=1, stdout='CROWBOOK 0.17.0\\n', stderr='Traceback (most recent call last):\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1051, in parse_template\\n this = chr(ESCAPES[this][1])\\nKeyError: \\'\\\\\\\\u\\'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/workspace/executable\", line 72, in \\n if __name__ == \"__main__\": main()\\n File \"/workspace/executable\", line 71, in main\\n else: cb.run()\\n File \"/workspace/executable\", line 44, in run\\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 44, in \\n c = \"\".join(self.render(open(f, \\'r\\', encoding=\\'utf-8\\').read(), i) for i, f in enumerate(self.files) if os.path.exists(f))\\n File \"/workspace/executable\", line 33, in render\\n lv = len(l) - len(l.lstrip(\\'#\\')); title = self.clean(l[lv:].strip()); self.link_counter += 1; self.toc_entries.append((self.link_counter, title))\\n File \"/workspace/executable\", line 21, in clean\\n if l == \"fr\": t = re.sub(r\\'\"([^\"]*)\"\\', r\\'\u00ab\\\\u00a0\\\\1\\\\u00a0\u00bb\\', t)\\n File \"/usr/lib/python3.10/re.py\", line 209, in sub\\n return _compile(pattern, flags).sub(repl, string, count)\\n File \"/usr/lib/python3.10/re.py\", line 326, in _subx\\n template = _compile_repl(template, pattern)\\n File \"/usr/lib/python3.10/re.py\", line 317, in _compile_repl\\n return sre_parse.parse_template(repl, pattern)\\n File \"/usr/lib/python3.10/sre_parse.py\", line 1054, in parse_template\\n raise s.error(\\'bad escape %s\\' % this, len(this))\\nre.error: bad escape \\\\u at position 1\\n').returncode"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_emoji_multibyte_character_counting": {"message": "AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 5.50\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? ---\n + Chapter Chars Words Chars/Word\n ---------\n - emoji_heavy.md 55 10 5.50...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:594: in test_stats_emoji_multibyte_character_counting\n assert result.stdout == (RESOURCES / \"stats_emoji.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 5.50\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ---\nE + Chapter Chars Words Chars/Word\nE ---------\nE - emoji_heavy.md 55 10 5.50...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_whitespace_only_content_nan_handling": {"message": "AssertionError: assert 'CROWBOOK 0.1... 0.00\\n' == 'Chapter ... NaN\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? -------\n + Chapter Chars Words Chars/Word\n ---------\n - whitespace_only.md 0 0 NaN...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:531: in test_stats_whitespace_only_content_nan_handling\n assert result.stdout == (RESOURCES / \"stats_whitespace.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 0.00\\n' == 'Chapter ... NaN\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - whitespace_only.md 0 0 NaN...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_mixed_chapter_name_lengths_alignment": {"message": "AssertionError: assert 'CROWBOOK 0.1... 5.72\\n' == 'Chapter ... 5.91\\n\\n'\n \n - Chapter Chars Words Chars/Word\n + CROWBOOK 0.17.0\n + Chapter Chars Words Chars/Word\n ---------\n - short.md 2 1 2.00\n - medium.md 54 9 6.00...\n \n ...Full output truncated (8 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:610: in test_stats_mixed_chapter_name_lengths_alignment\n assert result.stdout == (RESOURCES / \"stats_mixed_lengths.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.72\\n' == 'Chapter ... 5.91\\n\\n'\nE \nE - Chapter Chars Words Chars/Word\nE + CROWBOOK 0.17.0\nE + Chapter Chars Words Chars/Word\nE ---------\nE - short.md 2 1 2.00\nE - medium.md 54 9 6.00...\nE \nE ...Full output truncated (8 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_lang_locale_code_format_fr_FR": {"message": "AssertionError: French chapter label not found for fr_FR locale\nassert 'Chapitre 1' in 'French with Locale

            Test Author

            French with Locale

            \\n

            Chapter 1
            Test Locale

            Content en fran\u00e7ais.

            \\n
            '", "text": "tests/test_stats_lang.py:401: in test_lang_locale_code_format_fr_FR\n assert \"Chapitre 1\" in html_content, \"French chapter label not found for fr_FR locale\"\nE AssertionError: French chapter label not found for fr_FR locale\nE assert 'Chapitre 1' in 'French with Locale

            Test Author

            French with Locale

            \\n

            Chapter 1
            Test Locale

            Content en fran\u00e7ais.

            \\n
            '"}, "9cd5a99e237f/tests.test_stats_lang.test_lang_german_chapter_label": {"message": "AssertionError: German chapter label not found\nassert 'Kapitel 1' in 'Deutsches Buch

            Test Author

            Deutsches Buch

            \\n

            Chapter 1
            Kapitel Eins

            Dies ist ein Test auf Deutsch.

            \\n
            '", "text": "tests/test_stats_lang.py:124: in test_lang_german_chapter_label\n assert \"Kapitel 1\" in html_content, \"German chapter label not found\"\nE AssertionError: German chapter label not found\nE assert 'Kapitel 1' in 'Deutsches Buch

            Test Author

            Deutsches Buch

            \\n

            Chapter 1
            Kapitel Eins

            Dies ist ein Test auf Deutsch.

            \\n
            '"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_single_letter_chapter_name_column_width": {"message": "AssertionError: assert 'CROWBOOK 0.1... 5.50\\n' == 'Chapter C... 8.50\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n + Chapter Chars Words Chars/Word\n ? +++++++\n ---------\n - x.md 17 2 8.50...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:713: in test_stats_single_letter_chapter_name_column_width\n assert result.stdout == (RESOURCES / \"stats_single_letter_name.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.50\\n' == 'Chapter C... 8.50\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? +++++++\nE ---------\nE - x.md 17 2 8.50...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_unicode_multibyte_char_counting": {"message": "AssertionError: assert 'CROWBOOK 0.1... 6.24\\n' == 'Chapter ... 8.45\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? -------\n + Chapter Chars Words Chars/Word\n ---------\n - unicode_content.md 93 11 8.45...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:273: in test_stats_unicode_multibyte_char_counting\n assert result.stdout == (RESOURCES / \"stats_unicode.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.24\\n' == 'Chapter ... 8.45\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - unicode_content.md 93 11 8.45...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_duplicate_chapter_names_with_paths": {"message": "AssertionError: assert 'CROWBOOK 0.1... 6.19\\n' == 'Chapter ... 7.10\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? -------\n + Chapter Chars Words Chars/Word\n ---------\n - chapter1.md 237 35 6.77...\n \n ...Full output truncated (7 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:730: in test_stats_duplicate_chapter_names_with_paths\n assert result.stdout == (RESOURCES / \"stats_duplicate_names.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 6.19\\n' == 'Chapter ... 7.10\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? -------\nE + Chapter Chars Words Chars/Word\nE ---------\nE - chapter1.md 237 35 6.77...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_verbose_mode_no_advanced_warning": {"message": "AssertionError: assert 'CROWBOOK 0.17.0' in ''\n + where '' = CompletedProcess(args=['/workspace/executable', '-v', '--stats', '/workspace/eval/test_resources/test_stats_lang/simple.book'], returncode=0, stdout='CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\nchapter1.md 256 43 5.95\\n---------\\nTOTAL: 256 43 5.95\\n', stderr='').stderr", "text": "tests/test_stats_lang.py:691: in test_stats_verbose_mode_no_advanced_warning\n assert \"CROWBOOK 0.17.0\" in result.stderr\nE AssertionError: assert 'CROWBOOK 0.17.0' in ''\nE + where '' = CompletedProcess(args=['/workspace/executable', '-v', '--stats', '/workspace/eval/test_resources/test_stats_lang/simple.book'], returncode=0, stdout='CROWBOOK 0.17.0\\nChapter Chars Words Chars/Word\\n---------\\nchapter1.md 256 43 5.95\\n---------\\nTOTAL: 256 43 5.95\\n', stderr='').stderr"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_single_word_chapter": {"message": "AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 4.00\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n + Chapter Chars Words Chars/Word\n ? +\n ---------\n - minimal.md 4 1 4.00...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:433: in test_stats_single_word_chapter\n assert result.stdout == (RESOURCES / \"stats_minimal.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 4.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE + Chapter Chars Words Chars/Word\nE ? +\nE ---------\nE - minimal.md 4 1 4.00...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "9cd5a99e237f/tests.test_stats_lang.test_stats_huge_word_count_formatting": {"message": "AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 5.00\\n\\n'\n \n + CROWBOOK 0.17.0\n - Chapter Chars Words Chars/Word\n ? ----\n + Chapter Chars Words Chars/Word\n ---------\n - huge_content.md 49999 10000 5.00...\n \n ...Full output truncated (7 lines hidden), use '-vv' to show", "text": "tests/test_stats_lang.py:562: in test_stats_huge_word_count_formatting\n assert result.stdout == (RESOURCES / \"stats_huge.golden\").read_text()\nE AssertionError: assert 'CROWBOOK 0.1... 5.00\\n' == 'Chapter ... 5.00\\n\\n'\nE \nE + CROWBOOK 0.17.0\nE - Chapter Chars Words Chars/Word\nE ? ----\nE + Chapter Chars Words Chars/Word\nE ---------\nE - huge_content.md 49999 10000 5.00...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestSetFlag.test_set_flag_no_values": {"message": "AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n')\n + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n' = ()\n + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n'.lower", "text": "self = \n\n def test_set_flag_no_values(self):\n \"\"\"--set without values should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--set\")\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n' = ()\nE + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument --set: expected at least one argument\\n'.lower\n\neval/tests/test_argument_parsing.py:279: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestValueTakingFlags.test_print_template_flag_missing_value": {"message": "AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_print_template_flag_missing_value(self):\n \"\"\"Print-template flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--print-template\")\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:203: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestFlagCombinations.test_combined_short_flags_invalid": {"message": "AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_combined_short_flags_invalid(self):\n \"\"\"Invalid combined short flags should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"-abc\")\n combined = stdout + stderr\n # -a is valid (autograph), but -b is not\n> assert \"unexpected argument\" in combined.lower()\nE AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:356: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestOutputAndToRequirements.test_output_requires_to": {"message": "AssertionError: assert '--to' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_output_requires_to(self):\n \"\"\"--output flag requires --to flag.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"test.html\")\n combined = stdout + stderr\n> assert \"--to\" in combined\nE AssertionError: assert '--to' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:367: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestSetFlag.test_set_flag_one_value": {"message": "AssertionError: assert ('2 values required' in 'CROWBOOK 0.17.0\\n' or 'only 1 was provided' in 'CROWBOOK 0.17.0\\n')", "text": "self = \n\n def test_set_flag_one_value(self):\n \"\"\"--set with only one value should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--set\", \"key\")\n combined = stdout + stderr\n> assert \"2 values required\" in combined or \"only 1 was provided\" in combined\nE AssertionError: assert ('2 values required' in 'CROWBOOK 0.17.0\\n' or 'only 1 was provided' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:286: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestEdgeCaseArguments.test_equals_in_long_flag": {"message": "AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_equals_in_long_flag(self):\n \"\"\"Long flag with equals sign.\"\"\"\n stdout, stderr, returncode = run_executable(\"--to=html\")\n combined = stdout + stderr\n # Should parse correctly\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:589: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestOutputAndToRequirements.test_to_without_output": {"message": "AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_to_without_output(self):\n \"\"\"--to flag can be used without --output.\"\"\"\n stdout, stderr, returncode = run_executable(\"-t\", \"html\")\n combined = stdout + stderr\n # Should complain about missing book, not about missing output\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:376: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestBasicExecution.test_no_arguments_shows_error": {"message": "AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_no_arguments_shows_error(self):\n \"\"\"Running without arguments should show an error.\"\"\"\n stdout, stderr, returncode = run_executable()\n combined = stdout + stderr\n> assert \"You must pass the name of a book configuration file\" in combined\nE AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:42: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestBooleanFlags.test_verbose_flag_variants[-v]": {"message": "AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'", "text": "self = \nflag = '-v'\n\n @pytest.mark.parametrize(\"flag\", [\"-v\", \"--verbose\"])\n def test_verbose_flag_variants(self, flag):\n \"\"\"Test verbose flag variants.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n # Should still require book file\n> assert \"You must pass the name of a book configuration file\" in combined\nE AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:109: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestUnknownFlags.test_unknown_short_flag": {"message": "AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_unknown_short_flag(self):\n \"\"\"Unknown short flag should produce error.\"\"\"\n stdout, stderr, returncode = run_executable(\"-z\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined or \"unrecognized\" in combined.lower()\nE AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:89: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestMultiplePositionalArguments.test_two_positional_arguments_error": {"message": "AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_two_positional_arguments_error(self):\n \"\"\"Multiple positional arguments should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"book1.md\", \"book2.md\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined.lower()\nE AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:607: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestOutputFlag.test_output_flag_with_value[-o-output.html]": {"message": "AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')", "text": "self = \nflag = '-o', value = 'output.html'\n\n @pytest.mark.parametrize(\"flag,value\", [\n (\"-o\", \"output.html\"),\n (\"--output\", \"output.html\"),\n (\"--output=output.html\", None),\n ])\n def test_output_flag_with_value(self, flag, value):\n \"\"\"Output flag with value should be accepted (but requires --to).\"\"\"\n if value:\n stdout, stderr, returncode = run_executable(flag, value)\n else:\n stdout, stderr, returncode = run_executable(flag)\n \n combined = stdout + stderr\n # Should complain about missing --to\n> assert \"--to\" in combined or \"You must pass\" in combined\nE AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:224: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestValueTakingFlags.test_to_flag_missing_value[-t]": {"message": "AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \nflag = '-t'\n\n @pytest.mark.parametrize(\"flag\", [\"-t\", \"--to\"])\n def test_to_flag_missing_value(self, flag):\n \"\"\"To flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:180: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestPositionalArguments.test_book_file_before_flags": {"message": "AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_book_file_before_flags(self):\n \"\"\"Book file can be specified before flags.\"\"\"\n stdout, stderr, returncode = run_executable(\"nonexistent.book\", \"-v\")\n combined = stdout + stderr\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:424: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestSpecialCharactersInValues.test_output_with_special_chars": {"message": "AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_output_with_special_chars(self):\n \"\"\"Output file with special characters.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"file@#$.html\", \"-t\", \"html\")\n combined = stdout + stderr\n # Should accept filename with special chars\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:508: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestToFlag.test_to_flag_shows_possible_values": {"message": "AssertionError: assert 'possible values' in 'crowbook 0.17.0\\n'\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_to_flag_shows_possible_values(self):\n \"\"\"Error for invalid --to should show possible values.\"\"\"\n stdout, stderr, returncode = run_executable(\"-t\", \"invalid\")\n combined = stdout + stderr\n> assert \"possible values\" in combined.lower()\nE AssertionError: assert 'possible values' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:267: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestOutputFlag.test_output_flag_with_value[--output=output.html-None]": {"message": "AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')", "text": "self = \nflag = '--output=output.html', value = None\n\n @pytest.mark.parametrize(\"flag,value\", [\n (\"-o\", \"output.html\"),\n (\"--output\", \"output.html\"),\n (\"--output=output.html\", None),\n ])\n def test_output_flag_with_value(self, flag, value):\n \"\"\"Output flag with value should be accepted (but requires --to).\"\"\"\n if value:\n stdout, stderr, returncode = run_executable(flag, value)\n else:\n stdout, stderr, returncode = run_executable(flag)\n \n combined = stdout + stderr\n # Should complain about missing --to\n> assert \"--to\" in combined or \"You must pass\" in combined\nE AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:224: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestUnknownFlags.test_unknown_long_flag": {"message": "AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_unknown_long_flag(self):\n \"\"\"Unknown long flag should produce error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--unknown-flag\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined or \"unrecognized\" in combined.lower()\nE AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:81: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestBasicExecution.test_nonexistent_file_shows_error": {"message": "AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_nonexistent_file_shows_error(self):\n \"\"\"Running with nonexistent file should show an error.\"\"\"\n stdout, stderr, returncode = run_executable(\"nonexistent.book\")\n combined = stdout + stderr\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:49: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestSpecialCharactersInValues.test_output_with_spaces": {"message": "AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_output_with_spaces(self):\n \"\"\"Output file with spaces in name.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"my file.html\", \"-t\", \"html\")\n combined = stdout + stderr\n # Should accept filename with spaces\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:500: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestValueTakingFlags.test_output_flag_missing_value[--output]": {"message": "AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\n + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\n + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower", "text": "self = \nflag = '--output'\n\n @pytest.mark.parametrize(\"flag\", [\"-o\", \"--output\"])\n def test_output_flag_missing_value(self, flag):\n \"\"\"Output flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\nE + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\n\neval/tests/test_argument_parsing.py:172: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestFlagCombinations.test_verbose_and_quiet_long_flags_conflict": {"message": "AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_verbose_and_quiet_long_flags_conflict(self):\n \"\"\"--verbose and --quiet (long forms) should conflict.\"\"\"\n stdout, stderr, returncode = run_executable(\"--verbose\", \"--quiet\")\n combined = stdout + stderr\n> assert \"cannot be used with\" in combined or \"conflict\" in combined.lower()\nE AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:340: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestValueTakingFlags.test_create_flag_missing_value[-c]": {"message": "assert ('value is required' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n' or 'requires' in 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n')\n + where 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'.lower", "text": "self = \nflag = '-c'\n\n @pytest.mark.parametrize(\"flag\", [\"-c\", \"--create\"])\n def test_create_flag_missing_value(self, flag):\n \"\"\"Create flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE assert ('value is required' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n' or 'requires' in 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n')\nE + where 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'.lower\n\neval/tests/test_argument_parsing.py:196: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestValueTakingFlags.test_create_flag_missing_value[--create]": {"message": "assert ('value is required' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n' or 'requires' in 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n')\n + where 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'.lower", "text": "self = \nflag = '--create'\n\n @pytest.mark.parametrize(\"flag\", [\"-c\", \"--create\"])\n def test_create_flag_missing_value(self, flag):\n \"\"\"Create flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE assert ('value is required' in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n' or 'requires' in 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n')\nE + where 'crowbook 0.17.0\\n\"author: your name\"\\n\"title: your title\"\\n\"lang: en\"\\n\\n\"## output formats\"\\n\"# output.html: some_file.html\"\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'.lower\n\neval/tests/test_argument_parsing.py:196: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestToFlag.test_to_flag_invalid_format": {"message": "AssertionError: assert 'invalid value' in 'crowbook 0.17.0\\n'\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_to_flag_invalid_format(self):\n \"\"\"--to flag with invalid format should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"-t\", \"invalid\")\n combined = stdout + stderr\n> assert \"invalid value\" in combined.lower()\nE AssertionError: assert 'invalid value' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:259: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestValueTakingFlags.test_lang_flag_missing_value[-L]": {"message": "AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \nflag = '-L'\n\n @pytest.mark.parametrize(\"flag\", [\"-L\", \"--lang\"])\n def test_lang_flag_missing_value(self, flag):\n \"\"\"Lang flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:188: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestFlagCombinations.test_verbose_and_quiet_conflict": {"message": "AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_verbose_and_quiet_conflict(self):\n \"\"\"--verbose and --quiet should conflict.\"\"\"\n stdout, stderr, returncode = run_executable(\"-v\", \"-q\")\n combined = stdout + stderr\n> assert \"cannot be used with\" in combined or \"conflict\" in combined.lower()\nE AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:326: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestOutputAndToRequirements.test_output_and_to_together": {"message": "AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_output_and_to_together(self):\n \"\"\"--output and --to together should work.\"\"\"\n stdout, stderr, returncode = run_executable(\"-o\", \"test.html\", \"-t\", \"html\")\n combined = stdout + stderr\n # Should complain about missing book file only\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:384: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestBooleanFlags.test_verbose_flag_variants[--verbose]": {"message": "AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'", "text": "self = \nflag = '--verbose'\n\n @pytest.mark.parametrize(\"flag\", [\"-v\", \"--verbose\"])\n def test_verbose_flag_variants(self, flag):\n \"\"\"Test verbose flag variants.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n # Should still require book file\n> assert \"You must pass the name of a book configuration file\" in combined\nE AssertionError: assert 'You must pass the name of a book configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:109: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestDoubleHyphenSeparator.test_double_hyphen_alone": {"message": "AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_double_hyphen_alone(self):\n \"\"\"Double hyphen alone should still require book file.\"\"\"\n stdout, stderr, returncode = run_executable(\"--\")\n combined = stdout + stderr\n> assert \"You must pass\" in combined\nE AssertionError: assert 'You must pass' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:396: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestValueTakingFlags.test_lang_flag_missing_value[--lang]": {"message": "AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \nflag = '--lang'\n\n @pytest.mark.parametrize(\"flag\", [\"-L\", \"--lang\"])\n def test_lang_flag_missing_value(self, flag):\n \"\"\"Lang flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:188: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestValueTakingFlags.test_output_flag_missing_value[-o]": {"message": "AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\n + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\n + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower", "text": "self = \nflag = '-o'\n\n @pytest.mark.parametrize(\"flag\", [\"-o\", \"--output\"])\n def test_output_flag_missing_value(self, flag):\n \"\"\"Output flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\nE + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\n\neval/tests/test_argument_parsing.py:172: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestValueTakingFlags.test_to_flag_missing_value[--to]": {"message": "AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \nflag = '--to'\n\n @pytest.mark.parametrize(\"flag\", [\"-t\", \"--to\"])\n def test_to_flag_missing_value(self, flag):\n \"\"\"To flag without value should error.\"\"\"\n stdout, stderr, returncode = run_executable(flag)\n combined = stdout + stderr\n> assert \"value is required\" in combined or \"requires\" in combined.lower()\nE AssertionError: assert ('value is required' in 'CROWBOOK 0.17.0\\n' or 'requires' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:180: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestPositionalArguments.test_book_file_after_flags": {"message": "AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_book_file_after_flags(self):\n \"\"\"Book file can be specified after flags.\"\"\"\n stdout, stderr, returncode = run_executable(\"-v\", \"nonexistent.book\")\n combined = stdout + stderr\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:416: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestFlagCombinations.test_quiet_and_verbose_conflict": {"message": "AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_quiet_and_verbose_conflict(self):\n \"\"\"--quiet and --verbose should conflict (reversed order).\"\"\"\n stdout, stderr, returncode = run_executable(\"-q\", \"-v\")\n combined = stdout + stderr\n> assert \"cannot be used with\" in combined or \"conflict\" in combined.lower()\nE AssertionError: assert ('cannot be used with' in 'CROWBOOK 0.17.0\\n' or 'conflict' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:333: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestUnknownFlags.test_typo_in_flag": {"message": "AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_typo_in_flag(self):\n \"\"\"Typo in flag name should produce error.\"\"\"\n stdout, stderr, returncode = run_executable(\"--verbos\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined or \"unrecognized\" in combined.lower()\nE AssertionError: assert ('unexpected argument' in 'CROWBOOK 0.17.0\\n' or 'unrecognized' in 'crowbook 0.17.0\\n')\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:96: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestDoubleHyphenSeparator.test_double_hyphen_with_flag_like_argument": {"message": "AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'", "text": "self = \n\n def test_double_hyphen_with_flag_like_argument(self):\n \"\"\"Arguments after -- should be treated as positional.\"\"\"\n stdout, stderr, returncode = run_executable(\"--\", \"--verbose\")\n combined = stdout + stderr\n # Should treat --verbose as filename\n> assert \"Could not find file\" in combined\nE AssertionError: assert 'Could not find file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argument_parsing.py:404: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestMultiplePositionalArguments.test_three_positional_arguments_error": {"message": "AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower", "text": "self = \n\n def test_three_positional_arguments_error(self):\n \"\"\"Three positional arguments should error.\"\"\"\n stdout, stderr, returncode = run_executable(\"book1.md\", \"book2.md\", \"book3.md\")\n combined = stdout + stderr\n> assert \"unexpected argument\" in combined.lower()\nE AssertionError: assert 'unexpected argument' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\n\neval/tests/test_argument_parsing.py:614: AssertionError"}, "6538f3c3ff0d/eval.tests.test_argument_parsing.TestOutputFlag.test_output_flag_with_value[--output-output.html]": {"message": "AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')", "text": "self = \nflag = '--output', value = 'output.html'\n\n @pytest.mark.parametrize(\"flag,value\", [\n (\"-o\", \"output.html\"),\n (\"--output\", \"output.html\"),\n (\"--output=output.html\", None),\n ])\n def test_output_flag_with_value(self, flag, value):\n \"\"\"Output flag with value should be accepted (but requires --to).\"\"\"\n if value:\n stdout, stderr, returncode = run_executable(flag, value)\n else:\n stdout, stderr, returncode = run_executable(flag)\n \n combined = stdout + stderr\n # Should complain about missing --to\n> assert \"--to\" in combined or \"You must pass\" in combined\nE AssertionError: assert ('--to' in 'CROWBOOK 0.17.0\\n' or 'You must pass' in 'CROWBOOK 0.17.0\\n')\n\neval/tests/test_argument_parsing.py:224: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_missing_book_positional_reports_error[args0-expected_parts0]": {"message": "AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\n CROWBOOK 0.17.0\n \nassert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'", "text": "args = []\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_missing_book_positional_reports_error[args1-expected_parts1]": {"message": "AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\n CROWBOOK 0.17.0\n \nassert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'", "text": "args = ['-t', 'html']\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_create_requires_at_least_one_value": {"message": "assert \"a value is required for '--create ...'\" in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'", "text": "def test_create_requires_at_least_one_value():\n rc, text = combined_output(run([\"-c\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"a value is required for '--create ...'\" in text\nE assert \"a value is required for '--create ...'\" in 'CROWBOOK 0.17.0\\n\"author: Your name\"\\n\"title: Your title\"\\n\"lang: en\"\\n\\n\"## Output formats\"\\n\"# output.html: some_file.html\"\\n'\n\neval/tests/test_argparse_validation.py:158: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_enum_validation_for_to[args0-expected_parts0]": {"message": "AssertionError: Missing \"invalid value 'nope' for '--to '\" in output:\n CROWBOOK 0.17.0\n \nassert \"invalid value 'nope' for '--to '\" in 'CROWBOOK 0.17.0\\n'", "text": "args = ['--to', 'nope']\nexpected_parts = [\"invalid value 'nope' for '--to '\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\", \"nope\"], [\"invalid value 'nope' for '--to '\", \"possible values:\"]),\n ([\"-t\", \"nope\"], [\"invalid value 'nope' for '--to '\", \"possible values:\"]),\n ],\n )\n def test_enum_validation_for_to(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:143: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"invalid value 'nope' for '--to '\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"invalid value 'nope' for '--to '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"invalid value 'nope' for '--to '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_output_without_to_produces_required_argument_error": {"message": "AssertionError: assert 'required arguments were not provided' in 'CROWBOOK 0.17.0\\n'", "text": "def test_output_without_to_produces_required_argument_error():\n rc, text = combined_output(run([\"-o=out.html\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"required arguments were not provided\" in text\nE AssertionError: assert 'required arguments were not provided' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:150: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_missing_book_positional_reports_error[args2-expected_parts2]": {"message": "AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\n CROWBOOK 0.17.0\n \nassert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'", "text": "args = ['--to', 'html']\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_value_flags_require_value[args4-expected_parts4]": {"message": "AssertionError: Missing \"a value is required for '--print-template '\" in output:\n CROWBOOK 0.17.0\n \nassert \"a value is required for '--print-template '\" in 'CROWBOOK 0.17.0\\n'", "text": "args = ['--print-template']\nexpected_parts = [\"a value is required for '--print-template '\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"a value is required for '--print-template '\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--print-template '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--print-template '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_enum_validation_for_to[args1-expected_parts1]": {"message": "AssertionError: Missing \"invalid value 'nope' for '--to '\" in output:\n CROWBOOK 0.17.0\n \nassert \"invalid value 'nope' for '--to '\" in 'CROWBOOK 0.17.0\\n'", "text": "args = ['-t', 'nope']\nexpected_parts = [\"invalid value 'nope' for '--to '\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\", \"nope\"], [\"invalid value 'nope' for '--to '\", \"possible values:\"]),\n ([\"-t\", \"nope\"], [\"invalid value 'nope' for '--to '\", \"possible values:\"]),\n ],\n )\n def test_enum_validation_for_to(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:143: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"invalid value 'nope' for '--to '\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"invalid value 'nope' for '--to '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"invalid value 'nope' for '--to '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_unknown_flag_is_rejected[args0-expected_parts0]": {"message": "AssertionError: Missing \"unexpected argument '--no-such-flag' found\" in output:\n CROWBOOK 0.17.0\n \nassert \"unexpected argument '--no-such-flag' found\" in 'CROWBOOK 0.17.0\\n'", "text": "args = ['--no-such-flag']\nexpected_parts = [\"unexpected argument '--no-such-flag' found\", 'Usage: executable']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--no-such-flag\"], [\"unexpected argument '--no-such-flag' found\", \"Usage: executable\"]),\n ([\"--nonexistent-flag\"], [\"unexpected argument '--nonexistent-flag' found\", \"Usage: executable\"]),\n ],\n )\n def test_unknown_flag_is_rejected(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:59: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"unexpected argument '--no-such-flag' found\", 'Usage: executable']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"unexpected argument '--no-such-flag' found\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"unexpected argument '--no-such-flag' found\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_value_flags_require_value[args5-expected_parts5]": {"message": "AssertionError: Missing \"a value is required for '--lang '\" in output:\n CROWBOOK 0.17.0\n \nassert \"a value is required for '--lang '\" in 'CROWBOOK 0.17.0\\n'", "text": "args = ['--lang'], expected_parts = [\"a value is required for '--lang '\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n', parts = [\"a value is required for '--lang '\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--lang '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--lang '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_double_dash_treats_following_as_positional_not_flag": {"message": "assert \"Could not find file '--no-such-flag' for book\" in 'CROWBOOK 0.17.0\\n'", "text": "def test_double_dash_treats_following_as_positional_not_flag():\n rc, text = combined_output(run([\"--\", \"--no-such-flag\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n # Now it is treated as BOOK path, so the error changes.\n assert \"unexpected argument\" not in text\n> assert \"Could not find file '--no-such-flag' for book\" in text\nE assert \"Could not find file '--no-such-flag' for book\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:75: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_unknown_flag_suggests_double_dash_to_pass_as_value": {"message": "assert \"tip: to pass '--no-such-flag' as a value, use '-- --no-such-flag'\" in 'CROWBOOK 0.17.0\\n'", "text": "def test_unknown_flag_suggests_double_dash_to_pass_as_value():\n rc, text = combined_output(run([\"--no-such-flag\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"tip: to pass '--no-such-flag' as a value, use '-- --no-such-flag'\" in text\nE assert \"tip: to pass '--no-such-flag' as a value, use '-- --no-such-flag'\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:66: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_set_requires_at_least_two_values": {"message": "assert \"2 values required by '--set ...'; only 1 was provided\" in 'CROWBOOK 0.17.0\\n'", "text": "def test_set_requires_at_least_two_values():\n rc, text = combined_output(run([\"--set\", \"foo\"]))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert \"2 values required by '--set ...'; only 1 was provided\" in text\nE assert \"2 values required by '--set ...'; only 1 was provided\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:165: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_value_flags_require_value[args0-expected_parts0]": {"message": "AssertionError: Missing \"a value is required for '--to '\" in output:\n CROWBOOK 0.17.0\n \nassert \"a value is required for '--to '\" in 'CROWBOOK 0.17.0\\n'", "text": "args = ['--to']\nexpected_parts = [\"a value is required for '--to '\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"a value is required for '--to '\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--to '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--to '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_unknown_flag_is_rejected[args1-expected_parts1]": {"message": "AssertionError: Missing \"unexpected argument '--nonexistent-flag' found\" in output:\n CROWBOOK 0.17.0\n \nassert \"unexpected argument '--nonexistent-flag' found\" in 'CROWBOOK 0.17.0\\n'", "text": "args = ['--nonexistent-flag']\nexpected_parts = [\"unexpected argument '--nonexistent-flag' found\", 'Usage: executable']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--no-such-flag\"], [\"unexpected argument '--no-such-flag' found\", \"Usage: executable\"]),\n ([\"--nonexistent-flag\"], [\"unexpected argument '--nonexistent-flag' found\", \"Usage: executable\"]),\n ],\n )\n def test_unknown_flag_is_rejected(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:59: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"unexpected argument '--nonexistent-flag' found\", 'Usage: executable']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"unexpected argument '--nonexistent-flag' found\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"unexpected argument '--nonexistent-flag' found\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_missing_book_positional_reports_error[args3-expected_parts3]": {"message": "AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\n CROWBOOK 0.17.0\n \nassert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'", "text": "args = ['-t', 'html', '-o', 'out.html']\nexpected_parts = ['ERROR You must pass the name of a book configuration file.']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"--to\", \"html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ([\"-t\", \"html\", \"-o\", \"out.html\"], [\"ERROR You must pass the name of a book configuration file.\"]),\n ],\n )\n def test_missing_book_positional_reports_error(args, expected_parts):\n rc, text = combined_output(run(args))\n # NOTE: this executable returns 0 even on argument errors; tests assert behavior.\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:45: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = ['ERROR You must pass the name of a book configuration file.']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing 'ERROR You must pass the name of a book configuration file.' in output:\nE CROWBOOK 0.17.0\nE \nE assert 'ERROR You must pass the name of a book configuration file.' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_value_flags_require_value[args2-expected_parts2]": {"message": "AssertionError: Missing \"a value is required for '--output '\" in output:\n usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\n [--set SET [SET ...]]\n [book]\n executable: error: argument -o/--output: expected one argument\n \nassert \"a value is required for '--output '\" in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'", "text": "args = ['--output']\nexpected_parts = [\"a value is required for '--output '\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\nparts = [\"a value is required for '--output '\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--output '\" in output:\nE usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\nE [--set SET [SET ...]]\nE [book]\nE executable: error: argument -o/--output: expected one argument\nE \nE assert \"a value is required for '--output '\" in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_value_flags_require_value[args1-expected_parts1]": {"message": "AssertionError: Missing \"a value is required for '--to '\" in output:\n CROWBOOK 0.17.0\n \nassert \"a value is required for '--to '\" in 'CROWBOOK 0.17.0\\n'", "text": "args = ['-t']\nexpected_parts = [\"a value is required for '--to '\", 'possible values:']\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'CROWBOOK 0.17.0\\n'\nparts = [\"a value is required for '--to '\", 'possible values:']\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--to '\" in output:\nE CROWBOOK 0.17.0\nE \nE assert \"a value is required for '--to '\" in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "52fd780a87d4/eval.tests.test_argparse_validation.test_value_flags_require_value[args3-expected_parts3]": {"message": "AssertionError: Missing \"a value is required for '--output '\" in output:\n usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\n [--set SET [SET ...]]\n [book]\n executable: error: argument -o/--output: expected one argument\n \nassert \"a value is required for '--output '\" in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'", "text": "args = ['-o'], expected_parts = [\"a value is required for '--output '\"]\n\n @pytest.mark.parametrize(\n \"args, expected_parts\",\n [\n ([\"--to\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"-t\"], [\"a value is required for '--to '\", \"possible values:\"]),\n ([\"--output\"], [\"a value is required for '--output '\"]),\n ([\"-o\"], [\"a value is required for '--output '\"]),\n ([\"--print-template\"], [\"a value is required for '--print-template '\"]),\n ([\"--lang\"], [\"a value is required for '--lang '\"]),\n ],\n )\n def test_value_flags_require_value(args, expected_parts):\n rc, text = combined_output(run(args))\n # exit code differs: clap parser errors use 2; runtime errors use 0\n assert rc in (0, 2)\n> assert_contains_all(text, expected_parts)\n\neval/tests/test_argparse_validation.py:129: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\nparts = [\"a value is required for '--output '\"]\n\n def assert_contains_all(text: str, parts):\n for part in parts:\n> assert part in text, f\"Missing {part!r} in output:\\n{text}\"\nE AssertionError: Missing \"a value is required for '--output '\" in output:\nE usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\nE [--set SET [SET ...]]\nE [book]\nE executable: error: argument -o/--output: expected one argument\nE \nE assert \"a value is required for '--output '\" in 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'\n\neval/tests/test_argparse_validation.py:28: AssertionError"}, "6e1109189421/eval.tests.test_single_render_io.test_single_epub_to_stdout_is_zip_bytes_and_warns_on_stderr": {"message": "AssertionError: assert b'CR' == b'PK'\n \n At index 0 diff: b'C' != b'P'\n \n Full diff:\n - b'PK'\n + b'CR'", "text": "def test_single_epub_to_stdout_is_zip_bytes_and_warns_on_stderr():\n with TempFiles() as tf:\n md = tf.create(\"a.md\", \"# Hi\\n\")\n res = run(\"-s\", str(md), \"-t\", \"epub\")\n assert res.returncode == 0\n> assert res.stdout[:2] == b\"PK\" # zip local file header\nE AssertionError: assert b'CR' == b'PK'\nE \nE At index 0 diff: b'C' != b'P'\nE \nE Full diff:\nE - b'PK'\nE + b'CR'\n\neval/tests/test_single_render_io.py:38: AssertionError"}, "6e1109189421/eval.tests.test_single_render_io.test_single_html_with_output_file_creates_file_no_stdout": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\n \n Full diff:\n - b''\n + (b'CROWBOOK 0.17.0\\n')", "text": "def test_single_html_with_output_file_creates_file_no_stdout():\n with TempFiles() as tf:\n md = tf.create(\n \"story.md\",\n \"\"\"\\\n ---\n author: Me\n title: Test\n output: [html]\n ---\n \n # Hello\n \n Some *text*.\n \"\"\",\n )\n out = tf.p(\"out.html\")\n res = run(\"-s\", str(md), \"-t\", \"html\", \"-o\", str(out))\n assert res.returncode == 0\n> assert res.stdout == b\"\"\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\nE \nE Full diff:\nE - b''\nE + (b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_single_render_io.py:24: AssertionError"}, "6e1109189421/eval.tests.test_errors_io.test_nonexistent_book_file_errors_to_stderr_exit_0": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\n \n Full diff:\n - b''\n + (b'CROWBOOK 0.17.0\\n')", "text": "def test_nonexistent_book_file_errors_to_stderr_exit_0():\n with TempFiles() as tf:\n missing = tf.p(\"missing.book\")\n res = run(str(missing))\n assert res.returncode == 0\n> assert res.stdout == b\"\"\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\nE \nE Full diff:\nE - b''\nE + (b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_errors_io.py:17: AssertionError"}, "6e1109189421/eval.tests.test_help_and_meta_io.test_help_to_stdout_and_exit_0": {"message": "AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_help_to_stdout_and_exit_0():\n res = run(\"--help\")\n assert res.returncode == 0\n> assert b\"USAGE:\" in res.stdout\nE AssertionError: assert b'USAGE:' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_help_and_meta_io.py:7: AssertionError"}, "6e1109189421/eval.tests.test_errors_io.test_no_args_errors_to_stderr_exit_0": {"message": "AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\n \n Full diff:\n - b''\n + (b'CROWBOOK 0.17.0\\n')", "text": "def test_no_args_errors_to_stderr_exit_0():\n res = run()\n assert res.returncode == 0\n> assert res.stdout == b\"\"\nE AssertionError: assert b'CROWBOOK 0.17.0\\n' == b''\nE \nE Full diff:\nE - b''\nE + (b'CROWBOOK 0.17.0\\n')\n\neval/tests/test_errors_io.py:7: AssertionError"}, "6e1109189421/eval.tests.test_help_and_meta_io.test_list_options_prints_to_stdout": {"message": "AssertionError: assert b'CROWBOOK' in b''\n + where b'' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stderr", "text": "def test_list_options_prints_to_stdout():\n res = run(\"--list-options\")\n assert res.returncode == 0\n assert b\"METADATA\" in res.stdout\n> assert b\"CROWBOOK\" in res.stderr\nE AssertionError: assert b'CROWBOOK' in b''\nE + where b'' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stderr\n\neval/tests/test_help_and_meta_io.py:22: AssertionError"}, "6e1109189421/eval.tests.test_help_and_meta_io.test_print_template_goes_to_stdout": {"message": "AssertionError: assert b'body' in b'CROWBOOK 0.17.0\\n'\n + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout", "text": "def test_print_template_goes_to_stdout():\n res = run(\"--print-template\", \"html.css\")\n assert res.returncode == 0\n> assert b\"body\" in res.stdout\nE AssertionError: assert b'body' in b'CROWBOOK 0.17.0\\n'\nE + where b'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--print-template', 'html.css'], returncode=0, stdout=b'CROWBOOK 0.17.0\\n', stderr=b'').stdout\n\neval/tests/test_help_and_meta_io.py:29: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestErrorMessages.test_conflicting_flags_error": {"message": "AssertionError: assert 0 == 2\n + where 0 = CompletedProcess(args=['/workspace/executable', '--verbose', '--quiet', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "self = \n\n def test_conflicting_flags_error(self):\n \"\"\"Test that conflicting flags produce errors.\"\"\"\n # --verbose and --quiet conflict\n result = run(\"--verbose\", \"--quiet\", \"test.book\")\n \n # Should error due to conflicting flags\n> assert result.returncode == 2 # clap returns 2 for usage errors\nE AssertionError: assert 0 == 2\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--verbose', '--quiet', 'test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:275: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestArgumentHandling.test_common_subcommand_names_treated_as_files[show]": {"message": "AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')", "text": "self = \narg = 'show'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestArgumentHandling.test_common_subcommand_names_treated_as_files[help]": {"message": "AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')", "text": "self = \narg = 'help'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestArgumentHandling.test_common_subcommand_names_treated_as_files[list]": {"message": "AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')", "text": "self = \narg = 'list'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestNoSubcommandAliases.test_no_short_subcommand_aliases": {"message": "AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')", "text": "self = \n\n def test_no_short_subcommand_aliases(self):\n \"\"\"Verify there are no short aliases for subcommands.\"\"\"\n # In subcommand CLIs, you might have: git co = git checkout\n # This executable doesn't have that pattern\n \n # Test that single letters after the command are not subcommands\n for letter in ['a', 'b', 'i', 'r']:\n result = run(letter)\n # Should treat as filename\n output = (result.stdout + result.stderr).lower()\n> assert \"error\" in output or \"could not\" in output or \"failed\" in output\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:309: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestArgumentHandling.test_list_options_flag": {"message": "AssertionError: assert 47 > 100\n + where 47 = len('CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\n + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdout", "text": "self = \n\n def test_list_options_flag(self):\n \"\"\"Test --list-options flag (common functionality).\"\"\"\n result = run(\"--list-options\")\n assert result.returncode == 0\n # Should output information about options\n> assert len(result.stdout) > 100 # Should be substantial output\nE AssertionError: assert 47 > 100\nE + where 47 = len('CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n')\nE + where 'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout='CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:135: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestSingleCommandInterface.test_invalid_format_to_flag": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--to', 'invalid_format', '/tmp/pytest-of-root/pytest-13/popen-gw19/test_invalid_format_to_flag0/test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "self = \ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-13/popen-gw19/test_invalid_format_to_flag0')\n\n def test_invalid_format_to_flag(self, tmp_path):\n \"\"\"Test --to flag with invalid format.\"\"\"\n test_file = tmp_path / \"test.book\"\n test_file.write_text(\"title: Test\\n\")\n \n result = run(\"--to\", \"invalid_format\", str(test_file))\n # Should error due to invalid format value\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--to', 'invalid_format', '/tmp/pytest-of-root/pytest-13/popen-gw19/test_invalid_format_to_flag0/test.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:209: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestSingleCommandInterface.test_single_mode_flag": {"message": "AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower\n + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout", "text": "self = \n\n def test_single_mode_flag(self):\n \"\"\"Test --single flag for processing single Markdown files.\"\"\"\n result = run(\"--single\", \"--help\")\n assert result.returncode == 0\n # Help should still work with --single flag\n> assert \"usage:\" in result.stdout.lower()\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--single', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:177: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestNoSubcommandArchitecture.test_help_shows_no_subcommands": {"message": "AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'", "text": "self = \n\n def test_help_shows_no_subcommands(self):\n \"\"\"Verify --help output doesn't list subcommands.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n output = result.stdout.lower()\n \n # Should not have a subcommands section\n assert \"subcommands:\" not in output\n assert \"commands:\" not in output\n \n # Should have USAGE and OPTIONS sections typical of flat CLI\n> assert \"usage:\" in output\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\n\ntests/test_subcommand_routing.py:60: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestNoSubcommandArchitecture.test_no_args_shows_error_not_subcommand_list": {"message": "AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'must pass' in 'crowbook 0.17.0\\n')", "text": "self = \n\n def test_no_args_shows_error_not_subcommand_list(self):\n \"\"\"Running without arguments should show error, not list subcommands.\"\"\"\n result = run()\n \n # Exit code 0 indicates it outputs something (error message)\n assert result.returncode == 0\n \n # Check both stdout and stderr since error message goes to stderr\n output = (result.stdout + result.stderr).lower()\n # Should show an error about missing file\n> assert \"error\" in output or \"must pass\" in output\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'must pass' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:73: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestArgumentHandling.test_common_subcommand_names_treated_as_files[init]": {"message": "AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')", "text": "self = \narg = 'init'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestArgumentHandling.test_common_subcommand_names_treated_as_files[build]": {"message": "AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')", "text": "self = \narg = 'build'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestSingleCommandInterface.test_output_flag_requires_to_flag": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--output', 'test.pdf', 'nonexistent.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "self = \n\n def test_output_flag_requires_to_flag(self):\n \"\"\"Test that --output requires --to flag.\"\"\"\n # This tests argument dependencies in the flat command structure\n result = run(\"--output\", \"test.pdf\", \"nonexistent.book\")\n \n # Should error about missing --to flag\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--output', 'test.pdf', 'nonexistent.book'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:185: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestArgumentHandling.test_common_subcommand_names_treated_as_files[remove]": {"message": "AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')", "text": "self = \narg = 'remove'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestHelpConsistency.test_no_subcommand_help_pattern": {"message": "AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')", "text": "self = \n\n def test_no_subcommand_help_pattern(self):\n \"\"\"Verify there's no --help pattern.\"\"\"\n # In subcommand-based CLIs, you'd have: cmd subcommand --help\n # This should not exist here\n result = run(\"build\", \"--help\")\n \n # Should treat \"build\" as a filename, not a subcommand\n # So this should error about file not found, not show build-specific help\n output = (result.stdout + result.stderr).lower()\n> assert \"error\" in output or \"could not\" in output or \"failed\" in output\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:235: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestErrorMessages.test_missing_required_argument": {"message": "AssertionError: assert ('requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'value' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\n + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\n + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\n + where 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = CompletedProcess(args=['/workspace/executable', '--output'], returncode=2, stdout='', stderr='usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n').stderr\n + and 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\n + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\n + where 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = CompletedProcess(args=['/workspace/executable', '--output'], returncode=2, stdout='', stderr='usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n').stderr", "text": "self = \n\n def test_missing_required_argument(self):\n \"\"\"Test error when required argument is missing for a flag.\"\"\"\n result = run(\"--output\")\n \n # Should error about missing value\n assert result.returncode != 0\n> assert \"requires\" in result.stderr.lower() or \"value\" in result.stderr.lower()\nE AssertionError: assert ('requires' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' or 'value' in 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n')\nE + where 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\nE + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\nE + where 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = CompletedProcess(args=['/workspace/executable', '--output'], returncode=2, stdout='', stderr='usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n').stderr\nE + and 'usage: executable [-v] [-s] [-o output] [-s] [-c [create ...]] [-l]\\n [--set set [set ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = ()\nE + where = 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n'.lower\nE + where 'usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n' = CompletedProcess(args=['/workspace/executable', '--output'], returncode=2, stdout='', stderr='usage: executable [-V] [-s] [-o OUTPUT] [-S] [-c [CREATE ...]] [-l]\\n [--set SET [SET ...]]\\n [book]\\nexecutable: error: argument -o/--output: expected one argument\\n').stderr\n\ntests/test_subcommand_routing.py:284: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestNoSubcommandArchitecture.test_help_flag_works": {"message": "AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower\n + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout", "text": "self = \n\n def test_help_flag_works(self):\n \"\"\"Test that --help flag works.\"\"\"\n result = run(\"--help\")\n assert result.returncode == 0\n assert \"crowbook\" in result.stdout.lower()\n> assert \"usage:\" in result.stdout.lower()\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:90: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestArgumentHandling.test_common_subcommand_names_treated_as_files[add]": {"message": "AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')", "text": "self = \narg = 'add'\n\n @pytest.mark.parametrize(\"arg\", [\n \"add\",\n \"remove\",\n \"init\",\n \"build\",\n \"list\",\n \"show\",\n \"help\"\n ])\n def test_common_subcommand_names_treated_as_files(self, arg):\n \"\"\"\n Common subcommand names should be treated as file arguments.\n Since these files don't exist, we expect file-not-found errors.\n \"\"\"\n result = run(arg)\n \n # Should fail because the file doesn't exist\n # or show some error about the file\n output = result.stdout + result.stderr\n output_lower = output.lower()\n \n # Should mention the file or path somehow, or show an error\n # The executable returns 0 even for errors, but outputs error message\n> assert \"error\" in output_lower or \"could not\" in output_lower or \"failed\" in output_lower\nE AssertionError: assert ('error' in 'crowbook 0.17.0\\n' or 'could not' in 'crowbook 0.17.0\\n' or 'failed' in 'crowbook 0.17.0\\n')\n\ntests/test_subcommand_routing.py:119: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestArgumentHandling.test_unknown_flag_produces_error": {"message": "AssertionError: assert 0 != 0\n + where 0 = CompletedProcess(args=['/workspace/executable', '--nonexistent-flag'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode", "text": "self = \n\n def test_unknown_flag_produces_error(self):\n \"\"\"Test that unknown flags produce appropriate errors.\"\"\"\n result = run(\"--nonexistent-flag\")\n \n # clap should return non-zero for unknown flags\n> assert result.returncode != 0\nE AssertionError: assert 0 != 0\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--nonexistent-flag'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').returncode\n\ntests/test_subcommand_routing.py:126: AssertionError"}, "f583a5a1b4d7/tests.test_subcommand_routing.TestHelpConsistency.test_help_output_consistent": {"message": "AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\n + where 'crowbook 0.17.0\\n' = ()\n + where = 'CROWBOOK 0.17.0\\n'.lower\n + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout", "text": "self = \n\n def test_help_output_consistent(self):\n \"\"\"Test that --help always shows the same output.\"\"\"\n result1 = run(\"--help\")\n result2 = run(\"-h\")\n \n assert result1.returncode == 0\n assert result2.returncode == 0\n # Both should show similar content\n> assert \"usage:\" in result1.stdout.lower()\nE AssertionError: assert 'usage:' in 'crowbook 0.17.0\\n'\nE + where 'crowbook 0.17.0\\n' = ()\nE + where = 'CROWBOOK 0.17.0\\n'.lower\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\ntests/test_subcommand_routing.py:223: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_parser_horizontal_rule_via_single_html": {"message": "assert 'a paragraph' in '

            '", "text": "def test_ext_parser_horizontal_rule_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::rule\n \n Original internal behavior:\n A paragraph, then '****' becomes Token::Rule, then another paragraph.\n \n Upward trace:\n `-s` mode parses markdown; parser turns thematic break into rule token.\n \n Downward trace:\n HTML renderer outputs
            or
            between paragraphs.\n \n External test:\n Render markdown and assert there's an
            assert \"a paragraph\" in html\nE assert 'a paragraph' in '

            '\n\neval/tests/test_cli_externalized.py:247: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_parser_strong_and_emphasis_via_single_html": {"message": "assert 'normal emphasis' in '

            '", "text": "def test_ext_parser_strong_and_emphasis_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::strong_emphasis\n \n Original internal behavior:\n *...* becomes Emphasis; **...** becomes Strong.\n \n Upward trace:\n `-s` triggers parsing.\n \n Downward trace:\n HTML renderer outputs and .\n \n External test:\n Render markdown and assert both tags exist with expected contents.\n \"\"\"\n \n md = \"*normal emphasis*\\n\\n**strong emphasis**\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"normal emphasis\" in html\nE assert 'normal emphasis' in '

            '\n\neval/tests/test_cli_externalized.py:329: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_parser_reference_link_via_single_html": {"message": "assert 'http://foo.bar' in '

            '", "text": "def test_ext_parser_reference_link_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::reference_link\n \n Original internal behavior:\n Reference link syntax [reference link][1] with [1]: http://foo.bar resolves.\n \n Upward trace:\n main -> single mode -> Parser::parse consumes whole doc including reference definitions.\n \n Downward trace:\n HTML renderer should emit reference link\n \n External test:\n Render markdown with a reference link and assert resolved href.\n \"\"\"\n \n md = \"[reference link][1]\\n\\n[1]: http://foo.bar\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"http://foo.bar\" in html\nE assert 'http://foo.bar' in '

            '\n\neval/tests/test_cli_externalized.py:221: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_parser_images_reference_and_standalone_via_single_html": {"message": "assert 'http://foo.bar/baz.png' in '

            '", "text": "def test_ext_parser_images_reference_and_standalone_via_single_html():\n \"\"\"Externalized from:\n - src/lib/tests/parser.rs::image_reference_inline\n - src/lib/tests/parser.rs::image_reference_standalone\n - src/lib/tests/parser.rs::image_standalone\n \n These three internal tests assert different image token shapes:\n - inline image within paragraph\n - standalone image (own line)\n - inline URL image treated as standalone (because it's the whole paragraph)\n \n Upward trace:\n `-s` mode parses markdown.\n \n Downward trace:\n HTML renderer outputs \"...\", either inside

            \n or possibly wrapped in figure-like markup.\n \n External test:\n Render three documents and assert that the expected src and alt/title appear.\n \"\"\"\n \n docs = [\n (\n \"Test: ![alt text][logo]\\n\\n[logo]: http://foo.bar/baz.png \\\"Title\\\"\\n\",\n \"http://foo.bar/baz.png\",\n \"alt text\",\n \"Title\",\n ),\n (\n \"![alt text][logo]\\n\\n[logo]: http://foo.bar/baz.png \\\"Title\\\"\\n\",\n \"http://foo.bar/baz.png\",\n \"alt text\",\n \"Title\",\n ),\n (\n \"![alt text](http://foo.bar/baz.png \\\"Title\\\")\\n\",\n \"http://foo.bar/baz.png\",\n \"alt text\",\n \"Title\",\n ),\n ]\n for md, src, alt, title in docs:\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0, r.stderr.decode(errors=\"replace\")\n html = out_html.read_text(errors=\"replace\")\n> assert src in html\nE assert 'http://foo.bar/baz.png' in '

            '\n\neval/tests/test_cli_externalized.py:406: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_parser_inline_code_escaped_via_single_html": {"message": "assert 'code' in '

            '", "text": "def test_ext_parser_inline_code_escaped_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::code\n \n Original internal behavior:\n Inline backticks produce Token::Code(\"code\").\n \n Upward trace:\n `-s` -> Parser\n \n Downward trace:\n HTML renderer outputs code in a paragraph.\n \n External test:\n Render markdown and assert code span is present.\n \"\"\"\n \n md = \"some `code` inlined\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"code\" in html\nE assert 'code' in '

            '\n\neval/tests/test_cli_externalized.py:355: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_parser_image_link_standalone_via_single_html": {"message": "assert 'http://foo.bar' in '

            '", "text": "def test_ext_parser_image_link_standalone_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::image_link_standalone\n \n Original internal behavior:\n A link whose contents is a standalone image token.\n \n Upward trace:\n `-s` mode parses markdown.\n \n Downward trace:\n HTML renderer emits \n \n External test:\n Render markdown and assert anchor href and image src both present.\n \"\"\"\n \n md = \"[![alt text](http://foo.bar/baz.png \\\"Title\\\")](http://foo.bar)\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"http://foo.bar\" in html\nE assert 'http://foo.bar' in '

            '\n\neval/tests/test_cli_externalized.py:433: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_parser_table_simple_via_single_html": {"message": "assert '

            '", "text": "def test_ext_parser_table_simple_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::table_simple\n \n Original internal behavior:\n Markdown table parses into Token::Table(3, ... with header + rows)\n \n Upward trace:\n `-s` -> Parser parses tables.\n \n Downward trace:\n HTML renderer outputs a
      with / and the cell texts.\n \n External test:\n Render markdown table and assert presence of
      assert \"

      '\n\neval/tests/test_cli_externalized.py:464: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_parser_fenced_code_blocks_via_single_html": {"message": "assert 'code block' in '

      '", "text": "def test_ext_parser_fenced_code_blocks_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::code_block\n \n Original internal behavior:\n Fenced code blocks parse into CodeBlock(lang, content) for both untagged and tagged fences.\n \n Upward trace:\n `-s` -> Parser::parse\n \n Downward trace:\n HTML renderer outputs
       for fences; language is emitted as class=\"language-rust\"\n          (or similar) on .\n    \n        External test:\n          Render fences and assert code content and presence of language marker.\n        \"\"\"\n    \n        md = \"normal paragraph\\n\\n```\\ncode block\\n```\\n\\n```rust\\nrust code block\\n```\\n\"\n        with tempfile.TemporaryDirectory() as td:\n            out_html = Path(td) / \"out.html\"\n            r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n            assert r.returncode == 0\n            html = out_html.read_text(errors=\"replace\")\n>           assert \"code block\" in html\nE           assert 'code block' in '

      '\n\neval/tests/test_cli_externalized.py:302: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_parser_blockquote_via_single_html": {"message": "assert 'normal paragraph' in '

      '", "text": "def test_ext_parser_blockquote_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::blockquote\n \n Original internal behavior:\n Lines starting with '>' produce a BlockQuote containing a Paragraph.\n \n Upward trace:\n `-s` -> parse markdown -> Parser\n \n Downward trace:\n HTML renderer outputs
      ...some blockquote...
      \n \n External test:\n Render markdown and assert blockquote exists and contains combined text.\n \"\"\"\n \n md = \"normal paragraph\\n\\n> some\\n> blockquote\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"normal paragraph\" in html\nE assert 'normal paragraph' in '

      '\n\neval/tests/test_cli_externalized.py:274: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_parser_headers_emphasis_via_single_html": {"message": "assert ('

      ' and '>Test' in '

      ')", "text": "def test_ext_parser_headers_emphasis_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::h_p_em\n \n Original internal behavior:\n Parser::parse turns setext header + emphasis into tokens:\n Header(1,\"Test\") and Paragraph(\"some \", Emphasis(\"emphasis\"),\" required\")\n \n Upward trace (CLI reachability):\n `-s/--single` makes CLI parse a single markdown file; main->Book::parse->Parser::parse.\n \n Downward trace (observability):\n Tokens are rendered by HTML renderer into

      and in output.\n \n External test:\n Feed same markdown via stdin and render to HTML; assert presence of

      Test

      \n and an emphasis tag around the word.\n \"\"\"\n \n md = \"Test\\n====\\n\\nsome *emphasis* required\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0, r.stderr.decode(errors=\"replace\")\n html = out_html.read_text(errors=\"replace\")\n> assert \"Test

      \" in html\nE assert ('

      ' and '>Test' in '

      ')\n\neval/tests/test_cli_externalized.py:169: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_load_config_via_set_and_list_options": {"message": "AssertionError: assert b'epub.version' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\n + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout", "text": "def test_ext_load_config_via_set_and_list_options():\n \"\"\"Externalized from: src/lib/tests/book.rs::load_config\n \n Original internal behavior:\n Book::read_config(config_str) parses YAML and sets options:\n author == \"Author\"\n title == \"Some title\"\n description == \"A long description\" (folded multiline)\n epub.version == 3\n \n Upward trace (CLI reachability):\n main() -> parse_args() -> Book::new -> set options is reachable via `--set`.\n Additionally, listing available options is reachable via `--list-options`.\n \n Downward trace (observability):\n Options are not printed directly during normal render, but `--list-options`\n prints the option keys. We can observe that the known key `epub.version` exists.\n For values: when rendering a single markdown file (-s), author/title are emitted\n into HTML /. Also, description affects metadata in some formats.\n \n External test:\n Render a minimal single markdown with `--set author/title/description/epub.version`\n to HTML and verify author+title appear in output; also ensure `--list-options`\n contains `epub.version`.\n \"\"\"\n \n r = run_cli(\"--list-options\")\n assert r.returncode == 0\n> assert b\"epub.version\" in r.stdout\nE AssertionError: assert b'epub.version' in b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n'\nE + where b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n' = CompletedProcess(args=['/workspace/executable', '--list-options'], returncode=0, stdout=b'CROWBOOK 0.17.0\\nMETADATA\\nauthor\\ntitle\\nlang\\n...\\n', stderr=b'').stdout\n\neval/tests/test_cli_externalized.py:114: AssertionError"}, "3cd87e647073/eval.tests.test_cli_externalized.test_ext_parser_inline_link_via_single_html": {"message": "assert 'http://foo.bar' in '<!DOCTYPE html><html lang=\"en\"><head><meta charset=\"utf-8\"><title>

      '", "text": "def test_ext_parser_inline_link_via_single_html():\n \"\"\"Externalized from: src/lib/tests/parser.rs::link_inline\n \n Original internal behavior:\n Parser::parse recognizes inline link [a link](http://foo.bar)\n \n Upward trace:\n `-s` -> parse markdown -> Parser::parse\n \n Downward trace:\n HTML renderer emits a link\n \n External test:\n Render minimal markdown and assert the link markup.\n \"\"\"\n \n md = \"[a link](http://foo.bar)\\n\"\n with tempfile.TemporaryDirectory() as td:\n out_html = Path(td) / \"out.html\"\n r = run_cli(\"-s\", \"-t\", \"html\", \"-o\", str(out_html), \"-\", stdin=md)\n assert r.returncode == 0\n html = out_html.read_text(errors=\"replace\")\n> assert \"http://foo.bar\" in html\nE assert 'http://foo.bar' in '

      '\n\neval/tests/test_cli_externalized.py:195: AssertionError"}, "bb21c29e365f/eval.tests.test_env_and_config.test_env_lang_switches_error_language": {"message": "AssertionError: assert 'ERROR' in ''", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw0/test_env_lang_switches_error_l0')\n\n def test_env_lang_switches_error_language(tmp_path):\n # Trigger a localized runtime error message by generating PDF without xelatex.\n md = tmp_path / \"book.md\"\n _write(md, PDF_ERROR_BOOK)\n \n r_en = run(\"--single\", md, \"--to\", \"pdf\", env={\"LANG\": \"en_US.UTF-8\"})\n r_fr = run(\"--single\", md, \"--to\", \"pdf\", env={\"LANG\": \"fr_FR.UTF-8\"})\n \n # crowbook reports errors on stderr but exits 0\n assert r_en.returncode == 0\n assert r_fr.returncode == 0\n \n err_en = r_en.stderr.decode(\"utf-8\", errors=\"replace\")\n err_fr = r_fr.stderr.decode(\"utf-8\", errors=\"replace\")\n \n> assert \"ERROR\" in err_en\nE AssertionError: assert 'ERROR' in ''\n\neval/tests/test_env_and_config.py:55: AssertionError"}, "bb21c29e365f/eval.tests.test_env_and_config.test_malformed_book_config_file_reports_parsing_error": {"message": "AssertionError: assert 'Error parsing configuration file' in 'CROWBOOK 0.17.0\\n'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw2/test_malformed_book_config_fil0')\n\n def test_malformed_book_config_file_reports_parsing_error(tmp_path):\n bad = tmp_path / \"bad.book\"\n _write(bad, \"title Conf Test\\n- ch1.md\\n\")\n \n r = run(bad)\n combined = (r.stdout + r.stderr).decode(\"utf-8\", errors=\"replace\")\n \n> assert \"Error parsing configuration file\" in combined\nE AssertionError: assert 'Error parsing configuration file' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_env_and_config.py:88: AssertionError"}, "bb21c29e365f/eval.tests.test_env_and_config.test_book_config_paths_resolve_relative_to_config_dir": {"message": "assert '' in 'CROWBOOK 0.17.0\\n'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw3/test_book_config_paths_resolve0')\n\n def test_book_config_paths_resolve_relative_to_config_dir(tmp_path):\n # Ensure chapter paths are resolved relative to the config file directory.\n bookdir = tmp_path / \"bookdir\"\n bookdir.mkdir()\n \n conf = bookdir / \"conf.book\"\n chapter = bookdir / \"ch1.md\"\n \n _write(\n conf,\n \"title: Path Test\\n\"\n \"lang: en\\n\"\n \"output: [\\\"html\\\"]\\n\"\n \"output.html: out.html\\n\\n\"\n \"- ch1.md\\n\",\n )\n _write(chapter, \"Hello\\n\")\n \n r = run(conf, \"--to\", \"html\", \"--output\", \"-\")\n assert r.returncode == 0\n out = r.stdout.decode(\"utf-8\", errors=\"replace\")\n> assert '' in out\nE assert '' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_env_and_config.py:113: AssertionError"}, "bb21c29e365f/eval.tests.test_env_and_config.test_cli_lang_overrides_env_lang": {"message": "AssertionError: assert 'Erreur durant' in ''", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-15/popen-gw1/test_cli_lang_overrides_env_la0')\n\n def test_cli_lang_overrides_env_lang(tmp_path):\n md = tmp_path / \"book.md\"\n _write(md, PDF_ERROR_BOOK)\n \n # Even with LANG=en, -L fr should force French runtime messages.\n r = run(\n \"-L\",\n \"fr\",\n \"--single\",\n md,\n \"--to\",\n \"pdf\",\n env={\"LANG\": \"en_US.UTF-8\"},\n )\n \n err = r.stderr.decode(\"utf-8\", errors=\"replace\")\n> assert \"Erreur durant\" in err\nE AssertionError: assert 'Erreur durant' in ''\n\neval/tests/test_env_and_config.py:78: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_double_dash_separator_treats_help_as_positional_and_errors": {"message": "AssertionError: assert 'CROWBOOK 0.17.0\\n' == ''\n \n + CROWBOOK 0.17.0", "text": "def test_double_dash_separator_treats_help_as_positional_and_errors():\n # After \"--\", arguments are treated as positional; here it tries to open a book file named \"--help\".\n r = run_cmd([\"--\", \"--help\"])\n assert r.returncode == 0\n> assert r.stdout == \"\"\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == ''\nE \nE + CROWBOOK 0.17.0\n\neval/tests/test_help_output.py:129: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_precedes_unknown_flag_and_exits_zero": {"message": "AssertionError: assert 'USAGE:' in 'CROWBOOK 0.17.0\\n'\n + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help', '--this-flag-does-not-exist'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout", "text": "def test_help_precedes_unknown_flag_and_exits_zero():\n # Behavior: --help takes precedence even with an unknown argument.\n r = run_cmd([\"--help\", \"--this-flag-does-not-exist\"])\n assert r.returncode == 0\n> assert \"USAGE:\" in r.stdout\nE AssertionError: assert 'USAGE:' in 'CROWBOOK 0.17.0\\n'\nE + where 'CROWBOOK 0.17.0\\n' = CompletedProcess(args=['/workspace/executable', '--help', '--this-flag-does-not-exist'], returncode=0, stdout='CROWBOOK 0.17.0\\n', stderr='').stdout\n\neval/tests/test_help_output.py:121: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--print-template]": {"message": "AssertionError: assert '--print-template' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--print-template'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--print-template' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--no-fancy]": {"message": "AssertionError: assert '--no-fancy' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--no-fancy'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--no-fancy' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--output]": {"message": "AssertionError: assert '--output' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--output'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--output' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-f]": {"message": "AssertionError: assert '-f' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-f'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-f' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--help]": {"message": "AssertionError: assert '--help' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--help'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--help' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--create]": {"message": "AssertionError: assert '--create' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--create'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--create' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-L]": {"message": "AssertionError: assert '-L' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-L'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-L' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--stats]": {"message": "AssertionError: assert '--stats' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--stats'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--stats' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_has_args_section": {"message": "AssertionError: assert 'ARGS:' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_has_args_section(help_text):\n> assert \"ARGS:\" in help_text\nE AssertionError: assert 'ARGS:' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:59: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_has_usage_section": {"message": "AssertionError: assert 'USAGE:' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_has_usage_section(help_text):\n> assert \"USAGE:\" in help_text\nE AssertionError: assert 'USAGE:' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:46: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-c]": {"message": "AssertionError: assert '-c' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-c'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-c' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-a]": {"message": "AssertionError: assert '-a' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-a'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-a' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--set]": {"message": "AssertionError: assert '--set' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--set'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--set' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-n]": {"message": "AssertionError: assert '-n' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-n'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-n' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--force-emoji]": {"message": "AssertionError: assert '--force-emoji' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--force-emoji'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--force-emoji' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-o]": {"message": "AssertionError: assert '-o' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-o'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-o' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--to]": {"message": "AssertionError: assert '--to' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--to'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--to' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-t]": {"message": "AssertionError: assert '-t' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-t'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-t' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-s]": {"message": "AssertionError: assert '-s' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-s'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-s' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-S]": {"message": "AssertionError: assert '-S' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-S'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-S' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--verbose]": {"message": "AssertionError: assert '--verbose' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--verbose'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--verbose' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-h]": {"message": "AssertionError: assert '-h' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-h'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-h' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-q]": {"message": "AssertionError: assert '-q' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-q'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-q' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--lang]": {"message": "AssertionError: assert '--lang' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--lang'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--lang' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--quiet]": {"message": "AssertionError: assert '--quiet' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--quiet'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--quiet' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_usage_line_mentions_options_and_book": {"message": "AssertionError: assert None is not None\n + where None = ('^\\\\s*executable\\\\s+\\\\[OPTIONS\\\\]\\\\s+\\\\[BOOK\\\\]\\\\s*$', 'CROWBOOK 0.17.0\\n', re.MULTILINE)\n + where = re.search\n + and re.MULTILINE = re.M", "text": "help_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_usage_line_mentions_options_and_book(help_text):\n # The actual usage synopsis line is indented.\n> assert re.search(r\"^\\s*executable\\s+\\[OPTIONS\\]\\s+\\[BOOK\\]\\s*$\", help_text, re.M) is not None\nE AssertionError: assert None is not None\nE + where None = ('^\\\\s*executable\\\\s+\\\\[OPTIONS\\\\]\\\\s+\\\\[BOOK\\\\]\\\\s*$', 'CROWBOOK 0.17.0\\n', re.MULTILINE)\nE + where = re.search\nE + and re.MULTILINE = re.M\n\neval/tests/test_help_output.py:51: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_has_options_section": {"message": "AssertionError: assert 'OPTIONS:' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_has_options_section(help_text):\n> assert \"OPTIONS:\" in help_text\nE AssertionError: assert 'OPTIONS:' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:55: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--list-options]": {"message": "AssertionError: assert '--list-options' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--list-options'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--list-options' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_baseline_help_text_matches_fixture_exactly": {"message": "AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'crowbook 0.1...th --single\\n'\n \n + CROWBOOK 0.17.0\n - crowbook 0.17.0 by \u00c9lisabeth Henry \n - Render a Markdown book in EPUB, PDF or HTML.\n - \n - USAGE:\n - executable [OPTIONS] [BOOK]...\n \n ...Full output truncated (38 lines hidden), use '-vv' to show", "text": "help_text = 'CROWBOOK 0.17.0\\n'\n\n def test_baseline_help_text_matches_fixture_exactly(help_text):\n fixture = (ROOT / \"eval\" / \"fixtures\" / \"help.txt\").read_text(encoding=\"utf-8\")\n> assert help_text == fixture\nE AssertionError: assert 'CROWBOOK 0.17.0\\n' == 'crowbook 0.1...th --single\\n'\nE \nE + CROWBOOK 0.17.0\nE - crowbook 0.17.0 by \u00c9lisabeth Henry \nE - Render a Markdown book in EPUB, PDF or HTML.\nE - \nE - USAGE:\nE - executable [OPTIONS] [BOOK]...\nE \nE ...Full output truncated (38 lines hidden), use '-vv' to show\n\neval/tests/test_help_output.py:136: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-V]": {"message": "AssertionError: assert '-V' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-V'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-V' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--single]": {"message": "AssertionError: assert '--single' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--single'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--single' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[-v]": {"message": "AssertionError: assert '-v' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '-v'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '-v' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--autograph]": {"message": "AssertionError: assert '--autograph' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--autograph'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--autograph' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_includes_book_arg_description": {"message": "AssertionError: assert '[BOOK]' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n'\n\n def test_help_includes_book_arg_description(help_text):\n> assert \"[BOOK]\" in help_text\nE AssertionError: assert '[BOOK]' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:101: AssertionError"}, "32f6d9a86e53/eval.tests.test_help_output.test_help_documents_flag[--version]": {"message": "AssertionError: assert '--version' in 'CROWBOOK 0.17.0\\n'", "text": "help_text = 'CROWBOOK 0.17.0\\n', flag = '--version'\n\n @pytest.mark.parametrize(\n \"flag\",\n [\n \"--help\",\n \"-h\",\n \"--version\",\n \"-V\",\n \"--verbose\",\n \"-v\",\n \"--quiet\",\n \"-q\",\n \"--output\",\n \"-o\",\n \"--to\",\n \"-t\",\n \"--create\",\n \"-c\",\n \"--list-options\",\n \"--set\",\n \"--print-template\",\n \"--lang\",\n \"-L\",\n \"--stats\",\n \"-S\",\n \"--single\",\n \"-s\",\n \"--no-fancy\",\n \"-n\",\n \"--autograph\",\n \"-a\",\n \"--force-emoji\",\n \"-f\",\n ],\n )\n def test_help_documents_flag(help_text, flag):\n> assert flag in help_text\nE AssertionError: assert '--version' in 'CROWBOOK 0.17.0\\n'\n\neval/tests/test_help_output.py:97: AssertionError"}, "549ea83da9dc/eval.tests.test_subcommand_dispatch.test_git_style_token_is_not_routed_as_subcommand[list]": {"message": "assert \"could not find file 'list'\" in 'crowbook 0.17.0'", "text": "token = 'list'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'list'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError"}, "549ea83da9dc/eval.tests.test_subcommand_dispatch.test_git_style_token_is_not_routed_as_subcommand[remove]": {"message": "assert \"could not find file 'remove'\" in 'crowbook 0.17.0'", "text": "token = 'remove'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'remove'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError"}, "549ea83da9dc/eval.tests.test_subcommand_dispatch.test_git_style_token_is_not_routed_as_subcommand[help]": {"message": "assert \"could not find file 'help'\" in 'crowbook 0.17.0'", "text": "token = 'help'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'help'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError"}, "549ea83da9dc/eval.tests.test_subcommand_dispatch.test_git_style_token_is_not_routed_as_subcommand[rm]": {"message": "assert \"could not find file 'rm'\" in 'crowbook 0.17.0'", "text": "token = 'rm'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'rm'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError"}, "549ea83da9dc/eval.tests.test_subcommand_dispatch.test_git_style_token_is_not_routed_as_subcommand[init]": {"message": "assert \"could not find file 'init'\" in 'crowbook 0.17.0'", "text": "token = 'init'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'init'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError"}, "549ea83da9dc/eval.tests.test_subcommand_dispatch.test_git_style_token_is_not_routed_as_subcommand[add]": {"message": "assert \"could not find file 'add'\" in 'crowbook 0.17.0'", "text": "token = 'add'\n\n @pytest.mark.parametrize(\"token\", [\"add\", \"remove\", \"rm\", \"list\", \"init\", \"help\"])\n def test_git_style_token_is_not_routed_as_subcommand(token):\n \"\"\"Random git-style tokens are not recognized as subcommands.\n \n They are treated as BOOK paths, yielding a \"could not find file\" error.\n \n Note: this program returns exit code 0 even on this error; tests lock this in.\n \"\"\"\n res = run(token)\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert f\"could not find file '{token}'\" in out\nE assert \"could not find file 'add'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:68: AssertionError"}, "549ea83da9dc/eval.tests.test_subcommand_dispatch.test_first_positional_arg_is_treated_as_book_path_not_subcommand": {"message": "assert \"could not find file 'add'\" in 'crowbook 0.17.0'", "text": "def test_first_positional_arg_is_treated_as_book_path_not_subcommand():\n \"\"\"Any first positional token is interpreted as BOOK, not a subcommand.\"\"\"\n main_help = norm(run(\"--help\").stdout)\n \n # A would-be subcommand token followed by --help should still show main help.\n res = run(\"add\", \"--help\")\n assert res.returncode == 0\n assert norm(res.stdout) == main_help\n \n # A would-be subcommand token alone is treated as a book path.\n res2 = run(\"add\")\n out2 = combined_output(res2).lower()\n> assert \"could not find file 'add'\" in out2\nE assert \"could not find file 'add'\" in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:54: AssertionError"}, "549ea83da9dc/eval.tests.test_subcommand_dispatch.test_no_args_reports_missing_book_file_not_help": {"message": "AssertionError: assert 'you must pass the name of a book configuration file' in 'crowbook 0.17.0'", "text": "def test_no_args_reports_missing_book_file_not_help():\n res = run()\n out = combined_output(res).lower()\n assert res.returncode == 0\n> assert \"you must pass the name of a book configuration file\" in out\nE AssertionError: assert 'you must pass the name of a book configuration file' in 'crowbook 0.17.0'\n\neval/tests/test_subcommand_dispatch.py:75: AssertionError"}}}