5073 lines
308 KiB
JSON
5073 lines
308 KiB
JSON
{
|
|
"coverage_information": [
|
|
{
|
|
"branch_coverage": 97.83,
|
|
"filepath": "/home/dirk/my_repositories/unittest/caching/pylibs/caching",
|
|
"files": [
|
|
{
|
|
"branch_coverage": 97.83,
|
|
"filepath": "/home/dirk/my_repositories/unittest/caching/pylibs/caching/__init__.py",
|
|
"fragments": [
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 3,
|
|
"start": 1
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 4,
|
|
"start": 4
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 24,
|
|
"start": 5
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 25,
|
|
"start": 25
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 26,
|
|
"start": 26
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 33,
|
|
"start": 27
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 34,
|
|
"start": 34
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 39,
|
|
"start": 35
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 40,
|
|
"start": 40
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 41,
|
|
"start": 41
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 42,
|
|
"start": 42
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 45,
|
|
"start": 43
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 47,
|
|
"start": 46
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 48,
|
|
"start": 48
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 81,
|
|
"start": 49
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 84,
|
|
"start": 82
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 85,
|
|
"start": 85
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 91,
|
|
"start": 86
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 92,
|
|
"start": 92
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 93,
|
|
"start": 93
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 100,
|
|
"start": 94
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 108,
|
|
"start": 101
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 109,
|
|
"start": 109
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 111,
|
|
"start": 110
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 112,
|
|
"start": 112
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 114,
|
|
"start": 113
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 115,
|
|
"start": 115
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 116,
|
|
"start": 116
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 119,
|
|
"start": 117
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 120,
|
|
"start": 120
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 121,
|
|
"start": 121
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 124,
|
|
"start": 122
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 125,
|
|
"start": 125
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 126,
|
|
"start": 126
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 127,
|
|
"start": 127
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 139,
|
|
"start": 128
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 140,
|
|
"start": 140
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 146,
|
|
"start": 141
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 147,
|
|
"start": 147
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 149,
|
|
"start": 148
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 150,
|
|
"start": 150
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 151,
|
|
"start": 151
|
|
},
|
|
{
|
|
"coverage_state": "partially-covered",
|
|
"end": 152,
|
|
"start": 152
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 153,
|
|
"start": 153
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 154,
|
|
"start": 154
|
|
},
|
|
{
|
|
"coverage_state": "uncovered",
|
|
"end": 155,
|
|
"start": 155
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 159,
|
|
"start": 156
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 160,
|
|
"start": 160
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 165,
|
|
"start": 161
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 166,
|
|
"start": 166
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 172,
|
|
"start": 167
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 173,
|
|
"start": 173
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 176,
|
|
"start": 174
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 177,
|
|
"start": 177
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 178,
|
|
"start": 178
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 180,
|
|
"start": 179
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 181,
|
|
"start": 181
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 218,
|
|
"start": 182
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 219,
|
|
"start": 219
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 220,
|
|
"start": 220
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 226,
|
|
"start": 221
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 227,
|
|
"start": 227
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 229,
|
|
"start": 228
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 230,
|
|
"start": 230
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 236,
|
|
"start": 231
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": null,
|
|
"start": 237
|
|
}
|
|
],
|
|
"line_coverage": 99.06,
|
|
"name": "caching.__init__.py"
|
|
}
|
|
],
|
|
"line_coverage": 99.06,
|
|
"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": "Ubuntu 22.04 Jammy Jellyfish",
|
|
"Hostname": "ahorn",
|
|
"Kernel": "5.15.0-27-lowlatency (#28-Ubuntu SMP PREEMPT Tue Apr 19 15:27:08 UTC 2022)",
|
|
"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": "ce99f9454c5612dca5c8ea21cc03e83e"
|
|
},
|
|
"testrun_list": [
|
|
{
|
|
"heading_dict": {},
|
|
"interpreter": "python 3.10.4 (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": "2022-05-08 20:50:13,401",
|
|
"created": 1652035813.4012728,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 31,
|
|
"message": "caching.property_cache_json: Test cached data (full init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 401.2727737426758,
|
|
"msg": "caching.property_cache_json: Test cached data (full init)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 73.10986518859863,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_json",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,401",
|
|
"created": 1652035813.4017365,
|
|
"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": "2022-05-08 20:50:13,401",
|
|
"created": 1652035813.4013686,
|
|
"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": 401.3686180114746,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 73.20570945739746,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,401",
|
|
"created": 1652035813.4014413,
|
|
"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": 401.4413356781006,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 73.27842712402344,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 401.7364978790283,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 73.57358932495117,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002951622009277344
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2022-05-08 20:50:13,401",
|
|
"created": 1652035813.4019728,
|
|
"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": 401.97277069091797,
|
|
"msg": "Collecting data from cache instance.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 73.80986213684082,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,402",
|
|
"created": 1652035813.4022777,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,402",
|
|
"created": 1652035813.402089,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 402.08911895751953,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 73.92621040344238,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,402",
|
|
"created": 1652035813.402168,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 402.16803550720215,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.005126953125,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 402.27770805358887,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.11479949951172,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010967254638671875
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.001004934310913086,
|
|
"time_finished": "2022-05-08 20:50:13,402",
|
|
"time_start": "2022-05-08 20:50:13,401"
|
|
},
|
|
"caching.property_cache_json: Test cached data (partially init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,402",
|
|
"created": 1652035813.4024405,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 32,
|
|
"message": "caching.property_cache_json: Test cached data (partially init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 402.44054794311523,
|
|
"msg": "caching.property_cache_json: Test cached data (partially init)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.27763938903809,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_json",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,402",
|
|
"created": 1652035813.402903,
|
|
"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": "2022-05-08 20:50:13,402",
|
|
"created": 1652035813.402537,
|
|
"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": 402.53710746765137,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.37419891357422,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,402",
|
|
"created": 1652035813.4026127,
|
|
"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": 402.61268615722656,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.44977760314941,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 402.90307998657227,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.74017143249512,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002903938293457031
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2022-05-08 20:50:13,403",
|
|
"created": 1652035813.4031303,
|
|
"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": 403.13029289245605,
|
|
"msg": "Collecting data from cache instance.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 74.9673843383789,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,403",
|
|
"created": 1652035813.403427,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,403",
|
|
"created": 1652035813.403243,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 403.2430648803711,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 75.08015632629395,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,403",
|
|
"created": 1652035813.4033194,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 403.3193588256836,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 75.15645027160645,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 403.4268856048584,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 75.26397705078125,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010752677917480469
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.000986337661743164,
|
|
"time_finished": "2022-05-08 20:50:13,403",
|
|
"time_start": "2022-05-08 20:50:13,402"
|
|
},
|
|
"caching.property_cache_json: Test execution of save callback (full init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,410",
|
|
"created": 1652035813.4105308,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 37,
|
|
"message": "caching.property_cache_json: Test execution of save callback (full init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 410.53080558776855,
|
|
"msg": "caching.property_cache_json: Test execution of save callback (full init)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 82.3678970336914,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2022-05-08 20:50:13,410",
|
|
"created": 1652035813.4106474,
|
|
"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": 410.6473922729492,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 82.48448371887207,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,411",
|
|
"created": 1652035813.4110336,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Save callback execution variable is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Save callback execution variable",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,410",
|
|
"created": 1652035813.4109046,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 410.9046459197998,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 82.74173736572266,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Save callback execution variable",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,410",
|
|
"created": 1652035813.4109845,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Save callback execution variable): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 410.9845161437988,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 82.82160758972168,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 411.03363037109375,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 82.8707218170166,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.9114227294921875e-05
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0005028247833251953,
|
|
"time_finished": "2022-05-08 20:50:13,411",
|
|
"time_start": "2022-05-08 20:50:13,410"
|
|
},
|
|
"caching.property_cache_json: Test full initialised JSON-Cache-Object": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,397",
|
|
"created": 1652035813.3974512,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 29,
|
|
"message": "caching.property_cache_json: Test full initialised JSON-Cache-Object",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 397.45116233825684,
|
|
"msg": "caching.property_cache_json: Test full initialised JSON-Cache-Object",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 69.28825378417969,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_json",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,398",
|
|
"created": 1652035813.3981302,
|
|
"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": "2022-05-08 20:50:13,397",
|
|
"created": 1652035813.3976219,
|
|
"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": 397.62187004089355,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 69.4589614868164,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/load_on_init.json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,397",
|
|
"created": 1652035813.3977423,
|
|
"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": 397.74227142333984,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 69.5793628692627,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 398.1301784515381,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 69.96726989746094,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0003879070281982422
|
|
},
|
|
{
|
|
"args": [
|
|
"property_cache_json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,398",
|
|
"created": 1652035813.3984208,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_load_on_init.py",
|
|
"funcName": "load_on_init",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"message": "Extracting storage object from property_cache_json for comparison.",
|
|
"module": "test_load_on_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"{'_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id', 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'}"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,398",
|
|
"created": 1652035813.3983183,
|
|
"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: {'_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id', '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": 398.3182907104492,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 70.15538215637207,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"_property_cache_data_version_",
|
|
"_property_cache_uid_"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,398",
|
|
"created": 1652035813.3983757,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_load_on_init.py",
|
|
"funcName": "load_on_init",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 21,
|
|
"message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_",
|
|
"module": "test_load_on_init",
|
|
"msecs": 398.3757495880127,
|
|
"msg": "Deleting overhead keys: %s, %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_load_on_init.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 70.21284103393555,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 398.4208106994629,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 70.25790214538574,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.506111145019531e-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'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,398",
|
|
"created": 1652035813.3987358,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,398",
|
|
"created": 1652035813.3985353,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 398.53525161743164,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 70.37234306335449,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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 } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,398",
|
|
"created": 1652035813.3986115,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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 } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 398.61154556274414,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 70.44863700866699,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 398.73576164245605,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 70.5728530883789,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00012421607971191406
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0012845993041992188,
|
|
"time_finished": "2022-05-08 20:50:13,398",
|
|
"time_start": "2022-05-08 20:50:13,397"
|
|
},
|
|
"caching.property_cache_json: Test get from source caused by changed uid (full init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,407",
|
|
"created": 1652035813.407108,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 35,
|
|
"message": "caching.property_cache_json: Test get from source caused by changed uid (full init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 407.1080684661865,
|
|
"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/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.94515991210938,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_json",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,407",
|
|
"created": 1652035813.40755,
|
|
"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": "2022-05-08 20:50:13,407",
|
|
"created": 1652035813.4072082,
|
|
"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": 407.2082042694092,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.04529571533203,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_load_on_init.json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,407",
|
|
"created": 1652035813.407282,
|
|
"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": 407.28211402893066,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.11920547485352,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 407.5500965118408,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.38718795776367,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00026798248291015625
|
|
},
|
|
{
|
|
"args": [
|
|
"{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,408",
|
|
"created": 1652035813.408251,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,408",
|
|
"created": 1652035813.4080546,
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 408.0545902252197,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.89168167114258,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,408",
|
|
"created": 1652035813.4081435,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 408.1435203552246,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 79.98061180114746,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 408.2510471343994,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.08813858032227,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010752677917480469
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0011429786682128906,
|
|
"time_finished": "2022-05-08 20:50:13,408",
|
|
"time_start": "2022-05-08 20:50:13,407"
|
|
},
|
|
"caching.property_cache_json: Test get from source caused by changed uid (partially init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,408",
|
|
"created": 1652035813.4084096,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 36,
|
|
"message": "caching.property_cache_json: Test get from source caused by changed uid (partially init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 408.40959548950195,
|
|
"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/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.2466869354248,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_json",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,408",
|
|
"created": 1652035813.4088686,
|
|
"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": "2022-05-08 20:50:13,408",
|
|
"created": 1652035813.4085076,
|
|
"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": 408.5075855255127,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.34467697143555,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,408",
|
|
"created": 1652035813.4085813,
|
|
"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": 408.5812568664551,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.41834831237793,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 408.86855125427246,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 80.70564270019531,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002872943878173828
|
|
},
|
|
{
|
|
"args": [
|
|
"{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,410",
|
|
"created": 1652035813.4103694,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,410",
|
|
"created": 1652035813.4101715,
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 410.1715087890625,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 82.00860023498535,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,410",
|
|
"created": 1652035813.4102597,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 410.2597236633301,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 82.09681510925293,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 410.3693962097168,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 82.20648765563965,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010967254638671875
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0019598007202148438,
|
|
"time_finished": "2022-05-08 20:50:13,410",
|
|
"time_start": "2022-05-08 20:50:13,408"
|
|
},
|
|
"caching.property_cache_json: Test get from source caused by increased data version (full init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,403",
|
|
"created": 1652035813.4037044,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 33,
|
|
"message": "caching.property_cache_json: Test get from source caused by increased data version (full init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 403.7044048309326,
|
|
"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/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 75.54149627685547,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_json",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,404",
|
|
"created": 1652035813.4041488,
|
|
"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": "2022-05-08 20:50:13,403",
|
|
"created": 1652035813.4038038,
|
|
"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": 403.80382537841797,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 75.64091682434082,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_load_on_init.json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,403",
|
|
"created": 1652035813.4038787,
|
|
"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": 403.87868881225586,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 75.71578025817871,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 404.14881706237793,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 75.98590850830078,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002701282501220703
|
|
},
|
|
{
|
|
"args": [
|
|
"{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,404",
|
|
"created": 1652035813.4048398,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,404",
|
|
"created": 1652035813.4046435,
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 404.6435356140137,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.48062705993652,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,404",
|
|
"created": 1652035813.404731,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 404.73103523254395,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.5681266784668,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 404.83975410461426,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.67684555053711,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001087188720703125
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0011353492736816406,
|
|
"time_finished": "2022-05-08 20:50:13,404",
|
|
"time_start": "2022-05-08 20:50:13,403"
|
|
},
|
|
"caching.property_cache_json: Test get from source caused by increased data version (partially init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,404",
|
|
"created": 1652035813.404999,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 34,
|
|
"message": "caching.property_cache_json: Test get from source caused by increased data version (partially init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 404.9990177154541,
|
|
"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/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.83610916137695,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_json",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,405",
|
|
"created": 1652035813.4054377,
|
|
"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": "2022-05-08 20:50:13,405",
|
|
"created": 1652035813.405094,
|
|
"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": 405.0939083099365,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 76.93099975585938,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,405",
|
|
"created": 1652035813.4051678,
|
|
"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": 405.167818069458,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.00490951538086,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 405.437707901001,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 77.27479934692383,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00026988983154296875
|
|
},
|
|
{
|
|
"args": [
|
|
"{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,406",
|
|
"created": 1652035813.406947,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,406",
|
|
"created": 1652035813.406748,
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 406.74805641174316,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.58514785766602,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,406",
|
|
"created": 1652035813.4068372,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 406.83722496032715,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.67431640625,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 406.94689750671387,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 78.78398895263672,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010967254638671875
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0019478797912597656,
|
|
"time_finished": "2022-05-08 20:50:13,406",
|
|
"time_start": "2022-05-08 20:50:13,404"
|
|
},
|
|
"caching.property_cache_json: Test internal key usage": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,411",
|
|
"created": 1652035813.4111915,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 38,
|
|
"message": "caching.property_cache_json: Test internal key usage",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 411.191463470459,
|
|
"msg": "caching.property_cache_json: Test internal key usage",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 83.02855491638184,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_json",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,411",
|
|
"created": 1652035813.4115572,
|
|
"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": "2022-05-08 20:50:13,411",
|
|
"created": 1652035813.411282,
|
|
"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": 411.2820625305176,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 83.11915397644043,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/internal_keys_test.json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,411",
|
|
"created": 1652035813.4113538,
|
|
"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": 411.35382652282715,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 83.19091796875,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 411.5571975708008,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 83.39428901672363,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002033710479736328
|
|
},
|
|
{
|
|
"args": [
|
|
"property_cache_json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,411",
|
|
"created": 1652035813.4118357,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_internal_keys.py",
|
|
"funcName": "test_internal_keys",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"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', '_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id'}"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,411",
|
|
"created": 1652035813.4117372,
|
|
"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', '_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id'}",
|
|
"module": "test_internal_keys",
|
|
"msecs": 411.73720359802246,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 83.57429504394531,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"_property_cache_data_version_",
|
|
"_property_cache_uid_"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,411",
|
|
"created": 1652035813.4117916,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_internal_keys.py",
|
|
"funcName": "test_internal_keys",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 21,
|
|
"message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_",
|
|
"module": "test_internal_keys",
|
|
"msecs": 411.7915630340576,
|
|
"msg": "Deleting overhead keys: %s, %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_internal_keys.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 83.62865447998047,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 411.8356704711914,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 83.67276191711426,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.410743713378906e-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'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,412",
|
|
"created": 1652035813.4120429,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,411",
|
|
"created": 1652035813.4119227,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 411.9226932525635,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 83.75978469848633,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,411",
|
|
"created": 1652035813.4119787,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 411.97872161865234,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 83.8158130645752,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 412.04285621643066,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 83.87994766235352,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.413459777832031e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,412",
|
|
"created": 1652035813.4122107,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Keyfilter returnvalue for 5 (<class 'int'>) is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyfilter returnvalue for 5 (<class 'int'>)",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,412",
|
|
"created": 1652035813.4121187,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyfilter returnvalue for 5 (<class 'int'>)): 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 412.11867332458496,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 83.95576477050781,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyfilter returnvalue for 5 (<class 'int'>)",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,412",
|
|
"created": 1652035813.412167,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyfilter returnvalue for 5 (<class 'int'>)): result = 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 412.1670722961426,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 84.00416374206543,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 412.21070289611816,
|
|
"msg": "Keyfilter returnvalue for 5 (<class 'int'>) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 84.04779434204102,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.363059997558594e-05
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0010192394256591797,
|
|
"time_finished": "2022-05-08 20:50:13,412",
|
|
"time_start": "2022-05-08 20:50:13,411"
|
|
},
|
|
"caching.property_cache_json: Test partially initialisation of JSON-Cache-Object": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,398",
|
|
"created": 1652035813.3988926,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 30,
|
|
"message": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 398.8926410675049,
|
|
"msg": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 70.72973251342773,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_json",
|
|
"False"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,399",
|
|
"created": 1652035813.3992326,
|
|
"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": "2022-05-08 20:50:13,398",
|
|
"created": 1652035813.398984,
|
|
"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": 398.9839553833008,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 70.82104682922363,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/no_load_on_init.json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,399",
|
|
"created": 1652035813.3990617,
|
|
"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": 399.0616798400879,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 70.89877128601074,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 399.2326259613037,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 71.06971740722656,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001709461212158203
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2022-05-08 20:50:13,400",
|
|
"created": 1652035813.4006217,
|
|
"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": 400.6216526031494,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 72.45874404907227,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"args": [
|
|
"property_cache_json"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,400",
|
|
"created": 1652035813.400904,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_no_load_on_init.py",
|
|
"funcName": "no_load_on_init",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 27,
|
|
"message": "Extracting storage object from property_cache_json for comparison.",
|
|
"module": "test_no_load_on_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"{'_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id', 'integer': 17, 'str': 'string', 'unicode': 'unicode'}"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,400",
|
|
"created": 1652035813.400802,
|
|
"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: {'_property_cache_data_version_': 1, '_property_cache_uid_': 'my_unique_id', 'integer': 17, 'str': 'string', 'unicode': 'unicode'}",
|
|
"module": "test_no_load_on_init",
|
|
"msecs": 400.8018970489502,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 72.63898849487305,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"_property_cache_data_version_",
|
|
"_property_cache_uid_"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,400",
|
|
"created": 1652035813.4008586,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_no_load_on_init.py",
|
|
"funcName": "no_load_on_init",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 24,
|
|
"message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_",
|
|
"module": "test_no_load_on_init",
|
|
"msecs": 400.85864067077637,
|
|
"msg": "Deleting overhead keys: %s, %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 72.69573211669922,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 400.90394020080566,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 72.74103164672852,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.5299530029296875e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'integer': 17, 'str': 'string', 'unicode': 'unicode'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,401",
|
|
"created": 1652035813.4011092,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Cache object is correct (Content {'integer': 17, 'str': 'string', 'unicode': 'unicode'} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Cache object",
|
|
"{ 'integer': 17, 'str': 'string', 'unicode': 'unicode' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,400",
|
|
"created": 1652035813.4009943,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 400.99430084228516,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 72.83139228820801,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Cache object",
|
|
"{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,401",
|
|
"created": 1652035813.401049,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 401.0488986968994,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 72.88599014282227,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 401.1092185974121,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 72.94631004333496,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.031990051269531e-05
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0022165775299072266,
|
|
"time_finished": "2022-05-08 20:50:13,401",
|
|
"time_start": "2022-05-08 20:50:13,398"
|
|
},
|
|
"caching.property_cache_pickle: Test cached data (full init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,414",
|
|
"created": 1652035813.414666,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 44,
|
|
"message": "caching.property_cache_pickle: Test cached data (full init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 414.66593742370605,
|
|
"msg": "caching.property_cache_pickle: Test cached data (full init)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 86.5030288696289,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_pickle",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,414",
|
|
"created": 1652035813.4149873,
|
|
"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": "2022-05-08 20:50:13,414",
|
|
"created": 1652035813.4147635,
|
|
"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": 414.7634506225586,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 86.60054206848145,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,414",
|
|
"created": 1652035813.4148364,
|
|
"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": 414.8364067077637,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 86.67349815368652,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 414.98732566833496,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 86.82441711425781,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015091896057128906
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2022-05-08 20:50:13,415",
|
|
"created": 1652035813.4151833,
|
|
"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": 415.18330574035645,
|
|
"msg": "Collecting data from cache instance.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 87.0203971862793,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,415",
|
|
"created": 1652035813.415475,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,415",
|
|
"created": 1652035813.4152915,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 415.29154777526855,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 87.1286392211914,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,415",
|
|
"created": 1652035813.415368,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 415.36808013916016,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 87.20517158508301,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 415.47489166259766,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 87.31198310852051,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001068115234375
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008089542388916016,
|
|
"time_finished": "2022-05-08 20:50:13,415",
|
|
"time_start": "2022-05-08 20:50:13,414"
|
|
},
|
|
"caching.property_cache_pickle: Test cached data (partially init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,415",
|
|
"created": 1652035813.4156406,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 45,
|
|
"message": "caching.property_cache_pickle: Test cached data (partially init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 415.64059257507324,
|
|
"msg": "caching.property_cache_pickle: Test cached data (partially init)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 87.4776840209961,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_pickle",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,415",
|
|
"created": 1652035813.415961,
|
|
"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": "2022-05-08 20:50:13,415",
|
|
"created": 1652035813.4157374,
|
|
"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": 415.7373905181885,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 87.57448196411133,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,415",
|
|
"created": 1652035813.415811,
|
|
"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": 415.81106185913086,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 87.64815330505371,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 415.96102714538574,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 87.7981185913086,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001499652862548828
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2022-05-08 20:50:13,416",
|
|
"created": 1652035813.4161549,
|
|
"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": 416.1548614501953,
|
|
"msg": "Collecting data from cache instance.",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 87.99195289611816,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,416",
|
|
"created": 1652035813.4164464,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,416",
|
|
"created": 1652035813.4162617,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 416.2616729736328,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 88.09876441955566,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,416",
|
|
"created": 1652035813.41634,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 416.3401126861572,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 88.17720413208008,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 416.4464473724365,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 88.28353881835938,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010633468627929688
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008058547973632812,
|
|
"time_finished": "2022-05-08 20:50:13,416",
|
|
"time_start": "2022-05-08 20:50:13,415"
|
|
},
|
|
"caching.property_cache_pickle: Test execution of save callback (full init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,421",
|
|
"created": 1652035813.4215307,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 50,
|
|
"message": "caching.property_cache_pickle: Test execution of save callback (full init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 421.53072357177734,
|
|
"msg": "caching.property_cache_pickle: Test execution of save callback (full init)",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 93.3678150177002,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2022-05-08 20:50:13,421",
|
|
"created": 1652035813.4216225,
|
|
"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": 421.62251472473145,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 93.4596061706543,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,421",
|
|
"created": 1652035813.421903,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Save callback execution variable is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Save callback execution variable",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,421",
|
|
"created": 1652035813.4217844,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 421.7844009399414,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 93.62149238586426,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Save callback execution variable",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,421",
|
|
"created": 1652035813.421857,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Save callback execution variable): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 421.8571186065674,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 93.69421005249023,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 421.9028949737549,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 93.73998641967773,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.57763671875e-05
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00037217140197753906,
|
|
"time_finished": "2022-05-08 20:50:13,421",
|
|
"time_start": "2022-05-08 20:50:13,421"
|
|
},
|
|
"caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,412",
|
|
"created": 1652035813.4123614,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 42,
|
|
"message": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 412.36138343811035,
|
|
"msg": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 84.1984748840332,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_pickle",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,412",
|
|
"created": 1652035813.4126897,
|
|
"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": "2022-05-08 20:50:13,412",
|
|
"created": 1652035813.4124537,
|
|
"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": 412.45365142822266,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 84.29074287414551,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/load_on_init.pkl"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,412",
|
|
"created": 1652035813.4125247,
|
|
"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": 412.5247001647949,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 84.36179161071777,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 412.6896858215332,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 84.52677726745605,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00016498565673828125
|
|
},
|
|
{
|
|
"args": [
|
|
"property_cache_pickle"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,412",
|
|
"created": 1652035813.4129329,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_load_on_init.py",
|
|
"funcName": "load_on_init",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"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}, '_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1}"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,412",
|
|
"created": 1652035813.4128377,
|
|
"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}, '_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1}",
|
|
"module": "test_load_on_init",
|
|
"msecs": 412.8377437591553,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 84.67483520507812,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"_property_cache_data_version_",
|
|
"_property_cache_uid_"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,412",
|
|
"created": 1652035813.4128904,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_load_on_init.py",
|
|
"funcName": "load_on_init",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 21,
|
|
"message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_",
|
|
"module": "test_load_on_init",
|
|
"msecs": 412.8904342651367,
|
|
"msg": "Deleting overhead keys: %s, %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_load_on_init.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 84.72752571105957,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 412.9328727722168,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 84.76996421813965,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.2438507080078125e-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}}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,413",
|
|
"created": 1652035813.4132166,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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 } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,413",
|
|
"created": 1652035813.4130394,
|
|
"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 } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 413.0394458770752,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 84.87653732299805,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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 } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,413",
|
|
"created": 1652035813.4131103,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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 } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 413.11025619506836,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 84.94734764099121,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 413.21659088134766,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 85.05368232727051,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010633468627929688
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008552074432373047,
|
|
"time_finished": "2022-05-08 20:50:13,413",
|
|
"time_start": "2022-05-08 20:50:13,412"
|
|
},
|
|
"caching.property_cache_pickle: Test get from source caused by changed uid (full init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,419",
|
|
"created": 1652035813.4190993,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 48,
|
|
"message": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 419.0993309020996,
|
|
"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/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 90.93642234802246,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_pickle",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,419",
|
|
"created": 1652035813.419419,
|
|
"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": "2022-05-08 20:50:13,419",
|
|
"created": 1652035813.4191923,
|
|
"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": 419.1923141479492,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 91.02940559387207,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,419",
|
|
"created": 1652035813.4192681,
|
|
"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": 419.2681312561035,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 91.10522270202637,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 419.4190502166748,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 91.25614166259766,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00015091896057128906
|
|
},
|
|
{
|
|
"args": [
|
|
"{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,419",
|
|
"created": 1652035813.4199657,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,419",
|
|
"created": 1652035813.4197721,
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 419.7721481323242,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 91.60923957824707,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,419",
|
|
"created": 1652035813.419854,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 419.85392570495605,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 91.6910171508789,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 419.9657440185547,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 91.80283546447754,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011181831359863281
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008664131164550781,
|
|
"time_finished": "2022-05-08 20:50:13,419",
|
|
"time_start": "2022-05-08 20:50:13,419"
|
|
},
|
|
"caching.property_cache_pickle: Test get from source caused by changed uid (partially init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,420",
|
|
"created": 1652035813.420125,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 49,
|
|
"message": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 420.12500762939453,
|
|
"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/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 91.96209907531738,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_pickle",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,420",
|
|
"created": 1652035813.420446,
|
|
"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": "2022-05-08 20:50:13,420",
|
|
"created": 1652035813.4202309,
|
|
"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": 420.2308654785156,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 92.06795692443848,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,420",
|
|
"created": 1652035813.4203005,
|
|
"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": 420.3004837036133,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 92.13757514953613,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 420.44591903686523,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 92.28301048278809,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014543533325195312
|
|
},
|
|
{
|
|
"args": [
|
|
"{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,421",
|
|
"created": 1652035813.421378,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,421",
|
|
"created": 1652035813.4211924,
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 421.1924076080322,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 93.02949905395508,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,421",
|
|
"created": 1652035813.4212742,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 421.27418518066406,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 93.11127662658691,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 421.37789726257324,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 93.2149887084961,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010371208190917969
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.001252889633178711,
|
|
"time_finished": "2022-05-08 20:50:13,421",
|
|
"time_start": "2022-05-08 20:50:13,420"
|
|
},
|
|
"caching.property_cache_pickle: Test get from source caused by increased data version (full init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,416",
|
|
"created": 1652035813.4166024,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 46,
|
|
"message": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 416.60237312316895,
|
|
"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/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 88.4394645690918,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_pickle",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,416",
|
|
"created": 1652035813.4169288,
|
|
"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": "2022-05-08 20:50:13,416",
|
|
"created": 1652035813.416706,
|
|
"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": 416.7060852050781,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 88.54317665100098,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,416",
|
|
"created": 1652035813.4167788,
|
|
"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": 416.7788028717041,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 88.61589431762695,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 416.928768157959,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 88.76585960388184,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001499652862548828
|
|
},
|
|
{
|
|
"args": [
|
|
"{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,417",
|
|
"created": 1652035813.4174495,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,417",
|
|
"created": 1652035813.417264,
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 417.2639846801758,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 89.10107612609863,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,417",
|
|
"created": 1652035813.4173448,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 417.3448085784912,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 89.18190002441406,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 417.4494743347168,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 89.28656578063965,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010466575622558594
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008471012115478516,
|
|
"time_finished": "2022-05-08 20:50:13,417",
|
|
"time_start": "2022-05-08 20:50:13,416"
|
|
},
|
|
"caching.property_cache_pickle: Test get from source caused by increased data version (partially init)": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,417",
|
|
"created": 1652035813.4176073,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 47,
|
|
"message": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 417.60730743408203,
|
|
"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/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 89.44439888000488,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_pickle",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,417",
|
|
"created": 1652035813.4179385,
|
|
"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": "2022-05-08 20:50:13,417",
|
|
"created": 1652035813.4177134,
|
|
"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": 417.7134037017822,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 89.55049514770508,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,417",
|
|
"created": 1652035813.417787,
|
|
"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": 417.7870750427246,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 89.62416648864746,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 417.9384708404541,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 89.77556228637695,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001513957977294922
|
|
},
|
|
{
|
|
"args": [
|
|
"{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,418",
|
|
"created": 1652035813.4189403,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,418",
|
|
"created": 1652035813.418745,
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 418.7450408935547,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 90.58213233947754,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' } }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,418",
|
|
"created": 1652035813.4188318,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 418.83182525634766,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 90.66891670227051,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 418.94030570983887,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 90.77739715576172,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00010848045349121094
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.001332998275756836,
|
|
"time_finished": "2022-05-08 20:50:13,418",
|
|
"time_start": "2022-05-08 20:50:13,417"
|
|
},
|
|
"caching.property_cache_pickle: Test internal key usage": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.422052,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 51,
|
|
"message": "caching.property_cache_pickle: Test internal key usage",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 422.05190658569336,
|
|
"msg": "caching.property_cache_pickle: Test internal key usage",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 93.88899803161621,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_pickle",
|
|
"True"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.4223502,
|
|
"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": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.4221382,
|
|
"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": 422.1382141113281,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 93.97530555725098,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/internal_keys_test.pkl"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.4222069,
|
|
"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": 422.2068786621094,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 94.04397010803223,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 422.3501682281494,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 94.18725967407227,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014328956604003906
|
|
},
|
|
{
|
|
"args": [
|
|
"property_cache_pickle"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.422568,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_internal_keys.py",
|
|
"funcName": "test_internal_keys",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 24,
|
|
"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', '_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1}"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.422479,
|
|
"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', '_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1}",
|
|
"module": "test_internal_keys",
|
|
"msecs": 422.47891426086426,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 94.31600570678711,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"_property_cache_data_version_",
|
|
"_property_cache_uid_"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.4225273,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_internal_keys.py",
|
|
"funcName": "test_internal_keys",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 21,
|
|
"message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_",
|
|
"module": "test_internal_keys",
|
|
"msecs": 422.5273132324219,
|
|
"msg": "Deleting overhead keys: %s, %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_internal_keys.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 94.36440467834473,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 422.56808280944824,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 94.4051742553711,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.076957702636719e-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'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.4227796,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"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 <class 'dict'>).",
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.4226615,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 422.66154289245605,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 94.4986343383789,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.4227173,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 422.7173328399658,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 94.55442428588867,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 422.7795600891113,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 94.61665153503418,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.222724914550781e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.4229472,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Keyfilter returnvalue for 5 (<class 'int'>) is correct (Content 5 and Type is <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Keyfilter returnvalue for 5 (<class 'int'>)",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.4228597,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Keyfilter returnvalue for 5 (<class 'int'>)): 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 422.85966873168945,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 94.6967601776123,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Keyfilter returnvalue for 5 (<class 'int'>)",
|
|
"5",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,422",
|
|
"created": 1652035813.422904,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Keyfilter returnvalue for 5 (<class 'int'>)): result = 5 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 422.90401458740234,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 94.7411060333252,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 422.9471683502197,
|
|
"msg": "Keyfilter returnvalue for 5 (<class 'int'>) is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 94.78425979614258,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.315376281738281e-05
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008952617645263672,
|
|
"time_finished": "2022-05-08 20:50:13,422",
|
|
"time_start": "2022-05-08 20:50:13,422"
|
|
},
|
|
"caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object": {
|
|
"args": null,
|
|
"asctime": "2022-05-08 20:50:13,413",
|
|
"created": 1652035813.4133718,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 43,
|
|
"message": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 413.3718013763428,
|
|
"msg": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/__init__.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 85.20889282226562,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"property_cache_pickle",
|
|
"False"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,413",
|
|
"created": 1652035813.413667,
|
|
"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": "2022-05-08 20:50:13,413",
|
|
"created": 1652035813.4134667,
|
|
"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": 413.4666919708252,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 85.30378341674805,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"/home/dirk/my_repositories/unittest/caching/unittest/output_data/no_load_on_init.pkl"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,413",
|
|
"created": 1652035813.4135392,
|
|
"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": 413.53917121887207,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 85.37626266479492,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 413.6669635772705,
|
|
"msg": "Initialising %s (load_all_on_init=%s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 85.50405502319336,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001277923583984375
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2022-05-08 20:50:13,414",
|
|
"created": 1652035813.4140403,
|
|
"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": 414.04032707214355,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 85.8774185180664,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0
|
|
},
|
|
{
|
|
"args": [
|
|
"property_cache_pickle"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,414",
|
|
"created": 1652035813.4142802,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_no_load_on_init.py",
|
|
"funcName": "no_load_on_init",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 27,
|
|
"message": "Extracting storage object from property_cache_pickle for comparison.",
|
|
"module": "test_no_load_on_init",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"{'_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1, 'str': 'string', 'integer': 17, 'unicode': 'unicode'}"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,414",
|
|
"created": 1652035813.4141774,
|
|
"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: {'_property_cache_uid_': 'my_unique_id', '_property_cache_data_version_': 1, 'str': 'string', 'integer': 17, 'unicode': 'unicode'}",
|
|
"module": "test_no_load_on_init",
|
|
"msecs": 414.17741775512695,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 86.0145092010498,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"_property_cache_data_version_",
|
|
"_property_cache_uid_"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,414",
|
|
"created": 1652035813.4142358,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_no_load_on_init.py",
|
|
"funcName": "no_load_on_init",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 24,
|
|
"message": "Deleting overhead keys: _property_cache_data_version_, _property_cache_uid_",
|
|
"module": "test_no_load_on_init",
|
|
"msecs": 414.23583030700684,
|
|
"msg": "Deleting overhead keys: %s, %s",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 86.07292175292969,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 414.2801761627197,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 86.11726760864258,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.4345855712890625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'str': 'string', 'integer': 17, 'unicode': 'unicode'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,414",
|
|
"created": 1652035813.4144878,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 144,
|
|
"message": "Cache object is correct (Content {'str': 'string', 'integer': 17, 'unicode': 'unicode'} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Cache object",
|
|
"{ 'str': 'string', 'integer': 17, 'unicode': 'unicode' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,414",
|
|
"created": 1652035813.4143696,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Cache object): { 'str': 'string', 'integer': 17, 'unicode': 'unicode' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 414.3695831298828,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 86.20667457580566,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Cache object",
|
|
"{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2022-05-08 20:50:13,414",
|
|
"created": 1652035813.4144237,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 414.42370414733887,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py",
|
|
"process": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 86.26079559326172,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 414.4878387451172,
|
|
"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": 244296,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 86.32493019104004,
|
|
"stack_info": null,
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.413459777832031e-05
|
|
}
|
|
],
|
|
"thread": 140672522477568,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.001116037368774414,
|
|
"time_finished": "2022-05-08 20:50:13,414",
|
|
"time_start": "2022-05-08 20:50:13,413"
|
|
}
|
|
},
|
|
"testrun_id": "p3",
|
|
"time_consumption": 0.022353410720825195,
|
|
"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": "e113c3759194c81e7df9e29b1debe00d"
|
|
}
|
|
} |