pytest_report.html

Report generated on 13-Jul-2024 at 17:19:14 by pytest-html v3.2.0

Environment

CI true
CI_COMMIT_REF_NAME 0.4.0
CI_COMMIT_REF_SLUG 0-4-0
CI_COMMIT_SHA 9dd070d26409177350ae16e1982694eca2bd6e92
CI_COMMIT_TAG 0.4.0
CI_JOB_ID 7335181688
CI_JOB_NAME pytest312
CI_JOB_STAGE test
CI_PIPELINE_ID 1372497283
CI_PROJECT_DIR /builds/andrejr/csnake
CI_PROJECT_ID 7479865
CI_PROJECT_NAME csnake
CI_PROJECT_NAMESPACE andrejr
CI_PROJECT_PATH andrejr/csnake
CI_PROJECT_URL https://gitlab.com/andrejr/csnake
CI_REGISTRY registry.gitlab.com
CI_REGISTRY_IMAGE registry.gitlab.com/andrejr/csnake
CI_REGISTRY_USER gitlab-ci-token
CI_RUNNER_DESCRIPTION 2-green.saas-linux-small-amd64.runners-manager.gitlab.com/default
CI_RUNNER_ID 12270848
CI_RUNNER_TAGS ["saas-linux-small-amd64"]
CI_SERVER yes
CI_SERVER_NAME GitLab
CI_SERVER_REVISION efd75b0e35b
CI_SERVER_VERSION 17.2.0-pre
GITLAB_CI true
GITLAB_USER_EMAIL r.andrej@gmail.com
GITLAB_USER_ID 917732
Packages {"pluggy": "1.5.0", "pytest": "6.2.5"}
Platform Linux-5.15.154+-x86_64-with-glibc2.36
Plugins {"cov": "2.12.1", "html": "3.2.0", "metadata": "2.0.4"}
Python 3.11.9

Summary

136 tests ran in 3.48 seconds.

136 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes

Results

