{ "coverage_information": [ { "branch_coverage": 88.0, "filepath": "/home/dirk/my_repositories/unittest/caching/pylibs/caching", "files": [ { "branch_coverage": 88.0, "filepath": "/home/dirk/my_repositories/unittest/caching/pylibs/caching/__init__.py", "fragments": [ { "coverage_state": "clean", "end": 24, "start": 1 }, { "coverage_state": "covered", "end": 25, "start": 25 }, { "coverage_state": "clean", "end": 26, "start": 26 }, { "coverage_state": "covered", "end": 32, "start": 27 }, { "coverage_state": "clean", "end": 33, "start": 33 }, { "coverage_state": "covered", "end": 38, "start": 34 }, { "coverage_state": "clean", "end": 39, "start": 39 }, { "coverage_state": "covered", "end": 40, "start": 40 }, { "coverage_state": "clean", "end": 41, "start": 41 }, { "coverage_state": "covered", "end": 44, "start": 42 }, { "coverage_state": "clean", "end": 46, "start": 45 }, { "coverage_state": "covered", "end": 47, "start": 47 }, { "coverage_state": "clean", "end": 80, "start": 48 }, { "coverage_state": "covered", "end": 86, "start": 81 }, { "coverage_state": "clean", "end": 87, "start": 87 }, { "coverage_state": "covered", "end": 88, "start": 88 }, { "coverage_state": "clean", "end": 89, "start": 89 }, { "coverage_state": "covered", "end": 97, "start": 90 }, { "coverage_state": "clean", "end": 98, "start": 98 }, { "coverage_state": "covered", "end": 99, "start": 99 }, { "coverage_state": "clean", "end": 106, "start": 100 }, { "coverage_state": "covered", "end": 109, "start": 107 }, { "coverage_state": "partially-covered", "end": 110, "start": 110 }, { "coverage_state": "covered", "end": 111, "start": 111 }, { "coverage_state": "clean", "end": 112, "start": 112 }, { "coverage_state": "uncovered", "end": 115, "start": 113 }, { "coverage_state": "covered", "end": 118, "start": 116 }, { "coverage_state": "partially-covered", "end": 119, "start": 119 }, { "coverage_state": "covered", "end": 124, "start": 120 }, { "coverage_state": "clean", "end": 125, "start": 125 }, { "coverage_state": "uncovered", "end": 126, "start": 126 }, { "coverage_state": "clean", "end": 127, "start": 127 }, { "coverage_state": "covered", "end": 128, "start": 128 }, { "coverage_state": "clean", "end": 129, "start": 129 }, { "coverage_state": "covered", "end": 130, "start": 130 }, { "coverage_state": "clean", "end": 131, "start": 131 }, { "coverage_state": "covered", "end": 133, "start": 132 }, { "coverage_state": "clean", "end": 134, "start": 134 }, { "coverage_state": "covered", "end": 135, "start": 135 }, { "coverage_state": "uncovered", "end": 137, "start": 136 }, { "coverage_state": "clean", "end": 138, "start": 138 }, { "coverage_state": "covered", "end": 139, "start": 139 }, { "coverage_state": "clean", "end": 142, "start": 140 }, { "coverage_state": "covered", "end": 143, "start": 143 }, { "coverage_state": "clean", "end": 144, "start": 144 }, { "coverage_state": "covered", "end": 147, "start": 145 }, { "coverage_state": "clean", "end": 148, "start": 148 }, { "coverage_state": "covered", "end": 149, "start": 149 }, { "coverage_state": "clean", "end": 150, "start": 150 }, { "coverage_state": "covered", "end": 153, "start": 151 }, { "coverage_state": "clean", "end": 154, "start": 154 }, { "coverage_state": "covered", "end": 155, "start": 155 }, { "coverage_state": "clean", "end": 156, "start": 156 }, { "coverage_state": "covered", "end": 165, "start": 157 }, { "coverage_state": "uncovered", "end": 167, "start": 166 }, { "coverage_state": "clean", "end": 168, "start": 168 }, { "coverage_state": "covered", "end": 174, "start": 169 }, { "coverage_state": "partially-covered", "end": 175, "start": 175 }, { "coverage_state": "uncovered", "end": 176, "start": 176 }, { "coverage_state": "covered", "end": 183, "start": 177 }, { "coverage_state": "clean", "end": 184, "start": 184 }, { "coverage_state": "covered", "end": 190, "start": 185 }, { "coverage_state": "clean", "end": 191, "start": 191 }, { "coverage_state": "covered", "end": 193, "start": 192 }, { "coverage_state": "clean", "end": 194, "start": 194 }, { "coverage_state": "covered", "end": 196, "start": 195 }, { "coverage_state": "clean", "end": 197, "start": 197 }, { "coverage_state": "covered", "end": 198, "start": 198 }, { "coverage_state": "partially-covered", "end": 199, "start": 199 }, { "coverage_state": "uncovered", "end": 200, "start": 200 }, { "coverage_state": "covered", "end": 204, "start": 201 }, { "coverage_state": "clean", "end": 205, "start": 205 }, { "coverage_state": "covered", "end": 211, "start": 206 }, { "coverage_state": "clean", "end": 212, "start": 212 }, { "coverage_state": "covered", "end": 215, "start": 213 }, { "coverage_state": "clean", "end": 216, "start": 216 }, { "coverage_state": "covered", "end": 217, "start": 217 }, { "coverage_state": "clean", "end": 219, "start": 218 }, { "coverage_state": "covered", "end": 220, "start": 220 }, { "coverage_state": "clean", "end": 257, "start": 221 }, { "coverage_state": "covered", "end": 258, "start": 258 }, { "coverage_state": "clean", "end": 259, "start": 259 }, { "coverage_state": "covered", "end": 265, "start": 260 }, { "coverage_state": "clean", "end": 266, "start": 266 }, { "coverage_state": "covered", "end": 268, "start": 267 }, { "coverage_state": "clean", "end": 269, "start": 269 }, { "coverage_state": "covered", "end": 275, "start": 270 }, { "coverage_state": "clean", "end": null, "start": 276 } ], "line_coverage": 92.7, "name": "caching.__init__.py" } ], "line_coverage": 92.7, "name": "caching" } ], "lost_souls": { "item_list": [], "testcase_list": [ "caching.property_cache_json: Test cached data (full init)", "caching.property_cache_json: Test cached data (partially init)", "caching.property_cache_json: Test execution of save callback (full init)", "caching.property_cache_json: Test full initialised JSON-Cache-Object", "caching.property_cache_json: Test get from source caused by changed uid (full init)", "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "caching.property_cache_json: Test get from source caused by increased data version (full init)", "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "caching.property_cache_json: Test internal key usage", "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "caching.property_cache_pickle: Test cached data (full init)", "caching.property_cache_pickle: Test cached data (partially init)", "caching.property_cache_pickle: Test execution of save callback (full init)", "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "caching.property_cache_pickle: Test internal key usage", "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object" ] }, "specification": {}, "system_information": { "Architecture": "64bit", "Distribution": "Debian GNU/Linux 12 bookworm", "Hostname": "ahorn", "Kernel": "6.1.0-17-amd64 (#1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30))", "Machine": "x86_64", "Path": "/home/dirk/my_repositories/unittest/caching", "System": "Linux", "Username": "dirk" }, "testobject_information": { "Dependencies": [], "Description": "The Module {\\tt caching} is designed to store information in {\\tt json} or {\\tt pickle} files to support them much faster then generating them from the original source file.\nFor more Information read the documentation.", "Name": "caching", "State": "Released", "Supported Interpreters": "python3", "Version": "03683b9fee192b005ed723f0f14eecd5" }, "testrun_list": [ { "heading_dict": {}, "interpreter": "python 3.11.2 (final)", "name": "Default Testsession name", "number_of_failed_tests": 0, "number_of_possibly_failed_tests": 0, "number_of_successfull_tests": 20, "number_of_tests": 20, "testcase_execution_level": 90, "testcase_names": { "0": "Single Test", "10": "Smoke Test (Minumum subset)", "50": "Short Test (Subset)", "90": "Full Test (all defined tests)" }, "testcases": { "caching.property_cache_json: Test cached data (full init)": { "args": null, "asctime": "2024-09-15 16:36:11,638", "created": 1726410971.6383705, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_json: Test cached data (full init)", "module": "__init__", "moduleLogger": [], "msecs": 638.0, "msg": "caching.property_cache_json: Test cached data (full init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 80.34706115722656, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2024-09-15 16:36:11,638", "created": 1726410971.6389399, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,638", "created": 1726410971.6384854, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 638.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 80.46197891235352, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" ], "asctime": "2024-09-15 16:36:11,638", "created": 1726410971.6385722, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 638.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 80.54876327514648, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 638.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 80.9164047241211, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0003676414489746094 }, { "args": [], "asctime": "2024-09-15 16:36:11,639", "created": 1726410971.6392052, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [], "msecs": 639.0, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 81.18176460266113, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'}", "" ], "asctime": "2024-09-15 16:36:11,639", "created": 1726410971.639552, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2024-09-15 16:36:11,639", "created": 1726410971.6393342, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 639.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 81.31074905395508, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Cached data", "=", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2024-09-15 16:36:11,639", "created": 1726410971.639424, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 639.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 81.40063285827637, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 639.0, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 81.5286636352539, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00012803077697753906 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0011816024780273438, "time_finished": "2024-09-15 16:36:11,639", "time_start": "2024-09-15 16:36:11,638" }, "caching.property_cache_json: Test cached data (partially init)": { "args": null, "asctime": "2024-09-15 16:36:11,639", "created": 1726410971.639728, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_json: Test cached data (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 639.0, "msg": "caching.property_cache_json: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 81.70461654663086, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2024-09-15 16:36:11,640", "created": 1726410971.6402786, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,639", "created": 1726410971.639834, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 639.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 81.81047439575195, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" ], "asctime": "2024-09-15 16:36:11,639", "created": 1726410971.6399157, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 639.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 81.89225196838379, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 640.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 82.25512504577637, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0003628730773925781 }, { "args": [], "asctime": "2024-09-15 16:36:11,640", "created": 1726410971.6405468, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [], "msecs": 640.0, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 82.52334594726562, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'}", "" ], "asctime": "2024-09-15 16:36:11,640", "created": 1726410971.6408794, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2024-09-15 16:36:11,640", "created": 1726410971.6406744, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 640.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 82.65089988708496, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Cached data", "=", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2024-09-15 16:36:11,640", "created": 1726410971.6407614, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 640.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 82.73792266845703, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 640.0, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 82.8559398651123, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00011801719665527344 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0011513233184814453, "time_finished": "2024-09-15 16:36:11,640", "time_start": "2024-09-15 16:36:11,639" }, "caching.property_cache_json: Test execution of save callback (full init)": { "args": null, "asctime": "2024-09-15 16:36:11,650", "created": 1726410971.6500828, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_json: Test execution of save callback (full init)", "module": "__init__", "moduleLogger": [], "msecs": 650.0, "msg": "caching.property_cache_json: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 92.05937385559082, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,650", "created": 1726410971.6501942, "exc_info": null, "exc_text": null, "filename": "test_save_callback.py", "funcName": "save_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 21, "message": "Installing save_callback, which sets a variable to True on execution.", "module": "test_save_callback", "moduleLogger": [], "msecs": 650.0, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_save_callback.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 92.17071533203125, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2024-09-15 16:36:11,650", "created": 1726410971.65059, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Save callback execution variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2024-09-15 16:36:11,650", "created": 1726410971.6504636, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Save callback execution variable): True ()", "module": "test", "msecs": 650.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 92.44012832641602, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "=", "True", "" ], "asctime": "2024-09-15 16:36:11,650", "created": 1726410971.650532, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Save callback execution variable): result = True ()", "module": "test", "msecs": 650.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 92.50855445861816, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 650.0, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 92.56649017333984, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 5.793571472167969e-05 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0005071163177490234, "time_finished": "2024-09-15 16:36:11,650", "time_start": "2024-09-15 16:36:11,650" }, "caching.property_cache_json: Test full initialised JSON-Cache-Object": { "args": null, "asctime": "2024-09-15 16:36:11,633", "created": 1726410971.633747, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_json: Test full initialised JSON-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 633.0, "msg": "caching.property_cache_json: Test full initialised JSON-Cache-Object", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 75.72364807128906, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2024-09-15 16:36:11,634", "created": 1726410971.6347072, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,633", "created": 1726410971.6339958, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 633.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 75.97231864929199, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/load_on_init.json" ], "asctime": "2024-09-15 16:36:11,634", "created": 1726410971.6341255, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/load_on_init.json as cache file.", "module": "test_helpers", "msecs": 634.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 76.10201835632324, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 634.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 76.68375968933105, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0005817413330078125 }, { "args": [ "property_cache_json" ], "asctime": "2024-09-15 16:36:11,634", "created": 1726410971.6349998, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 21, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_load_on_init", "moduleLogger": [ { "args": [ "{'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'}" ], "asctime": "2024-09-15 16:36:11,634", "created": 1726410971.6349337, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'}", "module": "test_load_on_init", "msecs": 634.0, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 76.91025733947754, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 634.0, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 76.97629928588867, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 6.604194641113281e-05 }, { "args": [ "{'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'}", "" ], "asctime": "2024-09-15 16:36:11,635", "created": 1726410971.635411, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Cache object is correct (Content {'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'float': 3.14159, 'integer': 17, 'list': [ 1, 'two', '3', 4 ], 'str': 'string', 'unicode': 'unicode' }", "" ], "asctime": "2024-09-15 16:36:11,635", "created": 1726410971.6351492, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'float': 3.14159, 'integer': 17, 'list': [ 1, 'two', '3', 4 ], 'str': 'string', 'unicode': 'unicode' } ()", "module": "test", "msecs": 635.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 77.12578773498535, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Cache object", "=", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } }", "" ], "asctime": "2024-09-15 16:36:11,635", "created": 1726410971.6352463, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } } ()", "module": "test", "msecs": 635.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 77.22282409667969, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 635.0, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 77.38757133483887, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0001647472381591797 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0016639232635498047, "time_finished": "2024-09-15 16:36:11,635", "time_start": "2024-09-15 16:36:11,633" }, "caching.property_cache_json: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2024-09-15 16:36:11,645", "created": 1726410971.645726, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_json: Test get from source caused by changed uid (full init)", "module": "__init__", "moduleLogger": [], "msecs": 645.0, "msg": "caching.property_cache_json: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 87.70251274108887, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2024-09-15 16:36:11,646", "created": 1726410971.6463842, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,645", "created": 1726410971.6458964, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 645.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 87.87298202514648, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_load_on_init.json" ], "asctime": "2024-09-15 16:36:11,646", "created": 1726410971.6460032, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 646.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 87.97979354858398, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 646.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 88.36078643798828, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0003809928894042969 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2024-09-15 16:36:11,647", "created": 1726410971.647202, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,646", "created": 1726410971.6469781, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 646.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 88.95468711853027, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "=", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,647", "created": 1726410971.6470761, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 647.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 89.05267715454102, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 647.0, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 89.17856216430664, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.000125885009765625 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0014760494232177734, "time_finished": "2024-09-15 16:36:11,647", "time_start": "2024-09-15 16:36:11,645" }, "caching.property_cache_json: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2024-09-15 16:36:11,647", "created": 1726410971.6473746, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 647.0, "msg": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 89.35117721557617, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2024-09-15 16:36:11,647", "created": 1726410971.6479356, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,647", "created": 1726410971.6474872, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 647.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 89.46371078491211, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" ], "asctime": "2024-09-15 16:36:11,647", "created": 1726410971.6475725, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 647.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 89.54906463623047, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 647.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 89.91217613220215, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0003631114959716797 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2024-09-15 16:36:11,649", "created": 1726410971.6499052, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,649", "created": 1726410971.6496594, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 649.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 91.63594245910645, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "=", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,649", "created": 1726410971.6497617, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 649.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 91.73822402954102, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 649.0, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 91.88175201416016, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00014352798461914062 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0025305747985839844, "time_finished": "2024-09-15 16:36:11,649", "time_start": "2024-09-15 16:36:11,647" }, "caching.property_cache_json: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2024-09-15 16:36:11,641", "created": 1726410971.6410477, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_json: Test get from source caused by increased data version (full init)", "module": "__init__", "moduleLogger": [], "msecs": 641.0, "msg": "caching.property_cache_json: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 83.02426338195801, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2024-09-15 16:36:11,641", "created": 1726410971.6416054, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,641", "created": 1726410971.641159, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 641.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 83.13560485839844, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" ], "asctime": "2024-09-15 16:36:11,641", "created": 1726410971.641243, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 641.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 83.21952819824219, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 641.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 83.58192443847656, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.000362396240234375 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2024-09-15 16:36:11,642", "created": 1726410971.6425982, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,642", "created": 1726410971.6423776, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 642.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 84.35416221618652, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "=", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,642", "created": 1726410971.6424792, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 642.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 84.45572853088379, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 642.0, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 84.57469940185547, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00011897087097167969 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.001550436019897461, "time_finished": "2024-09-15 16:36:11,642", "time_start": "2024-09-15 16:36:11,641" }, "caching.property_cache_json: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2024-09-15 16:36:11,642", "created": 1726410971.6427658, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 642.0, "msg": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 84.74230766296387, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2024-09-15 16:36:11,643", "created": 1726410971.643325, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,642", "created": 1726410971.642877, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 642.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 84.8536491394043, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" ], "asctime": "2024-09-15 16:36:11,642", "created": 1726410971.6429625, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 642.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 84.93900299072266, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 643.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 85.30163764953613, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00036263465881347656 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2024-09-15 16:36:11,645", "created": 1726410971.645531, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,645", "created": 1726410971.645273, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 645.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 87.2495174407959, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "=", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,645", "created": 1726410971.645399, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 645.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 87.37564086914062, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 645.0, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 87.50748634338379, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00013184547424316406 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.002765178680419922, "time_finished": "2024-09-15 16:36:11,645", "time_start": "2024-09-15 16:36:11,642" }, "caching.property_cache_json: Test internal key usage": { "args": null, "asctime": "2024-09-15 16:36:11,650", "created": 1726410971.6507537, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_json: Test internal key usage", "module": "__init__", "moduleLogger": [], "msecs": 650.0, "msg": "caching.property_cache_json: Test internal key usage", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 92.73028373718262, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "True" ], "asctime": "2024-09-15 16:36:11,651", "created": 1726410971.6512315, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,650", "created": 1726410971.6508617, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 650.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 92.83828735351562, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/internal_keys_test.json" ], "asctime": "2024-09-15 16:36:11,650", "created": 1726410971.6509454, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/internal_keys_test.json as cache file.", "module": "test_helpers", "msecs": 650.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 92.92197227478027, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 651.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 93.20807456970215, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.000286102294921875 }, { "args": [ "property_cache_json" ], "asctime": "2024-09-15 16:36:11,651", "created": 1726410971.6515033, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "DEBUG", "levelno": 10, "lineno": 21, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_internal_keys", "moduleLogger": [ { "args": [ "{'__property_cache_data_version_': 'no second data version', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '_property_cache_uid_': 'no uid'}" ], "asctime": "2024-09-15 16:36:11,651", "created": 1726410971.6514401, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {'__property_cache_data_version_': 'no second data version', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '_property_cache_uid_': 'no uid'}", "module": "test_internal_keys", "msecs": 651.0, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 93.41669082641602, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 651.0, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 93.47987174987793, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 6.318092346191406e-05 }, { "args": [ "{'__property_cache_data_version_': 'no second data version', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '_property_cache_uid_': 'no uid'}", "" ], "asctime": "2024-09-15 16:36:11,651", "created": 1726410971.651742, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Cache is correct (Content {'__property_cache_data_version_': 'no second data version', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '_property_cache_uid_': 'no uid'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache", "{ '__property_cache_data_version_': 'no second data version', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '_property_cache_uid_': 'no uid' }", "" ], "asctime": "2024-09-15 16:36:11,651", "created": 1726410971.651603, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache): { '__property_cache_data_version_': 'no second data version', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '_property_cache_uid_': 'no uid' } ()", "module": "test", "msecs": 651.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 93.57953071594238, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Cache", "=", "{ '_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version' }", "" ], "asctime": "2024-09-15 16:36:11,651", "created": 1726410971.6516693, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache): result = { '_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version' } ()", "module": "test", "msecs": 651.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 93.64581108093262, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 651.0, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 93.7185287475586, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 7.271766662597656e-05 }, { "args": [ "5", "" ], "asctime": "2024-09-15 16:36:11,651", "created": 1726410971.6519372, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2024-09-15 16:36:11,651", "created": 1726410971.6518328, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Keyfilter returnvalue for 5 ()): 5 ()", "module": "test", "msecs": 651.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 93.80936622619629, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "=", "5", "" ], "asctime": "2024-09-15 16:36:11,651", "created": 1726410971.6518862, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Keyfilter returnvalue for 5 ()): result = 5 ()", "module": "test", "msecs": 651.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 93.86277198791504, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 651.0, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 93.91379356384277, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 5.1021575927734375e-05 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0011835098266601562, "time_finished": "2024-09-15 16:36:11,651", "time_start": "2024-09-15 16:36:11,650" }, "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object": { "args": null, "asctime": "2024-09-15 16:36:11,635", "created": 1726410971.635614, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 635.0, "msg": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 77.5904655456543, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_json", "False" ], "asctime": "2024-09-15 16:36:11,636", "created": 1726410971.6360443, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_json (load_all_on_init=False).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,635", "created": 1726410971.6357322, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 635.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 77.70872116088867, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/no_load_on_init.json" ], "asctime": "2024-09-15 16:36:11,635", "created": 1726410971.635824, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/no_load_on_init.json as cache file.", "module": "test_helpers", "msecs": 635.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 77.80051231384277, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 636.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 78.02081108093262, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00022029876708984375 }, { "args": [], "asctime": "2024-09-15 16:36:11,637", "created": 1726410971.6376202, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 18, "message": "Partially initialising cache object by requesting some information.", "module": "test_no_load_on_init", "moduleLogger": [], "msecs": 637.0, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 79.59675788879395, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "property_cache_json" ], "asctime": "2024-09-15 16:36:11,637", "created": 1726410971.6379137, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_json for comparison.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "{'integer': 17, 'str': 'string', 'unicode': 'unicode'}" ], "asctime": "2024-09-15 16:36:11,637", "created": 1726410971.6378453, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 23, "message": "Using storage object of cache class for comparison: {'integer': 17, 'str': 'string', 'unicode': 'unicode'}", "module": "test_no_load_on_init", "msecs": 637.0, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 79.82182502746582, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 637.0, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 79.89025115966797, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 6.842613220214844e-05 }, { "args": [ "{'integer': 17, 'str': 'string', 'unicode': 'unicode'}", "" ], "asctime": "2024-09-15 16:36:11,638", "created": 1726410971.6381605, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Cache object is correct (Content {'integer': 17, 'str': 'string', 'unicode': 'unicode'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'integer': 17, 'str': 'string', 'unicode': 'unicode' }", "" ], "asctime": "2024-09-15 16:36:11,638", "created": 1726410971.6380231, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { 'integer': 17, 'str': 'string', 'unicode': 'unicode' } ()", "module": "test", "msecs": 638.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 79.99968528747559, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Cache object", "=", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", "" ], "asctime": "2024-09-15 16:36:11,638", "created": 1726410971.6380897, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17 } ()", "module": "test", "msecs": 638.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 80.06620407104492, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 638.0, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 80.13701438903809, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 7.081031799316406e-05 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.002546548843383789, "time_finished": "2024-09-15 16:36:11,638", "time_start": "2024-09-15 16:36:11,635" }, "caching.property_cache_pickle: Test cached data (full init)": { "args": null, "asctime": "2024-09-15 16:36:11,654", "created": 1726410971.654658, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_pickle: Test cached data (full init)", "module": "__init__", "moduleLogger": [], "msecs": 654.0, "msg": "caching.property_cache_pickle: Test cached data (full init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 96.6346263885498, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2024-09-15 16:36:11,655", "created": 1726410971.655036, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,654", "created": 1726410971.654762, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 654.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 96.73857688903809, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], "asctime": "2024-09-15 16:36:11,654", "created": 1726410971.6548445, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 654.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 96.82106971740723, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 655.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 97.01251983642578, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0001914501190185547 }, { "args": [], "asctime": "2024-09-15 16:36:11,655", "created": 1726410971.6552558, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [], "msecs": 655.0, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 97.23234176635742, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'}", "" ], "asctime": "2024-09-15 16:36:11,655", "created": 1726410971.6555886, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2024-09-15 16:36:11,655", "created": 1726410971.655379, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 655.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 97.35560417175293, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Cached data", "=", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2024-09-15 16:36:11,655", "created": 1726410971.6554646, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 655.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 97.44119644165039, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 655.0, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 97.5651741027832, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0001239776611328125 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0009305477142333984, "time_finished": "2024-09-15 16:36:11,655", "time_start": "2024-09-15 16:36:11,654" }, "caching.property_cache_pickle: Test cached data (partially init)": { "args": null, "asctime": "2024-09-15 16:36:11,655", "created": 1726410971.6557553, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_pickle: Test cached data (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 655.0, "msg": "caching.property_cache_pickle: Test cached data (partially init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 97.7318286895752, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2024-09-15 16:36:11,656", "created": 1726410971.6561275, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,655", "created": 1726410971.6558554, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 655.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 97.83196449279785, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" ], "asctime": "2024-09-15 16:36:11,655", "created": 1726410971.655937, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 655.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 97.91350364685059, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 656.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 98.10400009155273, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00019049644470214844 }, { "args": [], "asctime": "2024-09-15 16:36:11,656", "created": 1726410971.6563458, "exc_info": null, "exc_text": null, "filename": "test_cached_data.py", "funcName": "cached_data", "levelname": "DEBUG", "levelno": 10, "lineno": 19, "message": "Collecting data from cache instance.", "module": "test_cached_data", "moduleLogger": [], "msecs": 656.0, "msg": "Collecting data from cache instance.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 98.32239151000977, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'}", "" ], "asctime": "2024-09-15 16:36:11,656", "created": 1726410971.6566799, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cached data", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2024-09-15 16:36:11,656", "created": 1726410971.6564755, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cached data): { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 656.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 98.45209121704102, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Cached data", "=", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", "" ], "asctime": "2024-09-15 16:36:11,656", "created": 1726410971.6565628, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cached data): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' } ()", "module": "test", "msecs": 656.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 98.53935241699219, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 656.0, "msg": "Cached data is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 98.65641593933105, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00011706352233886719 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0009245872497558594, "time_finished": "2024-09-15 16:36:11,656", "time_start": "2024-09-15 16:36:11,655" }, "caching.property_cache_pickle: Test execution of save callback (full init)": { "args": null, "asctime": "2024-09-15 16:36:11,662", "created": 1726410971.6629856, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_pickle: Test execution of save callback (full init)", "module": "__init__", "moduleLogger": [], "msecs": 662.0, "msg": "caching.property_cache_pickle: Test execution of save callback (full init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 104.96211051940918, "stack_info": null, "testcaseLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,663", "created": 1726410971.663093, "exc_info": null, "exc_text": null, "filename": "test_save_callback.py", "funcName": "save_callback", "levelname": "DEBUG", "levelno": 10, "lineno": 21, "message": "Installing save_callback, which sets a variable to True on execution.", "module": "test_save_callback", "moduleLogger": [], "msecs": 663.0, "msg": "Installing save_callback, which sets a variable to True on execution.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_save_callback.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 105.06963729858398, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "True", "" ], "asctime": "2024-09-15 16:36:11,663", "created": 1726410971.6633885, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Save callback execution variable is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Save callback execution variable", "True", "" ], "asctime": "2024-09-15 16:36:11,663", "created": 1726410971.663268, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Save callback execution variable): True ()", "module": "test", "msecs": 663.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 105.24463653564453, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Save callback execution variable", "=", "True", "" ], "asctime": "2024-09-15 16:36:11,663", "created": 1726410971.6633334, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Save callback execution variable): result = True ()", "module": "test", "msecs": 663.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 105.30996322631836, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 663.0, "msg": "Save callback execution variable is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 105.36503791809082, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 5.507469177246094e-05 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0004029273986816406, "time_finished": "2024-09-15 16:36:11,663", "time_start": "2024-09-15 16:36:11,662" }, "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object": { "args": null, "asctime": "2024-09-15 16:36:11,652", "created": 1726410971.6520984, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 652.0, "msg": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 94.07496452331543, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2024-09-15 16:36:11,652", "created": 1726410971.6524944, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,652", "created": 1726410971.6522017, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 652.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 94.1781997680664, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/load_on_init.pkl" ], "asctime": "2024-09-15 16:36:11,652", "created": 1726410971.6522858, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 652.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 94.26236152648926, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 652.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 94.47097778320312, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0002086162567138672 }, { "args": [ "property_cache_pickle" ], "asctime": "2024-09-15 16:36:11,652", "created": 1726410971.6527345, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 21, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_load_on_init", "moduleLogger": [ { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}}" ], "asctime": "2024-09-15 16:36:11,652", "created": 1726410971.6526704, "exc_info": null, "exc_text": null, "filename": "test_load_on_init.py", "funcName": "load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}}", "module": "test_load_on_init", "msecs": 652.0, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 94.64693069458008, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 652.0, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_load_on_init.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 94.7110652923584, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 6.413459777832031e-05 }, { "args": [ "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}}", "" ], "asctime": "2024-09-15 16:36:11,653", "created": 1726410971.6530602, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Cache object is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } }", "" ], "asctime": "2024-09-15 16:36:11,652", "created": 1726410971.6528542, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } } ()", "module": "test", "msecs": 652.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 94.83075141906738, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Cache object", "=", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } }", "" ], "asctime": "2024-09-15 16:36:11,652", "created": 1726410971.6529372, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } } ()", "module": "test", "msecs": 652.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 94.91372108459473, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 653.0, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 95.03674507141113, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00012302398681640625 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0009617805480957031, "time_finished": "2024-09-15 16:36:11,653", "time_start": "2024-09-15 16:36:11,652" }, "caching.property_cache_pickle: Test get from source caused by changed uid (full init)": { "args": null, "asctime": "2024-09-15 16:36:11,659", "created": 1726410971.6597333, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "module": "__init__", "moduleLogger": [], "msecs": 659.0, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 101.70984268188477, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2024-09-15 16:36:11,660", "created": 1726410971.6601796, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,659", "created": 1726410971.659839, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 659.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 101.81546211242676, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" ], "asctime": "2024-09-15 16:36:11,659", "created": 1726410971.659924, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 659.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 101.90057754516602, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 660.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 102.15616226196289, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.000255584716796875 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2024-09-15 16:36:11,660", "created": 1726410971.6607792, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,660", "created": 1726410971.6605628, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 660.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 102.5393009185791, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "=", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,660", "created": 1726410971.6606603, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 660.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 102.63681411743164, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 660.0, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 102.75578498840332, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00011897087097167969 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0010459423065185547, "time_finished": "2024-09-15 16:36:11,660", "time_start": "2024-09-15 16:36:11,659" }, "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)": { "args": null, "asctime": "2024-09-15 16:36:11,660", "created": 1726410971.6609526, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 660.0, "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 102.92911529541016, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2024-09-15 16:36:11,661", "created": 1726410971.6613715, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,661", "created": 1726410971.6610615, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 661.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 103.03807258605957, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" ], "asctime": "2024-09-15 16:36:11,661", "created": 1726410971.661161, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 661.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 103.13749313354492, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 661.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 103.3480167388916, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0002105236053466797 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2024-09-15 16:36:11,662", "created": 1726410971.662804, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Instance data after changing uid", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,662", "created": 1726410971.662554, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after changing uid): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 662.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 104.53057289123535, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Instance data after changing uid", "=", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,662", "created": 1726410971.662674, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after changing uid): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 662.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 104.65049743652344, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 662.0, "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 104.78043556213379, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00012993812561035156 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0018513202667236328, "time_finished": "2024-09-15 16:36:11,662", "time_start": "2024-09-15 16:36:11,660" }, "caching.property_cache_pickle: Test get from source caused by increased data version (full init)": { "args": null, "asctime": "2024-09-15 16:36:11,656", "created": 1726410971.6568456, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "module": "__init__", "moduleLogger": [], "msecs": 656.0, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 98.82211685180664, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2024-09-15 16:36:11,657", "created": 1726410971.6572206, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,656", "created": 1726410971.6569467, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 656.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 98.9232063293457, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" ], "asctime": "2024-09-15 16:36:11,657", "created": 1726410971.6570303, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 657.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 99.00689125061035, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 657.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 99.1971492767334, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00019025802612304688 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2024-09-15 16:36:11,657", "created": 1726410971.65782, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,657", "created": 1726410971.6575952, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 657.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 99.57170486450195, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "=", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,657", "created": 1726410971.6576898, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 657.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 99.66635704040527, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 657.0, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 99.79653358459473, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00013017654418945312 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0009744167327880859, "time_finished": "2024-09-15 16:36:11,657", "time_start": "2024-09-15 16:36:11,656" }, "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)": { "args": null, "asctime": "2024-09-15 16:36:11,657", "created": 1726410971.6579907, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "module": "__init__", "moduleLogger": [], "msecs": 657.0, "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 99.96724128723145, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2024-09-15 16:36:11,658", "created": 1726410971.6583657, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,658", "created": 1726410971.658093, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 658.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 100.06952285766602, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" ], "asctime": "2024-09-15 16:36:11,658", "created": 1726410971.6581757, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 658.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 100.15225410461426, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 658.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 100.3422737121582, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0001900196075439453 }, { "args": [ "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", "" ], "asctime": "2024-09-15 16:36:11,659", "created": 1726410971.6595628, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Instance data after increasing data_version", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,659", "created": 1726410971.659337, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Instance data after increasing data_version): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 659.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 101.31359100341797, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Instance data after increasing data_version", "=", "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", "" ], "asctime": "2024-09-15 16:36:11,659", "created": 1726410971.6594348, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Instance data after increasing data_version): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", "module": "test", "msecs": 659.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 101.41134262084961, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 659.0, "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 101.53937339782715, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00012803077697753906 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0015721321105957031, "time_finished": "2024-09-15 16:36:11,659", "time_start": "2024-09-15 16:36:11,657" }, "caching.property_cache_pickle: Test internal key usage": { "args": null, "asctime": "2024-09-15 16:36:11,663", "created": 1726410971.6635482, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_pickle: Test internal key usage", "module": "__init__", "moduleLogger": [], "msecs": 663.0, "msg": "caching.property_cache_pickle: Test internal key usage", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 105.52477836608887, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "True" ], "asctime": "2024-09-15 16:36:11,663", "created": 1726410971.6639209, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=True).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,663", "created": 1726410971.6636484, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 663.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 105.62491416931152, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/internal_keys_test.pkl" ], "asctime": "2024-09-15 16:36:11,663", "created": 1726410971.6637335, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/internal_keys_test.pkl as cache file.", "module": "test_helpers", "msecs": 663.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 105.71002960205078, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 663.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 105.89742660522461, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00018739700317382812 }, { "args": [ "property_cache_pickle" ], "asctime": "2024-09-15 16:36:11,664", "created": 1726410971.6641424, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "DEBUG", "levelno": 10, "lineno": 21, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_internal_keys", "moduleLogger": [ { "args": [ "{'_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version'}" ], "asctime": "2024-09-15 16:36:11,664", "created": 1726410971.6640828, "exc_info": null, "exc_text": null, "filename": "test_internal_keys.py", "funcName": "test_internal_keys", "levelname": "INFO", "levelno": 20, "lineno": 20, "message": "Using storage object of cache class for comparison: {'_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version'}", "module": "test_internal_keys", "msecs": 664.0, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 106.05931282043457, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 664.0, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_internal_keys.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 106.11891746520996, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 5.9604644775390625e-05 }, { "args": [ "{'_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version'}", "" ], "asctime": "2024-09-15 16:36:11,664", "created": 1726410971.6643796, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Cache is correct (Content {'_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache", "{ '_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version' }", "" ], "asctime": "2024-09-15 16:36:11,664", "created": 1726410971.6642392, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache): { '_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version' } ()", "module": "test", "msecs": 664.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 106.2157154083252, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Cache", "=", "{ '_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version' }", "" ], "asctime": "2024-09-15 16:36:11,664", "created": 1726410971.6643054, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache): result = { '_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version' } ()", "module": "test", "msecs": 664.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 106.28199577331543, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 664.0, "msg": "Cache is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 106.35614395141602, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 7.414817810058594e-05 }, { "args": [ "5", "" ], "asctime": "2024-09-15 16:36:11,664", "created": 1726410971.6645687, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Keyfilter returnvalue for 5 ()", "5", "" ], "asctime": "2024-09-15 16:36:11,664", "created": 1726410971.6644652, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Keyfilter returnvalue for 5 ()): 5 ()", "module": "test", "msecs": 664.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 106.44173622131348, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Keyfilter returnvalue for 5 ()", "=", "5", "" ], "asctime": "2024-09-15 16:36:11,664", "created": 1726410971.664518, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Keyfilter returnvalue for 5 ()): result = 5 ()", "module": "test", "msecs": 664.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 106.49466514587402, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 664.0, "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 106.54520988464355, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 5.054473876953125e-05 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0010204315185546875, "time_finished": "2024-09-15 16:36:11,664", "time_start": "2024-09-15 16:36:11,663" }, "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object": { "args": null, "asctime": "2024-09-15 16:36:11,653", "created": 1726410971.6532278, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testCase", "levelname": "INFO", "levelno": 20, "lineno": 323, "message": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "module": "__init__", "moduleLogger": [], "msecs": 653.0, "msg": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 95.20435333251953, "stack_info": null, "testcaseLogger": [ { "args": [ "property_cache_pickle", "False" ], "asctime": "2024-09-15 16:36:11,653", "created": 1726410971.653573, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Initialising property_cache_pickle (load_all_on_init=False).", "module": "test_helpers", "moduleLogger": [ { "args": [], "asctime": "2024-09-15 16:36:11,653", "created": 1726410971.6533353, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", "msecs": 653.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 95.31188011169434, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/no_load_on_init.pkl" ], "asctime": "2024-09-15 16:36:11,653", "created": 1726410971.6534188, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", "funcName": "init_cache", "levelname": "INFO", "levelno": 20, "lineno": 21, "message": "Initialising cached class with /home/dirk/my_repositories/unittest/caching/unittest/output_data/no_load_on_init.pkl as cache file.", "module": "test_helpers", "msecs": 653.0, "msg": "Initialising cached class with %s as cache file.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 95.39532661437988, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 653.0, "msg": "Initialising %s (load_all_on_init=%s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 95.5495834350586, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.00015425682067871094 }, { "args": [], "asctime": "2024-09-15 16:36:11,654", "created": 1726410971.6540277, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 18, "message": "Partially initialising cache object by requesting some information.", "module": "test_no_load_on_init", "moduleLogger": [], "msecs": 654.0, "msg": "Partially initialising cache object by requesting some information.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 96.00424766540527, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ "property_cache_pickle" ], "asctime": "2024-09-15 16:36:11,654", "created": 1726410971.6542528, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "DEBUG", "levelno": 10, "lineno": 24, "message": "Extracting storage object from property_cache_pickle for comparison.", "module": "test_no_load_on_init", "moduleLogger": [ { "args": [ "{'integer': 17, 'unicode': 'unicode', 'str': 'string'}" ], "asctime": "2024-09-15 16:36:11,654", "created": 1726410971.6541905, "exc_info": null, "exc_text": null, "filename": "test_no_load_on_init.py", "funcName": "no_load_on_init", "levelname": "INFO", "levelno": 20, "lineno": 23, "message": "Using storage object of cache class for comparison: {'integer': 17, 'unicode': 'unicode', 'str': 'string'}", "module": "test_no_load_on_init", "msecs": 654.0, "msg": "Using storage object of cache class for comparison: %s", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 96.16708755493164, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 654.0, "msg": "Extracting storage object from %s for comparison.", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 96.22931480407715, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 6.222724914550781e-05 }, { "args": [ "{'integer': 17, 'unicode': 'unicode', 'str': 'string'}", "" ], "asctime": "2024-09-15 16:36:11,654", "created": 1726410971.654492, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "equivalency_chk", "levelname": "INFO", "levelno": 20, "lineno": 184, "message": "Cache object is correct (Content {'integer': 17, 'unicode': 'unicode', 'str': 'string'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Cache object", "{ 'integer': 17, 'unicode': 'unicode', 'str': 'string' }", "" ], "asctime": "2024-09-15 16:36:11,654", "created": 1726410971.654359, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_result__", "levelname": "DEBUG", "levelno": 10, "lineno": 22, "message": "Result (Cache object): { 'integer': 17, 'unicode': 'unicode', 'str': 'string' } ()", "module": "test", "msecs": 654.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 96.33564949035645, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" }, { "args": [ "Cache object", "=", "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", "" ], "asctime": "2024-09-15 16:36:11,654", "created": 1726410971.6544228, "exc_info": null, "exc_text": null, "filename": "test.py", "funcName": "__report_expectation__", "levelname": "DEBUG", "levelno": 10, "lineno": 26, "message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17 } ()", "module": "test", "msecs": 654.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 96.39930725097656, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread" } ], "msecs": 654.0, "msg": "Cache object is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", "process": 122365, "processName": "MainProcess", "relativeCreated": 96.46844863891602, "stack_info": null, "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 6.914138793945312e-05 } ], "thread": 140411494588480, "threadName": "MainThread", "time_consumption": 0.0012640953063964844, "time_finished": "2024-09-15 16:36:11,654", "time_start": "2024-09-15 16:36:11,653" } }, "testrun_id": "p3", "time_consumption": 0.027504444122314453, "uid_list_sorted": [ "caching.property_cache_json: Test full initialised JSON-Cache-Object", "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", "caching.property_cache_json: Test cached data (full init)", "caching.property_cache_json: Test cached data (partially init)", "caching.property_cache_json: Test get from source caused by increased data version (full init)", "caching.property_cache_json: Test get from source caused by increased data version (partially init)", "caching.property_cache_json: Test get from source caused by changed uid (full init)", "caching.property_cache_json: Test get from source caused by changed uid (partially init)", "caching.property_cache_json: Test execution of save callback (full init)", "caching.property_cache_json: Test internal key usage", "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", "caching.property_cache_pickle: Test cached data (full init)", "caching.property_cache_pickle: Test cached data (partially init)", "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", "caching.property_cache_pickle: Test execution of save callback (full init)", "caching.property_cache_pickle: Test internal key usage" ] } ], "unittest_information": { "Version": "6120114abb148e96dd3b8bd41a7af82a" } }