pytest_report.html

Report generated on 16-Apr-2022 at 22:51:54 by pytest-html v3.1.1

Environment

CI true
CI_COMMIT_REF_NAME 0.3.5
CI_COMMIT_REF_SLUG 0-3-5
CI_COMMIT_SHA e94d76344a5caace1c3b3e4bfcc767d3c1ade669
CI_COMMIT_TAG 0.3.5
CI_JOB_ID 2343027619
CI_JOB_NAME pytest
CI_JOB_STAGE test
CI_PIPELINE_ID 518239086
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 4-green.shared.runners-manager.gitlab.com/default
CI_RUNNER_ID 12270857
CI_RUNNER_TAGS gce, east-c, linux, ruby, mysql, postgres, mongo, git-annex, shared, docker
CI_SERVER yes
CI_SERVER_NAME GitLab
CI_SERVER_REVISION bb2bf136e29
CI_SERVER_VERSION 14.10.0-pre
GITLAB_CI true
GITLAB_USER_EMAIL r.andrej@gmail.com
GITLAB_USER_ID 917732
Packages {"pluggy": "1.0.0", "py": "1.11.0", "pytest": "6.2.5"}
Platform Linux-5.4.109+-x86_64-with-glibc2.31
Plugins {"cov": "2.12.1", "html": "3.1.1", "metadata": "2.0.1"}
Python 3.9.12

Summary

135 tests ran in 1.90 seconds.

135 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, pfxval2 = 1, pfxval3 = 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_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.3.5. * * 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.00
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.