Result Test Duration Links
Passed tests/test_cconstructs.py::TestTypes::test_c_array_literal 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestTypes::test_c_struct_literal 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestTypes::test_int_literal 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestTypes::test_float_literal 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestTypes::test_c_basic_literal 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestTypes::test_c_extended_literal 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestTypes::test_c_literal 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_str 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_dict 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_np_matrix 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_np_ndarray 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_np_array 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_sp_array 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_sp_matrix 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_list_1d 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_tuple_1d 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_list_2d_nonfull_first_row_shorter 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_list_2d_nonfull_second_row_shorter 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestShape::test_list_2d_full 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestEnum::test_enum_init 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestEnum::test_enum_add_single_ok 0.00
------------------------------Captured stdout call------------------------------
enum somename { pfxval1 = 0, pfxval2, pfxval3 = 1, pfxval4 = 1 /* some comment */ };
Passed tests/test_cconstructs.py::TestEnum::test_enum_cvalue 0.00
------------------------------Captured stdout call------------------------------
enum somename { pfxval1 = *1000, pfxval2 = varname, pfxval3 = &varname /* some comment */ };
Passed tests/test_cconstructs.py::TestVariable::test_init_primitive_int 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_primitive_float 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_primitive_bool 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_primitive_str 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_gen_init_1d_array 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_gen_init_2d_array 0.00
------------------------------Captured stdout call------------------------------
int test[2][3] = { {0, 1, 2}, {0, 1, 2} };
Passed tests/test_cconstructs.py::TestVariable::test_gen_init_nested_2d_arrays 0.00
------------------------------Captured stdout call------------------------------
int test[2][3][4] = { { {0, 1, 2, 3}, {4, 5, 6, 7}, {8, 9, 10, 11} }, { {12, 13, 14, 15}, {16, 17, 18, 19}, {20, 21, 22, 23} } };
Passed tests/test_cconstructs.py::TestVariable::test_gen_init_flat_struct 0.00
------------------------------Captured stdout call------------------------------
int test = { .field1 = 2, .field2 = 3 };
Passed tests/test_cconstructs.py::TestVariable::test_gen_init_mixed_struct 0.00
------------------------------Captured stdout call------------------------------
int test = { .field1 = 2, .field2 = { .a = 5, .b = 10 }, .field3 = {4, 5, 6}, .field4 = 8 };
Passed tests/test_cconstructs.py::TestVariable::test_gen_init_mixed_struct_form 0.00
------------------------------Captured stdout call------------------------------
int test = { .field1 = 2, .field2 = { .a = 5, .b = 10 }, .field3 = {0x1e, 0x1f, 0x20}, .field4 = 8 };
Passed tests/test_cconstructs.py::TestVariable::test_gen_init_mixed_struct_nested_form 0.00
------------------------------Captured stdout call------------------------------
int test = { .field1 = { {2, 3}, {0b100, 0o13} }, .field2 = { .a = 5, .b = 0b1010 }, .field3 = {0x1e, 0x1f, 0x20}, .field4 = 8 };
Passed tests/test_cconstructs.py::TestVariable::test_declaration_property 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_declaration_property_with_comment 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_declaration_with_shape 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_initialization_without_value_fail 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_initialization_property 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_zero_level_formatted_literal 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_zero_level_formatted_literal_multiformat 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_str 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_other_var 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_addressof 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_dereference 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_typecast 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_1d_subscript 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_2d_subscript 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_2d_subscript_var 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_dot 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_arrow 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_generic_modifier 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_offset_of 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestVariable::test_init_text_modifier 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestStruct::test_init_ok 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestStruct::test_init_notok 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestStruct::test_add 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestStruct::test_str 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestGetVariable::test_variable 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestGetVariable::test_tuple 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestGetVariable::test_dict 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_init_ok 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_init_notok 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_init_qualifiers 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_add_arguments_on_init_ok 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_add_arguments_on_ok 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_add_argument_on_ok 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_add_code_str 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_add_code_str_list 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_add_code_codewriter 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_prototype_property 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_definition_property 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_generate_call_notok 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_generate_call_single_arg_not_iter 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFunction::test_generate_call 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFuncPtrVariable::test_funct_ptr_init 0.00
No log output captured.
Passed tests/test_cconstructs.py::TestFuncPtrVariable::test_funct_ptr_inside_struct 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_init_exceptions 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_init_ok 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_add_autogen_comment 0.00
------------------------------Captured stdout call------------------------------
/* * This file was automatically generated using csnake v0.4.0. * * This file should not be edited directly, any changes will be * overwritten next time the script is run. * Make any changes to the file 'test_codewriter.py', not this file. * * Source code for csnake is available at: * https://gitlab.com/andrejr/csnake * * csnake is also available on PyPI, at : * https://pypi.org/project/csnake */
Passed tests/test_codewriter.py::TestCodeWriter::test_add_license_comment 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_add_define 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_if_def_ok 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_if_def_nested_ok 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_if_def_nested_error 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_cpp_entry_exit 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_switch 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_include 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_add_enum 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_add_variable_declaration 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_add_variable_initialization 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_add_struct 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_add_function_prototype 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_add_function_definition 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_add_function_call 0.00
No log output captured.
Passed tests/test_codewriter.py::TestCodeWriter::test_write_to_file 0.00
No log output captured.
Passed tests/test_codewriterlite.py::TestCodeWriterLite::test_init_exceptions 0.00
No log output captured.
Passed tests/test_codewriterlite.py::TestCodeWriterLite::test_code_contents 0.00
------------------------------Captured stdout call------------------------------
l1 l2 il10 il11 il20 il21 il30 il31 { il40 il41 ii /* ignored indent */ } /* * some * comments * * more * comments * with a part commented erroneously */ l3 /* commented */ l4 l5 /* inline comment */ partial continuation end final
Passed tests/test_codewriterlite.py::TestCodeWriterLite::test_code_iteration 0.00
No log output captured.
Passed tests/test_codewriterlite.py::TestCodeWriterLite::test_str 0.00
No log output captured.
Passed tests/test_codewriterlite.py::TestCodeWriterLite::test_join_strings 0.00
No log output captured.
Passed tests/test_codewriterlite.py::TestCodeWriterLite::test_len 0.00
No log output captured.
Passed tests/test_codewriterlite.py::TestCodeWriterLite::test_getitem 0.00
No log output captured.
Passed tests/test_codewriterlite.py::TestCodeWriterLite::test_contains 0.00
No log output captured.
Passed tests/test_codewriterlite.py::TestCodeWriterLite::test_abcs 0.00
No log output captured.
Passed tests/test_pilconverter.py::TestImport::test_no_pil 0.00
No log output captured.
Passed tests/test_pilconverter.py::TestImport::test_yes_pil 0.04
No log output captured.
Passed tests/test_pilconverter.py::TestGeneration::test_not_image 0.00
No log output captured.
Passed tests/test_pilconverter.py::TestGeneration::test_rgb_to_rgb888 0.00
No log output captured.
Passed tests/test_pilconverter.py::TestGeneration::test_rgb_to_rgb565 0.00
No log output captured.
Passed tests/test_pilconverter.py::TestGeneration::test_rgba_to_argb8888 0.00
No log output captured.
Passed tests/test_pilconverter.py::TestGeneration::test_l_to_a8 0.00
No log output captured.
Passed tests/test_pilconverter.py::TestGeneration::test_unknown_color_combo 0.00
No log output captured.
Passed tests/test_utils.py::TestAssureStr::test_notstr 0.00
No log output captured.
Passed tests/test_utils.py::TestAssureStr::test_str 0.00
No log output captured.
Passed tests/test_utils.py::TestAssureStrOrNone::test_notstr 0.00
No log output captured.
Passed tests/test_utils.py::TestAssureStrOrNone::test_none 0.00
No log output captured.
Passed tests/test_utils.py::TestAssureStrOrNone::test_str 0.00
No log output captured.
Passed tests/test_utils.py::TestSeqGet::test_seq_get 0.00
No log output captured.
Passed tests/test_utils.py::TestSeqGet::test_default_get 0.00
No log output captured.
Passed tests/test_utils.py::TestSeqGet::test_neither_get 0.00
No log output captured.
Passed tests/test_utils.py::TestSeqGet::test_negative_index_in_range 0.00
No log output captured.
Passed tests/test_utils.py::TestSeqGet::test_negative_index_out_of_range 0.00
No log output captured.
Passed tests/test_utils.py::TestSublistsFromIterable::test_not_iterable 0.00
No log output captured.
Passed tests/test_utils.py::TestSublistsFromIterable::test_length_ok_inc 0.00
No log output captured.
Passed tests/test_utils.py::TestSublistsFromIterable::test_length_ok_ninc 0.00
No log output captured.
Passed tests/test_utils.py::TestSublistsFromIterable::test_length_notok_inc 0.00
No log output captured.
Passed tests/test_utils.py::TestSublistsFromIterable::test_length_notok_ninc 0.00
No log output captured.
Passed tests/test_utils.py::TestRgb888ToRgb565::test_ok_ints 0.00
No log output captured.
Passed tests/test_utils.py::TestRgb888ToRgb565::test_ok_bytes 0.00
No log output captured.
Passed tests/test_utils.py::TestRgb888ToRgb565::test_notseq 0.00
No log output captured.
Passed tests/test_utils.py::TestRgb888ToRgb565::test_wrongseq 0.00
No log output captured.
Passed tests/test_utils.py::TestBytesToInt::test_ints_ok 0.00
No log output captured.
Passed tests/test_utils.py::TestBytesToInt::test_bytes_ok 0.00
No log output captured.
Passed tests/test_utils.py::TestBytesToInt::test_gen_ok 0.00
No log output captured.
Passed tests/test_utils.py::TestBytesToInt::test_not_iterable 0.00
No log output captured.
Passed tests/test_utils.py::TestBytesToInt::test_wrong_iterable 0.00
No log output captured.