diff --git a/__init__.py b/__init__.py index 58b499a..39f870a 100644 --- a/__init__.py +++ b/__init__.py @@ -54,7 +54,7 @@ class property_cache_pickle(object): * **keys():** returns a list of all available keys. * **data_version():** returns a version number of the current data (it should be increased, if the get method of the source instance returns improved values or the data structure had been changed). * **get(key, default):** returns the property for a key. If key does not exists, default will be returned. - + :param source_instance: The source instance holding the data :type source_instance: instance :param cache_filename: File name, where the properties are stored as cache @@ -97,13 +97,14 @@ class property_cache_pickle(object): # STORAGE_VERSION = 1 - def __init__(self, source_instance, cache_filename, load_all_on_init=False, callback_on_data_storage=None, max_age=None, store_on_get=True): + def __init__(self, source_instance, cache_filename, load_all_on_init=False, callback_on_data_storage=None, max_age=None, store_on_get=True, return_source_on_none=False): self._source_instance = source_instance self._cache_filename = cache_filename self._load_all_on_init = load_all_on_init self._callback_on_data_storage = callback_on_data_storage self._max_age = max_age self._store_on_get = store_on_get + self._return_source_on_none = return_source_on_none # self._source_get_keys = [] self._cached_props = None @@ -163,11 +164,14 @@ class property_cache_pickle(object): return val else: logger.debug("Providing property for '%s' from cache", key) - return self._cached_props[self.DATA_TAG].get(self._key_filter(key), default) + cached_data = self._cached_props[self.DATA_TAG].get(self._key_filter(key), default) + if cached_data is None and self._return_source_on_none: + return self._source_instance.get(key, default) + return cached_data else: if key not in self._source_instance.keys(): logger.debug("Key '%s' is not in cached_keys. Uncached data will be returned.", key) - elif key in self._source_get_keys: + else: logger.debug("Key '%s' is excluded by .add_source_get_keys(). Uncached data will be returned.", key) return self._source_instance.get(key, default) @@ -209,14 +213,15 @@ class property_cache_pickle(object): self._cached_props[self.UID_TAG] = self._source_instance.uid() self._cached_props[self.DATA_VERSION_TAG] = self._source_instance.data_version() self._cached_props[self.STORAGE_VERSION_TAG] = self.STORAGE_VERSION - if self._store_on_get: - self._save_cache() + + def _load_only(self): + with open(self._cache_filename, 'rb') as fh: + self._cached_props = pickle.load(fh) + logger.debug('Loading properties from cache (%s)', self._cache_filename) def _load_cache(self): if os.path.exists(self._cache_filename): - with open(self._cache_filename, 'rb') as fh: - self._cached_props = pickle.load(fh) - logger.debug('Loading properties from cache (%s)', self._cache_filename) + self._load_only() return True else: logger.debug('Cache file does not exists (yet).') @@ -235,10 +240,13 @@ class property_cache_pickle(object): self._cached_props[self.AGE_TAG][self._key_filter(key)] = int(time.time()) time.sleep(sleep_between_keys) - def _save_cache(self): + def _save_only(self): with open(self._cache_filename, 'wb') as fh: pickle.dump(self._cached_props, fh) logger.debug('cache-file stored (%s)', self._cache_filename) + + def _save_cache(self): + self._save_only() if self._callback_on_data_storage is not None: self._callback_on_data_storage(self) @@ -271,19 +279,13 @@ class property_cache_json(property_cache_pickle): .. literalinclude:: caching/_examples_/property_cache_json_2.log """ - def _load_cache(self): - if os.path.exists(self._cache_filename): - with open(self._cache_filename, 'r') as fh: - self._cached_props = json.load(fh) - logger.debug('Loading properties from cache (%s)', self._cache_filename) - return True - else: - logger.debug('Cache file does not exists (yet).') - return False - def _save_cache(self): + def _load_only(self): + with open(self._cache_filename, 'r') as fh: + self._cached_props = json.load(fh) + logger.debug('Loading properties from cache (%s)', self._cache_filename) + + def _save_only(self): with open(self._cache_filename, 'w') as fh: json.dump(self._cached_props, fh, sort_keys=True, indent=4) logger.debug('cache-file stored (%s)', self._cache_filename) - if self._callback_on_data_storage is not None: - self._callback_on_data_storage(self) diff --git a/_requirements_/specification.pdf b/_requirements_/specification.pdf new file mode 100644 index 0000000..b1cf9a3 Binary files /dev/null and b/_requirements_/specification.pdf differ diff --git a/_testresults_/unittest.json b/_testresults_/unittest.json index 6e13469..0fb4bb5 100644 --- a/_testresults_/unittest.json +++ b/_testresults_/unittest.json @@ -1,11 +1,11 @@ { "coverage_information": [ { - "branch_coverage": 78.33, + "branch_coverage": 100.0, "filepath": "/home/dirk/my_repositories/unittest/caching/pylibs/caching", "files": [ { - "branch_coverage": 78.33, + "branch_coverage": 100.0, "filepath": "/home/dirk/my_repositories/unittest/caching/pylibs/caching/__init__.py", "fragments": [ { @@ -95,178 +95,138 @@ }, { "coverage_state": "covered", - "end": 106, + "end": 107, "start": 100 }, { "coverage_state": "clean", - "end": 107, - "start": 107 - }, - { - "coverage_state": "covered", - "end": 109, + "end": 108, "start": 108 }, { - "coverage_state": "clean", + "coverage_state": "covered", "end": 110, - "start": 110 + "start": 109 }, { - "coverage_state": "covered", + "coverage_state": "clean", "end": 111, "start": 111 }, { - "coverage_state": "clean", - "end": 117, + "coverage_state": "covered", + "end": 112, "start": 112 }, { - "coverage_state": "uncovered", - "end": 119, - "start": 118 + "coverage_state": "clean", + "end": 118, + "start": 113 + }, + { + "coverage_state": "covered", + "end": 120, + "start": 119 }, { "coverage_state": "clean", - "end": 120, - "start": 120 - }, - { - "coverage_state": "uncovered", "end": 121, "start": 121 }, { - "coverage_state": "clean", + "coverage_state": "covered", "end": 122, "start": 122 }, { - "coverage_state": "covered", + "coverage_state": "clean", "end": 123, "start": 123 }, { - "coverage_state": "clean", - "end": 132, + "coverage_state": "covered", + "end": 124, "start": 124 }, - { - "coverage_state": "uncovered", - "end": 134, - "start": 133 - }, { "coverage_state": "clean", - "end": 135, - "start": 135 + "end": 133, + "start": 125 }, { "coverage_state": "covered", + "end": 135, + "start": 134 + }, + { + "coverage_state": "clean", "end": 136, "start": 136 }, { - "coverage_state": "clean", - "end": 143, + "coverage_state": "covered", + "end": 137, "start": 137 }, { - "coverage_state": "covered", - "end": 146, - "start": 144 - }, - { - "coverage_state": "partially-covered", - "end": 147, - "start": 147 + "coverage_state": "clean", + "end": 144, + "start": 138 }, { "coverage_state": "covered", - "end": 148, - "start": 148 + "end": 149, + "start": 145 }, { "coverage_state": "clean", - "end": 149, - "start": 149 - }, - { - "coverage_state": "uncovered", - "end": 152, + "end": 150, "start": 150 }, { "coverage_state": "covered", - "end": 155, - "start": 153 - }, - { - "coverage_state": "partially-covered", - "end": 156, - "start": 156 - }, - { - "coverage_state": "covered", - "end": 161, - "start": 157 + "end": 162, + "start": 151 }, { "coverage_state": "clean", - "end": 162, - "start": 162 - }, - { - "coverage_state": "uncovered", "end": 163, "start": 163 }, { - "coverage_state": "clean", + "coverage_state": "covered", "end": 164, "start": 164 }, { - "coverage_state": "covered", - "end": 166, + "coverage_state": "clean", + "end": 165, "start": 165 }, + { + "coverage_state": "covered", + "end": 170, + "start": 166 + }, { "coverage_state": "clean", - "end": 167, - "start": 167 - }, - { - "coverage_state": "partially-covered", - "end": 168, - "start": 168 - }, - { - "coverage_state": "covered", - "end": 169, - "start": 169 - }, - { - "coverage_state": "uncovered", "end": 171, - "start": 170 + "start": 171 }, { "coverage_state": "covered", - "end": 172, + "end": 173, "start": 172 }, { "coverage_state": "clean", - "end": 173, - "start": 173 + "end": 174, + "start": 174 }, { "coverage_state": "covered", "end": 176, - "start": 174 + "start": 175 }, { "coverage_state": "clean", @@ -275,18 +235,18 @@ }, { "coverage_state": "covered", - "end": 178, + "end": 180, "start": 178 }, { "coverage_state": "clean", - "end": 179, - "start": 179 + "end": 181, + "start": 181 }, { "coverage_state": "covered", "end": 182, - "start": 180 + "start": 182 }, { "coverage_state": "clean", @@ -295,68 +255,53 @@ }, { "coverage_state": "covered", - "end": 184, + "end": 186, "start": 184 }, { "coverage_state": "clean", - "end": 185, - "start": 185 + "end": 187, + "start": 187 }, { "coverage_state": "covered", - "end": 194, - "start": 186 - }, - { - "coverage_state": "uncovered", - "end": 196, - "start": 195 + "end": 188, + "start": 188 }, { "coverage_state": "clean", - "end": 197, - "start": 197 + "end": 189, + "start": 189 }, { "coverage_state": "covered", - "end": 203, - "start": 198 - }, - { - "coverage_state": "partially-covered", - "end": 204, - "start": 204 + "end": 198, + "start": 190 }, { "coverage_state": "uncovered", - "end": 205, - "start": 205 - }, - { - "coverage_state": "covered", - "end": 211, - "start": 206 - }, - { - "coverage_state": "partially-covered", - "end": 212, - "start": 212 - }, - { - "coverage_state": "covered", - "end": 213, - "start": 213 + "end": 200, + "start": 199 }, { "coverage_state": "clean", - "end": 214, - "start": 214 + "end": 201, + "start": 201 + }, + { + "coverage_state": "covered", + "end": 215, + "start": 202 + }, + { + "coverage_state": "clean", + "end": 216, + "start": 216 }, { "coverage_state": "covered", "end": 220, - "start": 215 + "start": 217 }, { "coverage_state": "clean", @@ -365,164 +310,344 @@ }, { "coverage_state": "covered", - "end": 223, + "end": 225, "start": 222 }, { "coverage_state": "clean", - "end": 224, - "start": 224 - }, - { - "coverage_state": "covered", "end": 226, - "start": 225 - }, - { - "coverage_state": "clean", - "end": 227, - "start": 227 + "start": 226 }, { "coverage_state": "covered", "end": 228, - "start": 228 + "start": 227 }, { - "coverage_state": "partially-covered", + "coverage_state": "clean", "end": 229, "start": 229 }, { - "coverage_state": "uncovered", - "end": 230, + "coverage_state": "covered", + "end": 231, "start": 230 }, { - "coverage_state": "covered", + "coverage_state": "clean", "end": 232, - "start": 231 + "start": 232 }, { - "coverage_state": "partially-covered", - "end": 233, + "coverage_state": "covered", + "end": 241, "start": 233 }, + { + "coverage_state": "clean", + "end": 242, + "start": 242 + }, { "coverage_state": "covered", - "end": 236, - "start": 234 + "end": 246, + "start": 243 }, { "coverage_state": "clean", - "end": 237, - "start": 237 - }, - { - "coverage_state": "covered", - "end": 243, - "start": 238 - }, - { - "coverage_state": "clean", - "end": 244, - "start": 244 - }, - { - "coverage_state": "covered", "end": 247, - "start": 245 + "start": 247 }, { - "coverage_state": "clean", - "end": 248, + "coverage_state": "covered", + "end": 251, "start": 248 }, - { - "coverage_state": "covered", - "end": 249, - "start": 249 - }, { "coverage_state": "clean", - "end": 251, - "start": 250 - }, - { - "coverage_state": "covered", "end": 252, "start": 252 }, { - "coverage_state": "clean", - "end": 273, + "coverage_state": "covered", + "end": 255, "start": 253 }, + { + "coverage_state": "clean", + "end": 256, + "start": 256 + }, { "coverage_state": "covered", - "end": 279, - "start": 274 + "end": 257, + "start": 257 }, { "coverage_state": "clean", - "end": 280, - "start": 280 + "end": 259, + "start": 258 }, { "coverage_state": "covered", + "end": 260, + "start": 260 + }, + { + "coverage_state": "clean", "end": 282, - "start": 281 + "start": 261 }, { - "coverage_state": "clean", - "end": 283, + "coverage_state": "covered", + "end": 286, "start": 283 }, + { + "coverage_state": "clean", + "end": 287, + "start": 287 + }, { "coverage_state": "covered", - "end": 289, - "start": 284 + "end": 291, + "start": 288 }, { "coverage_state": "clean", "end": null, - "start": 290 + "start": 292 } ], - "line_coverage": 89.51, + "line_coverage": 98.59, "name": "caching.__init__.py" } ], - "line_coverage": 89.51, + "line_coverage": 98.59, "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" + "testcase_list": [] + }, + "specification": { + "comment": "Comment", + "item_dict": { + "_2lVAAHm7Ee-IT79pgSFFDQ": { + "Description": "The cache shall be generated by the {\\tt .get()} method, only if the cache instance parameter {\\tt store\\_on\\_get} is set to {\\tt True}.", + "Fitcriterion": "Create a caching instance with {\\tt store\\_on\\_get} set to {\\tt False}. Get every item of the source instance with the {\\tt .get()} method and check that no cache file exists.", + "Heading": "No cache generation if disabled", + "ID": "REQ-2", + "ReasonForImplementation": "Independent usage of data generation and data usage (e.g. the user requesting the data is not able to create the data).", + "last_change": "2024-09-29T18:05:55.959+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_2lVAAHm7Ee-IT79pgSFFDQ", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_3wIiEHnCEe-IT79pgSFFDQ": { + "Description": "If the cache is not available, the data shall be generated from the source instance.", + "Fitcriterion": "Caching is called without previous cache generation and the data from the source instance is completely available.", + "Heading": "Data generation from source instance, if no cache is available", + "ID": "REQ-3", + "ReasonForImplementation": "There shall be the posibility to create the cache on demand, so the fallback is to generate the data from the source instance.", + "last_change": "2024-09-29T17:51:25.429+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_3wIiEHnCEe-IT79pgSFFDQ", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_7KSpUHvGEe-DRNATe61b9w": { + "Heading": "Dump cache conditions", + "last_change": "2024-09-26T07:20:23.468+02:00", + "system_type_uid": "_4-K5EHYYEem_kd-7nxt1sg", + "system_uid": "_7KSpUHvGEe-DRNATe61b9w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_7sFo0H55Ee-p0KSarwgncw": { + "Description": "Dump the cached item, if the stored value is {\\tt None}.", + "Fitcriterion": "Create a cached instance and cache some items. One needs to have {\\tt None} as value. Generate a second cached instance with different source data (especially, the previous item with value {\\tt None} needs to have a not {\\tt None} value. Ensure, that the caching instance returns not {\\tt None} from the second source.", + "Heading": "Dump cache if stored value is \"None\"", + "ID": "REQ-14", + "ReasonForImplementation": "If no information is stored in the cache, the data shall be generated by the source instance.", + "last_change": "2024-09-29T18:58:23.985+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_7sFo0H55Ee-p0KSarwgncw", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_Ak9lcHvLEe-DRNATe61b9w": { + "Description": "Dump the complete cache, if the \\emph{data version} of the source instance is increased.", + "Fitcriterion": "Create a cached instance and cache some items. Generate a second cached instance with different source data and a increased data version. Ensure, that the cache instance returns the values from the second source. It is required to set {\\tt load\\_all\\_on\\_init} to {\\tt False} and {\\tt store\\_on\\_get} to {\\tt True}.", + "Heading": "Dump cache if data version increases", + "ID": "REQ-7", + "ReasonForImplementation": "The data version is part of the source instance. Increasing the data version indicates, that the source instance generates the data in another way or the structure of the data is changed. In that condition, the cache needs to be ignored.", + "last_change": "2024-09-29T18:39:20.499+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_Ak9lcHvLEe-DRNATe61b9w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_FX360HvLEe-DRNATe61b9w": { + "Description": "Dump the complete cache, if the \\emph{data uid} of the source instance is changed.", + "Fitcriterion": "Create a cached instance and cache some items. Generate a second cached instance with different source data and a changed data uid. Ensure, that the cache instance returns the values from the second source. It is required to set {\\tt load\\_all\\_on\\_init} to {\\tt False} and {\\tt store\\_on\\_get} to {\\tt True}.", + "Heading": "Dump cache if data uid is changed", + "ID": "REQ-8", + "ReasonForImplementation": "The data uid is part of the source instance. Changing the data uid indicates, that the source of the data created by the source instance is changed (e.g. the uid of a file or folder) and the cache needs to be ignored.", + "last_change": "2024-09-29T18:44:12.087+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_FX360HvLEe-DRNATe61b9w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_JH4owHvLEe-DRNATe61b9w": { + "Description": "Dump the complete cache, if the \\emph{storage version} of the caching class is changed.", + "Fitcriterion": "Create a cached instance and cache some items. Generate a second cached instance with different source data and a changed storage version. Ensure, that the cache instance returns the values from the second source. It is required to set {\\tt load\\_all\\_on\\_init} to {\\tt False} and {\\tt store\\_on\\_get} to {\\tt True}.", + "Heading": "Dump cache if storage version is changed", + "ID": "REQ-9", + "ReasonForImplementation": "The storage version is part of the caching class. Changing the storage version indicates, that the previously stored cache is not compatible due to new data storage and the cache needs to be ignored.", + "last_change": "2024-09-29T18:49:03.075+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_JH4owHvLEe-DRNATe61b9w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_KoUosHnGEe-IT79pgSFFDQ": { + "Description": "The full update method shall pause for a given time between every cached item.", + "Fitcriterion": "The time consumption of the method {\\tt .full\\_update()} shall consume $n$ times the given {\\tt sleep\\_time}. Where $n$ is the number of items which will be cahed from the source instance.", + "Heading": "Full update with delay between each data generation for the cache", + "ID": "REQ-4", + "ReasonForImplementation": "Load spreading in case of cyclic called {\\tt .full\\_update()}.", + "last_change": "2024-09-29T17:58:52.579+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_KoUosHnGEe-IT79pgSFFDQ", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_MR7eOHYYEem_kd-7nxt1sg": { + "Heading": "Cache generation (json / pickle)", + "last_change": "2024-09-26T07:31:32.684+02:00", + "system_type_uid": "_4-K5EHYYEem_kd-7nxt1sg", + "system_uid": "_MR7eOHYYEem_kd-7nxt1sg", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_PluO4HvLEe-DRNATe61b9w": { + "Heading": "Definition of uncached data", + "last_change": "2024-09-26T07:50:16.723+02:00", + "system_type_uid": "_4-K5EHYYEem_kd-7nxt1sg", + "system_uid": "_PluO4HvLEe-DRNATe61b9w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_SVQXQHvLEe-DRNATe61b9w": { + "Description": "It shall be possible to define items which are not cached.", + "Fitcriterion": "Create a cached instance and cache some items. Generate a second cached instance with different source data and set at least one item as source item. This item should be previously cached. Ensure, that the source item isis the one from the second source instance.", + "Heading": "Define uncached data", + "ID": "REQ-10", + "ReasonForImplementation": "If there is dynamic changed data in the source instance, it shall be possible to define these items as non cached to get them always from the source instance.", + "last_change": "2024-09-29T19:06:48.179+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_SVQXQHvLEe-DRNATe61b9w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_XzMFcHYZEem_kd-7nxt1sg": { + "Description": "There shall be a method caching all information from the given instance.", + "Fitcriterion": "Caching is called twice with different data instances and the cached data from the first call is completely available.", + "Heading": "Create complete cache from the given data instance", + "ID": "REQ-1", + "ReasonForImplementation": "Independent usage of data generation and data usage (e.g. the user requesting the data is not able to create the data).", + "last_change": "2024-09-29T17:51:09.856+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_XzMFcHYZEem_kd-7nxt1sg", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_cl9LAHvLEe-DRNATe61b9w": { + "Heading": "Callback on data storage", + "last_change": "2024-09-26T07:51:05.316+02:00", + "system_type_uid": "_4-K5EHYYEem_kd-7nxt1sg", + "system_uid": "_cl9LAHvLEe-DRNATe61b9w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_e-ehkHvLEe-DRNATe61b9w": { + "Description": "The store callback shall not be executed, if no cache is stored.", + "Fitcriterion": "Initialise the cache instance without storing cache data. Ensure, that the callback is never executed.", + "Heading": "If no data is changed, no callback will be executed", + "ID": "REQ-11", + "ReasonForImplementation": "Do actions, if cache data is stored to disk.", + "last_change": "2024-09-29T20:09:52.426+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_e-ehkHvLEe-DRNATe61b9w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_eAYLEHndEe-Pc-LxwEk-3w": { + "Description": "On getting data from the cached instance, the information shall be stored in the cache file.", + "Fitcriterion": "Caching is called twice with different data instances and the cached data from the first call is available for all keys cached on the first run.", + "Heading": "Create cache partially from a given data instance by get method", + "ID": "REQ-5", + "ReasonForImplementation": "There shall be the posibility to create the cache on demand, so the fallback is to generate the data from the source instance.", + "last_change": "2024-09-29T17:52:34.022+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_eAYLEHndEe-Pc-LxwEk-3w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_ivxo8HvLEe-DRNATe61b9w": { + "Description": "The storage callback shall be called once on every {\\tt full\\_update()}.", + "Fitcriterion": "Initialise the cache instance and ensure, that the callback is executed as often as the {\\tt .full\\_update()} method is executed.", + "Heading": "Callback execution in case of a full update", + "ID": "REQ-12", + "ReasonForImplementation": "Do actions, if cache data is stored to disk.", + "last_change": "2024-09-29T20:10:52.899+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_ivxo8HvLEe-DRNATe61b9w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_r2DhcHndEe-Pc-LxwEk-3w": { + "Description": "Dump the cached item, if this item is older then the given expirery time.", + "Fitcriterion": "Create a cache instance, cache some data. Intialise a second caching instance with a different source instance and a expire time. Wait for longer than the given expiry time and check that the items from the second source instance are returned.", + "Heading": "Dump cache if time is expired", + "ID": "REQ-6", + "ReasonForImplementation": "Ensure, that the cache is updated from time to time. For example for items which do not change very often.", + "last_change": "2024-09-29T18:14:38.718+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_r2DhcHndEe-Pc-LxwEk-3w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_ty_ewHvLEe-DRNATe61b9w": { + "Description": "The storage callback, shall be called once on every {\\tt .get()}, if {\\tt storage\\_on\\_get} is set to {\\tt True}.", + "Fitcriterion": "Initialise the cache instance and ensure, that the callback is executed as often as the {\\tt .get()} method is executed.", + "Heading": "Callback execution in case of get function", + "ID": "REQ-13", + "ReasonForImplementation": "Do actions, if cache data is stored to disk.", + "last_change": "2024-09-29T19:19:08.447+02:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_ty_ewHvLEe-DRNATe61b9w", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_xx67YHm7Ee-IT79pgSFFDQ": { + "Description": "", + "Heading": "Load spreading for full update", + "last_change": "2024-09-29T17:54:13.292+02:00", + "system_type_uid": "_4-K5EHYYEem_kd-7nxt1sg", + "system_uid": "_xx67YHm7Ee-IT79pgSFFDQ", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + } + }, + "titel": "Caching Module", + "uid_list_sorted": [ + "_MR7eOHYYEem_kd-7nxt1sg", + "_3wIiEHnCEe-IT79pgSFFDQ", + "_XzMFcHYZEem_kd-7nxt1sg", + "_eAYLEHndEe-Pc-LxwEk-3w", + "_xx67YHm7Ee-IT79pgSFFDQ", + "_KoUosHnGEe-IT79pgSFFDQ", + "_2lVAAHm7Ee-IT79pgSFFDQ", + "_7KSpUHvGEe-DRNATe61b9w", + "_r2DhcHndEe-Pc-LxwEk-3w", + "_Ak9lcHvLEe-DRNATe61b9w", + "_FX360HvLEe-DRNATe61b9w", + "_JH4owHvLEe-DRNATe61b9w", + "_7sFo0H55Ee-p0KSarwgncw", + "_PluO4HvLEe-DRNATe61b9w", + "_SVQXQHvLEe-DRNATe61b9w", + "_cl9LAHvLEe-DRNATe61b9w", + "_e-ehkHvLEe-DRNATe61b9w", + "_ivxo8HvLEe-DRNATe61b9w", + "_ty_ewHvLEe-DRNATe61b9w" ] }, - "specification": {}, "system_information": { "Architecture": "64bit", "Distribution": "Debian GNU/Linux 12 bookworm", @@ -539,17 +664,37 @@ "Name": "caching", "State": "Released", "Supported Interpreters": "python3", - "Version": "5b76bef0032d8f8905a892a334f0f5b8" + "Version": "577b0566ea65d16ab78f897274c3f04f" }, "testrun_list": [ { - "heading_dict": {}, + "heading_dict": { + "_2lVAAHm7Ee-IT79pgSFFDQ": "No cache generation if disabled", + "_3wIiEHnCEe-IT79pgSFFDQ": "Data generation from source instance, if no cache is available", + "_7KSpUHvGEe-DRNATe61b9w": "Dump cache conditions", + "_7sFo0H55Ee-p0KSarwgncw": "Dump cache if stored value is \"None\"", + "_Ak9lcHvLEe-DRNATe61b9w": "Dump cache if data version increases", + "_FX360HvLEe-DRNATe61b9w": "Dump cache if data uid is changed", + "_JH4owHvLEe-DRNATe61b9w": "Dump cache if storage version is changed", + "_KoUosHnGEe-IT79pgSFFDQ": "Full update with delay between each data generation for the cache", + "_MR7eOHYYEem_kd-7nxt1sg": "Cache generation (json / pickle)", + "_PluO4HvLEe-DRNATe61b9w": "Definition of uncached data", + "_SVQXQHvLEe-DRNATe61b9w": "Define uncached data", + "_XzMFcHYZEem_kd-7nxt1sg": "Create complete cache from the given data instance", + "_cl9LAHvLEe-DRNATe61b9w": "Callback on data storage", + "_e-ehkHvLEe-DRNATe61b9w": "If no data is changed, no callback will be executed", + "_eAYLEHndEe-Pc-LxwEk-3w": "Create cache partially from a given data instance by get method", + "_ivxo8HvLEe-DRNATe61b9w": "Callback execution in case of a full update", + "_r2DhcHndEe-Pc-LxwEk-3w": "Dump cache if time is expired", + "_ty_ewHvLEe-DRNATe61b9w": "Callback execution in case of get function", + "_xx67YHm7Ee-IT79pgSFFDQ": "Load spreading for full update" + }, "interpreter": "python 3.11.2 (final)", "name": "Default Testsession name", "number_of_failed_tests": 0, "number_of_possibly_failed_tests": 0, - "number_of_successfull_tests": 20, - "number_of_tests": 20, + "number_of_successfull_tests": 14, + "number_of_tests": 14, "testcase_execution_level": 90, "testcase_names": { "0": "Single Test", @@ -558,10 +703,10 @@ "90": "Full Test (all defined tests)" }, "testcases": { - "caching.property_cache_json: Test cached data (full init)": { + "_2lVAAHm7Ee-IT79pgSFFDQ": { "args": null, - "asctime": "2024-09-23 07:59:55,184", - "created": 1727071195.1847613, + "asctime": "2024-09-29 22:12:29,285", + "created": 1727640749.2855322, "exc_info": null, "exc_text": null, "filename": "__init__.py", @@ -569,131 +714,76 @@ "levelname": "INFO", "levelno": 20, "lineno": 323, - "message": "caching.property_cache_json: Test cached data (full init)", + "message": "_2lVAAHm7Ee-IT79pgSFFDQ", "module": "__init__", "moduleLogger": [], - "msecs": 184.0, - "msg": "caching.property_cache_json: Test cached data (full init)", + "msecs": 285.0, + "msg": "_2lVAAHm7Ee-IT79pgSFFDQ", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 47.393083572387695, + "relativeCreated": 6067.492961883545, "stack_info": null, "testcaseLogger": [ { - "args": [ - "property_cache_json", - "True" - ], - "asctime": "2024-09-23 07:59:55,185", - "created": 1727071195.185488, + "args": [], + "asctime": "2024-09-29 22:12:29,286", + "created": 1727640749.286111, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", - "funcName": "init_cache", + "funcName": "clean", "levelname": "DEBUG", "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_json (load_all_on_init=True).", + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", "module": "test_helpers", "moduleLogger": [ { "args": [], - "asctime": "2024-09-23 07:59:55,184", - "created": 1727071195.184825, + "asctime": "2024-09-29 22:12:29,285", + "created": 1727640749.2858517, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", - "funcName": "init_cache", + "funcName": "clean", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", - "msecs": 184.0, + "msecs": 285.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 47.45674133300781, + "relativeCreated": 6067.812442779541, "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" - ], - "asctime": "2024-09-23 07:59:55,184", - "created": 1727071195.1848829, - "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": 184.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 47.51467704772949, - "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 185.0, - "msg": "Initialising %s (load_all_on_init=%s).", + "msecs": 286.0, + "msg": "Prepare: Cleanup before testcase execution", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 48.11978340148926, + "relativeCreated": 6068.0718421936035, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 0.0006051063537597656 - }, - { - "args": [], - "asctime": "2024-09-23 07:59:55,185", - "created": 1727071195.1856582, - "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": 185.0, - "msg": "Collecting data from cache instance.", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 48.29001426696777, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0 + "time_consumption": 0.0002593994140625 }, { "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'}", - "" + "'string'", + "" ], - "asctime": "2024-09-23 07:59:55,185", - "created": 1727071195.1858501, + "asctime": "2024-09-29 22:12:29,287", + "created": 1727640749.2878444, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -701,17 +791,93 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", + "message": "Data from cached instance with key=str is correct (Content 'string' and Type is ).", "module": "test", "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:29,286", + "created": 1727640749.2864933, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 286.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6068.454027175903, + "stack_info": null, + "thread": 140143461883968, + "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' }", - "" + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" ], - "asctime": "2024-09-23 07:59:55,185", - "created": 1727071195.1857302, + "asctime": "2024-09-29 22:12:29,286", + "created": 1727640749.286697, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 286.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6068.657636642456, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:29,287", + "created": 1727640749.287392, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'str' from cache", + "module": "__init__", + "msecs": 287.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6069.352626800537, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:29,287", + "created": 1727640749.2875636, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -719,28 +885,28 @@ "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' } ()", + "message": "Result (Data from cached instance with key=str): 'string' ()", "module": "test", - "msecs": 185.0, + "msecs": 287.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 48.362016677856445, + "relativeCreated": 6069.52428817749, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Cached data", + "Data from cached instance with key=str", "=", - "{ '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' }", - "" + "'string'", + "" ], - "asctime": "2024-09-23 07:59:55,185", - "created": 1727071195.1857796, + "asctime": "2024-09-29 22:12:29,287", + "created": 1727640749.287704, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -748,175 +914,39 @@ "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' } ()", + "message": "Expectation (Data from cached instance with key=str): result = 'string' ()", "module": "test", - "msecs": 185.0, + "msecs": 287.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 48.41136932373047, + "relativeCreated": 6069.664716720581, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 185.0, - "msg": "Cached data is correct (Content %s and Type is %s).", + "msecs": 287.0, + "msg": "Data from cached instance with key=str is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 48.48194122314453, + "relativeCreated": 6069.805145263672, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 7.05718994140625e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.001088857650756836, - "time_finished": "2024-09-23 07:59:55,185", - "time_start": "2024-09-23 07:59:55,184" - }, - "caching.property_cache_json: Test cached data (partially init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,185", - "created": 1727071195.1859434, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_json: Test cached data (partially init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 185.0, - "msg": "caching.property_cache_json: Test cached data (partially init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 48.57516288757324, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_json", - "True" - ], - "asctime": "2024-09-23 07:59:55,186", - "created": 1727071195.1866655, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_json (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,186", - "created": 1727071195.1860027, - "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": 186.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 48.63452911376953, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.json" - ], - "asctime": "2024-09-23 07:59:55,186", - "created": 1727071195.1860597, - "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": 186.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 48.691511154174805, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 186.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 49.297332763671875, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0006058216094970703 - }, - { - "args": [], - "asctime": "2024-09-23 07:59:55,186", - "created": 1727071195.1868336, - "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": 186.0, - "msg": "Collecting data from cache instance.", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 49.46541786193848, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0 + "time_consumption": 0.0001404285430908203 }, { "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'}", - "" + "'unicode'", + "" ], - "asctime": "2024-09-23 07:59:55,187", - "created": 1727071195.1870227, + "asctime": "2024-09-29 22:12:29,288", + "created": 1727640749.288512, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -924,17 +954,43 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", + "message": "Data from cached instance with key=unicode is correct (Content 'unicode' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Cached data", - "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", - "" + "unicode" ], - "asctime": "2024-09-23 07:59:55,186", - "created": 1727071195.1869056, + "asctime": "2024-09-29 22:12:29,288", + "created": 1727640749.2880824, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'unicode' from cache", + "module": "__init__", + "msecs": 288.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6070.043087005615, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:29,288", + "created": 1727640749.2882426, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -942,28 +998,28 @@ "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' } ()", + "message": "Result (Data from cached instance with key=unicode): 'unicode' ()", "module": "test", - "msecs": 186.0, + "msecs": 288.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 49.53742027282715, + "relativeCreated": 6070.2033042907715, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Cached data", + "Data from cached instance with key=unicode", "=", - "{ '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' }", - "" + "'unicode'", + "" ], - "asctime": "2024-09-23 07:59:55,186", - "created": 1727071195.1869566, + "asctime": "2024-09-29 22:12:29,288", + "created": 1727640749.2883785, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -971,95 +1027,604 @@ "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' } ()", + "message": "Expectation (Data from cached instance with key=unicode): result = 'unicode' ()", "module": "test", - "msecs": 186.0, + "msecs": 288.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 49.58844184875488, + "relativeCreated": 6070.339202880859, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 187.0, - "msg": "Cached data is correct (Content %s and Type is %s).", + "msecs": 288.0, + "msg": "Data from cached instance with key=unicode is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 49.654483795166016, + "relativeCreated": 6070.472717285156, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 6.604194641113281e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0010793209075927734, - "time_finished": "2024-09-23 07:59:55,187", - "time_start": "2024-09-23 07:59:55,185" - }, - "caching.property_cache_json: Test execution of save callback (full init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,195", - "created": 1727071195.1954594, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_json: Test execution of save callback (full init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 195.0, - "msg": "caching.property_cache_json: Test execution of save callback (full init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 58.091163635253906, - "stack_info": null, - "testcaseLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,195", - "created": 1727071195.1955254, - "exc_info": null, - "exc_text": null, - "filename": "test_save_callback.py", - "funcName": "save_callback", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Installing save_callback, which sets a variable to True on execution.", - "module": "test_save_callback", - "moduleLogger": [], - "msecs": 195.0, - "msg": "Installing save_callback, which sets a variable to True on execution.", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_save_callback.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 58.15720558166504, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0 + "time_consumption": 0.000133514404296875 }, { "args": [ - "True", + "17", + "" + ], + "asctime": "2024-09-29 22:12:29,289", + "created": 1727640749.2891705, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=integer is correct (Content 17 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "integer" + ], + "asctime": "2024-09-29 22:12:29,288", + "created": 1727640749.288733, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'integer' from cache", + "module": "__init__", + "msecs": 288.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6070.693731307983, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "17", + "" + ], + "asctime": "2024-09-29 22:12:29,288", + "created": 1727640749.2888904, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=integer): 17 ()", + "module": "test", + "msecs": 288.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6070.85108757019, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "=", + "17", + "" + ], + "asctime": "2024-09-29 22:12:29,289", + "created": 1727640749.2890246, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=integer): result = 17 ()", + "module": "test", + "msecs": 289.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6070.985317230225, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 289.0, + "msg": "Data from cached instance with key=integer is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6071.131229400635, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00014591217041015625 + }, + { + "args": [ + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:29,289", + "created": 1727640749.2898338, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=float is correct (Content 3.14159 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "float" + ], + "asctime": "2024-09-29 22:12:29,289", + "created": 1727640749.289398, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'float' from cache", + "module": "__init__", + "msecs": 289.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6071.358680725098, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:29,289", + "created": 1727640749.289558, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=float): 3.14159 ()", + "module": "test", + "msecs": 289.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6071.518659591675, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "=", + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:29,289", + "created": 1727640749.289696, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=float): result = 3.14159 ()", + "module": "test", + "msecs": 289.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6071.656703948975, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 289.0, + "msg": "Data from cached instance with key=float is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6071.794509887695, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00013780593872070312 + }, + { + "args": [ + "[1, 'two', '3', 4]", + "" + ], + "asctime": "2024-09-29 22:12:29,290", + "created": 1727640749.2906473, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=list is correct (Content [1, 'two', '3', 4] and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "list" + ], + "asctime": "2024-09-29 22:12:29,290", + "created": 1727640749.2900674, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'list' from cache", + "module": "__init__", + "msecs": 290.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6072.028160095215, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:29,290", + "created": 1727640749.2902792, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=list): [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 290.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6072.239875793457, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "=", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:29,290", + "created": 1727640749.2904525, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=list): result = [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 290.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6072.413206100464, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 290.0, + "msg": "Data from cached instance with key=list is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6072.60799407959, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00019478797912597656 + }, + { + "args": [ + "{'1': 1, '2': 'two', '3': '3', '4': 4}", + "" + ], + "asctime": "2024-09-29 22:12:29,291", + "created": 1727640749.2914243, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=dict is correct (Content {'1': 1, '2': 'two', '3': '3', '4': 4} and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "dict" + ], + "asctime": "2024-09-29 22:12:29,290", + "created": 1727640749.29088, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'dict' from cache", + "module": "__init__", + "msecs": 290.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6072.840690612793, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", + "" + ], + "asctime": "2024-09-29 22:12:29,291", + "created": 1727640749.291069, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=dict): { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", + "module": "test", + "msecs": 291.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6073.0297565460205, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "=", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", + "" + ], + "asctime": "2024-09-29 22:12:29,291", + "created": 1727640749.2912316, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=dict): result = { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", + "module": "test", + "msecs": 291.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6073.192358016968, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 291.0, + "msg": "Data from cached instance with key=dict is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6073.385000228882, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.0001926422119140625 + }, + { + "args": [ + "None", + "" + ], + "asctime": "2024-09-29 22:12:29,292", + "created": 1727640749.2921767, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=none is correct (Content None and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "none" + ], + "asctime": "2024-09-29 22:12:29,291", + "created": 1727640749.2916625, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'none' from cache", + "module": "__init__", + "msecs": 291.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6073.623180389404, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "None", + "" + ], + "asctime": "2024-09-29 22:12:29,291", + "created": 1727640749.2918231, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=none): None ()", + "module": "test", + "msecs": 291.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6073.783874511719, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "=", + "None", + "" + ], + "asctime": "2024-09-29 22:12:29,291", + "created": 1727640749.2919962, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=none): result = None ()", + "module": "test", + "msecs": 291.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6073.9569664001465, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 292.0, + "msg": "Data from cached instance with key=none is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6074.137449264526, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.0001804828643798828 + }, + { + "args": [ + "False", "" ], - "asctime": "2024-09-23 07:59:55,195", - "created": 1727071195.195777, + "asctime": "2024-09-29 22:12:29,292", + "created": 1727640749.2927263, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1067,17 +1632,17 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Save callback execution variable is correct (Content True and Type is ).", + "message": "The cache file (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_full_update_sleep.json) shall not exist is correct (Content False and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Save callback execution variable", - "True", + "The cache file (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_full_update_sleep.json) shall not exist", + "False", "" ], - "asctime": "2024-09-23 07:59:55,195", - "created": 1727071195.1956708, + "asctime": "2024-09-29 22:12:29,292", + "created": 1727640749.2924442, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1085,28 +1650,28 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 22, - "message": "Result (Save callback execution variable): True ()", + "message": "Result (The cache file (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_full_update_sleep.json) shall not exist): False ()", "module": "test", - "msecs": 195.0, + "msecs": 292.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 58.30264091491699, + "relativeCreated": 6074.404954910278, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Save callback execution variable", + "The cache file (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_full_update_sleep.json) shall not exist", "=", - "True", + "False", "" ], - "asctime": "2024-09-23 07:59:55,195", - "created": 1727071195.1957276, + "asctime": "2024-09-29 22:12:29,292", + "created": 1727640749.2925913, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1114,204 +1679,285 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 26, - "message": "Expectation (Save callback execution variable): result = True ()", + "message": "Expectation (The cache file (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_full_update_sleep.json) shall not exist): result = False ()", "module": "test", - "msecs": 195.0, + "msecs": 292.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 58.359384536743164, + "relativeCreated": 6074.552059173584, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 195.0, - "msg": "Save callback execution variable is correct (Content %s and Type is %s).", + "msecs": 292.0, + "msg": "The cache file (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_full_update_sleep.json) shall not exist is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 58.40873718261719, + "relativeCreated": 6074.6870040893555, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00013494491577148438 + } + ], + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.007194042205810547, + "time_finished": "2024-09-29 22:12:29,292", + "time_start": "2024-09-29 22:12:29,285" + }, + "_3wIiEHnCEe-IT79pgSFFDQ": { + "args": null, + "asctime": "2024-09-29 22:12:23,269", + "created": 1727640743.2692, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testCase", + "levelname": "INFO", + "levelno": 20, + "lineno": 323, + "message": "_3wIiEHnCEe-IT79pgSFFDQ", + "module": "__init__", + "moduleLogger": [], + "msecs": 269.0, + "msg": "_3wIiEHnCEe-IT79pgSFFDQ", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 51.16081237792969, + "stack_info": null, + "testcaseLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,269", + "created": 1727640743.2694814, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", + "module": "test_helpers", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,269", + "created": 1727640743.2693722, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "INFO", + "levelno": 20, + "lineno": 17, + "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "module": "test_helpers", + "msecs": 269.0, + "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 51.332950592041016, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 269.0, + "msg": "Prepare: Cleanup before testcase execution", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 51.44214630126953, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00010919570922851562 + }, + { + "args": [ + "'property_cache_json'" + ], + "asctime": "2024-09-29 22:12:23,269", + "created": 1727640743.2695577, + "exc_info": null, + "exc_text": null, + "filename": "test_cached_data.py", + "funcName": "cached_data", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 49, + "message": "Prepare: First usage of 'property_cache_json' with a class holding the data to be cached", + "module": "test_cached_data", + "moduleLogger": [], + "msecs": 269.0, + "msg": "Prepare: First usage of %s with a class holding the data to be cached", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 51.51844024658203, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.0 + }, + { + "args": [ + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:23,269", + "created": 1727640743.2699122, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=str is correct (Content '__string__' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,269", + "created": 1727640743.2697124, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 269.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 51.673173904418945, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:23,269", + "created": 1727640743.269768, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='str' from source instance", + "module": "__init__", + "msecs": 269.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 51.72872543334961, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:23,269", + "created": 1727640743.2698214, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=str): '__string__' ()", + "module": "test", + "msecs": 269.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 51.78213119506836, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "=", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:23,269", + "created": 1727640743.269863, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=str): result = '__string__' ()", + "module": "test", + "msecs": 269.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 51.82361602783203, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 269.0, + "msg": "Data from cached instance with key=str is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 51.872968673706055, + "stack_info": null, + "thread": 140143461883968, "threadName": "MainThread", "time_consumption": 4.935264587402344e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.00031757354736328125, - "time_finished": "2024-09-23 07:59:55,195", - "time_start": "2024-09-23 07:59:55,195" - }, - "caching.property_cache_json: Test full initialised JSON-Cache-Object": { - "args": null, - "asctime": "2024-09-23 07:59:55,181", - "created": 1727071195.1811836, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_json: Test full initialised JSON-Cache-Object", - "module": "__init__", - "moduleLogger": [], - "msecs": 181.0, - "msg": "caching.property_cache_json: Test full initialised JSON-Cache-Object", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 43.81537437438965, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_json", - "True" - ], - "asctime": "2024-09-23 07:59:55,182", - "created": 1727071195.1821191, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_json (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,181", - "created": 1727071195.1813195, - "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": 181.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 43.95127296447754, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/load_on_init.json" - ], - "asctime": "2024-09-23 07:59:55,181", - "created": 1727071195.1814146, - "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": 181.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 44.04640197753906, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 182.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 44.75092887878418, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0007045269012451172 }, { "args": [ - "property_cache_json" + "'__unicode__'", + "" ], - "asctime": "2024-09-23 07:59:55,182", - "created": 1727071195.1823046, - "exc_info": null, - "exc_text": null, - "filename": "test_load_on_init.py", - "funcName": "load_on_init", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 21, - "message": "Extracting storage object from property_cache_json for comparison.", - "module": "test_load_on_init", - "moduleLogger": [ - { - "args": [ - "{'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'}" - ], - "asctime": "2024-09-23 07:59:55,182", - "created": 1727071195.182266, - "exc_info": null, - "exc_text": null, - "filename": "test_load_on_init.py", - "funcName": "load_on_init", - "levelname": "INFO", - "levelno": 20, - "lineno": 20, - "message": "Using storage object of cache class for comparison: {'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'}", - "module": "test_load_on_init", - "msecs": 182.0, - "msg": "Using storage object of cache class for comparison: %s", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_load_on_init.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 44.89779472351074, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 182.0, - "msg": "Extracting storage object from %s for comparison.", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_load_on_init.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 44.936418533325195, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 3.8623809814453125e-05 - }, - { - "args": [ - "{'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'}", - "" - ], - "asctime": "2024-09-23 07:59:55,182", - "created": 1727071195.1825294, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2700818, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1319,17 +1965,43 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Cache object is correct (Content {'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'float': 3.14159, 'integer': 17, 'list': [1, 'two', '3', 4], 'str': 'string', 'unicode': 'unicode'} and Type is ).", + "message": "Data from cached instance with key=unicode is correct (Content '__unicode__' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Cache object", - "{ 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'float': 3.14159, 'integer': 17, 'list': [ 1, 'two', '3', 4 ], 'str': 'string', 'unicode': 'unicode' }", - "" + "unicode" ], - "asctime": "2024-09-23 07:59:55,182", - "created": 1727071195.1823845, + "asctime": "2024-09-29 22:12:23,269", + "created": 1727640743.2699757, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='unicode' from source instance", + "module": "__init__", + "msecs": 269.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 51.93638801574707, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2700152, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1337,28 +2009,28 @@ "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' } ()", + "message": "Result (Data from cached instance with key=unicode): '__unicode__' ()", "module": "test", - "msecs": 182.0, + "msecs": 270.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 45.01628875732422, + "relativeCreated": 51.97596549987793, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Cache object", + "Data from cached instance with key=unicode", "=", - "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } }", - "" + "'__unicode__'", + "" ], - "asctime": "2024-09-23 07:59:55,182", - "created": 1727071195.1824377, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2700486, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1366,149 +2038,39 @@ "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 } } ()", + "message": "Expectation (Data from cached instance with key=unicode): result = '__unicode__' ()", "module": "test", - "msecs": 182.0, + "msecs": 270.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 45.06945610046387, + "relativeCreated": 52.00934410095215, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 182.0, - "msg": "Cache object is correct (Content %s and Type is %s).", + "msecs": 270.0, + "msg": "Data from cached instance with key=unicode is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 45.16124725341797, + "relativeCreated": 52.042484283447266, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 9.179115295410156e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0013458728790283203, - "time_finished": "2024-09-23 07:59:55,182", - "time_start": "2024-09-23 07:59:55,181" - }, - "caching.property_cache_json: Test get from source caused by changed uid (full init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,191", - "created": 1727071195.1913915, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_json: Test get from source caused by changed uid (full init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 191.0, - "msg": "caching.property_cache_json: Test get from source caused by changed uid (full init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 54.02326583862305, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_json", - "True" - ], - "asctime": "2024-09-23 07:59:55,192", - "created": 1727071195.1921148, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_json (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,191", - "created": 1727071195.1914566, - "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": 191.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 54.08835411071777, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_load_on_init.json" - ], - "asctime": "2024-09-23 07:59:55,191", - "created": 1727071195.1915162, - "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": 191.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 54.147958755493164, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 192.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 54.74662780761719, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0005986690521240234 + "time_consumption": 3.314018249511719e-05 }, { "args": [ - "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", - "" + "34", + "" ], - "asctime": "2024-09-23 07:59:55,192", - "created": 1727071195.192985, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.270253, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1516,17 +2078,43 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", + "message": "Data from cached instance with key=integer is correct (Content 34 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Instance data after changing uid", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" + "integer" ], - "asctime": "2024-09-23 07:59:55,192", - "created": 1727071195.19286, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2701397, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='integer' from source instance", + "module": "__init__", + "msecs": 270.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 52.100419998168945, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "34", + "" + ], + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2701857, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1534,28 +2122,28 @@ "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' } } ()", + "message": "Result (Data from cached instance with key=integer): 34 ()", "module": "test", - "msecs": 192.0, + "msecs": 270.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 55.49168586730957, + "relativeCreated": 52.14643478393555, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Instance data after changing uid", + "Data from cached instance with key=integer", "=", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" + "34", + "" ], - "asctime": "2024-09-23 07:59:55,192", - "created": 1727071195.1929157, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2702203, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1563,149 +2151,39 @@ "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' } } ()", + "message": "Expectation (Data from cached instance with key=integer): result = 34 ()", "module": "test", - "msecs": 192.0, + "msecs": 270.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 55.547475814819336, + "relativeCreated": 52.18100547790527, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 192.0, - "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", + "msecs": 270.0, + "msg": "Data from cached instance with key=integer is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 55.61685562133789, + "relativeCreated": 52.21366882324219, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 6.937980651855469e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0015935897827148438, - "time_finished": "2024-09-23 07:59:55,192", - "time_start": "2024-09-23 07:59:55,191" - }, - "caching.property_cache_json: Test get from source caused by changed uid (partially init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,193", - "created": 1727071195.1930807, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 193.0, - "msg": "caching.property_cache_json: Test get from source caused by changed uid (partially init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 55.71246147155762, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_json", - "True" - ], - "asctime": "2024-09-23 07:59:55,193", - "created": 1727071195.1937945, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_json (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,193", - "created": 1727071195.1931422, - "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": 193.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 55.77397346496582, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_no_load_on_init.json" - ], - "asctime": "2024-09-23 07:59:55,193", - "created": 1727071195.1931984, - "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": 193.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 55.83024024963379, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 193.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 56.426286697387695, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0005960464477539062 + "time_consumption": 3.266334533691406e-05 }, { "args": [ - "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", - "" + "2.71828", + "" ], - "asctime": "2024-09-23 07:59:55,195", - "created": 1727071195.1953635, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2704208, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1713,17 +2191,43 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", + "message": "Data from cached instance with key=float is correct (Content 2.71828 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Instance data after changing uid", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" + "float" ], - "asctime": "2024-09-23 07:59:55,195", - "created": 1727071195.1952329, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2703114, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='float' from source instance", + "module": "__init__", + "msecs": 270.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 52.27208137512207, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2703528, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1731,28 +2235,28 @@ "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' } } ()", + "message": "Result (Data from cached instance with key=float): 2.71828 ()", "module": "test", - "msecs": 195.0, + "msecs": 270.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 57.86466598510742, + "relativeCreated": 52.31356620788574, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Instance data after changing uid", + "Data from cached instance with key=float", "=", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" + "2.71828", + "" ], - "asctime": "2024-09-23 07:59:55,195", - "created": 1727071195.1952958, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2703874, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1760,149 +2264,39 @@ "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' } } ()", + "message": "Expectation (Data from cached instance with key=float): result = 2.71828 ()", "module": "test", - "msecs": 195.0, + "msecs": 270.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 57.927608489990234, + "relativeCreated": 52.34813690185547, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 195.0, - "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", + "msecs": 270.0, + "msg": "Data from cached instance with key=float is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 57.99531936645508, + "relativeCreated": 52.38151550292969, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 6.771087646484375e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.002282857894897461, - "time_finished": "2024-09-23 07:59:55,195", - "time_start": "2024-09-23 07:59:55,193" - }, - "caching.property_cache_json: Test get from source caused by increased data version (full init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,187", - "created": 1727071195.1871173, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_json: Test get from source caused by increased data version (full init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 187.0, - "msg": "caching.property_cache_json: Test get from source caused by increased data version (full init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 49.749135971069336, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_json", - "True" - ], - "asctime": "2024-09-23 07:59:55,187", - "created": 1727071195.1878023, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_json (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,187", - "created": 1727071195.1871798, - "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": 187.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 49.811601638793945, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_load_on_init.json" - ], - "asctime": "2024-09-23 07:59:55,187", - "created": 1727071195.187236, - "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": 187.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 49.867868423461914, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 187.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 50.434112548828125, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0005662441253662109 + "time_consumption": 3.337860107421875e-05 }, { "args": [ - "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", - "" + "['one', 2, 3, '4']", + "" ], - "asctime": "2024-09-23 07:59:55,188", - "created": 1727071195.1886804, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.270613, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1910,17 +2304,43 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", + "message": "Data from cached instance with key=list is correct (Content ['one', 2, 3, '4'] and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Instance data after increasing data_version", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" + "list" ], - "asctime": "2024-09-23 07:59:55,188", - "created": 1727071195.188558, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2704744, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='list' from source instance", + "module": "__init__", + "msecs": 270.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 52.43515968322754, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "[ 'one', 2, 3, '4' ]", + "" + ], + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2705173, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1928,28 +2348,28 @@ "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' } } ()", + "message": "Result (Data from cached instance with key=list): [ 'one', 2, 3, '4' ] ()", "module": "test", - "msecs": 188.0, + "msecs": 270.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 51.18989944458008, + "relativeCreated": 52.47807502746582, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Instance data after increasing data_version", + "Data from cached instance with key=list", "=", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" + "[ 'one', 2, 3, '4' ]", + "" ], - "asctime": "2024-09-23 07:59:55,188", - "created": 1727071195.188614, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2705579, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -1957,149 +2377,39 @@ "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' } } ()", + "message": "Expectation (Data from cached instance with key=list): result = [ 'one', 2, 3, '4' ] ()", "module": "test", - "msecs": 188.0, + "msecs": 270.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 51.245689392089844, + "relativeCreated": 52.518606185913086, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 188.0, - "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", + "msecs": 270.0, + "msg": "Data from cached instance with key=list is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 51.31220817565918, + "relativeCreated": 52.57368087768555, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 6.651878356933594e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0015630722045898438, - "time_finished": "2024-09-23 07:59:55,188", - "time_start": "2024-09-23 07:59:55,187" - }, - "caching.property_cache_json: Test get from source caused by increased data version (partially init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,188", - "created": 1727071195.1887772, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 188.0, - "msg": "caching.property_cache_json: Test get from source caused by increased data version (partially init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 51.409006118774414, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_json", - "True" - ], - "asctime": "2024-09-23 07:59:55,189", - "created": 1727071195.1895015, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_json (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,188", - "created": 1727071195.188838, - "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": 188.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 51.46980285644531, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.json" - ], - "asctime": "2024-09-23 07:59:55,188", - "created": 1727071195.1888943, - "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": 188.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 51.52606964111328, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 189.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 52.13332176208496, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0006072521209716797 + "time_consumption": 5.507469177246094e-05 }, { "args": [ - "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", + "{'1': '1', '2': 2, '3': 'three', '4': '4'}", "" ], - "asctime": "2024-09-23 07:59:55,191", - "created": 1727071195.1912882, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2708123, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2107,17 +2417,43 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", + "message": "Data from cached instance with key=dict is correct (Content {'1': '1', '2': 2, '3': 'three', '4': '4'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Instance data after increasing data_version", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", + "dict" + ], + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2706728, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='dict' from source instance", + "module": "__init__", + "msecs": 270.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 52.63352394104004, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "{ '1': '1', '2': 2, '3': 'three', '4': '4' }", "" ], - "asctime": "2024-09-23 07:59:55,191", - "created": 1727071195.191141, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2707195, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2125,28 +2461,28 @@ "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' } } ()", + "message": "Result (Data from cached instance with key=dict): { '1': '1', '2': 2, '3': 'three', '4': '4' } ()", "module": "test", - "msecs": 191.0, + "msecs": 270.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 53.772687911987305, + "relativeCreated": 52.680253982543945, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Instance data after increasing data_version", + "Data from cached instance with key=dict", "=", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", + "{ '1': '1', '2': 2, '3': 'three', '4': '4' }", "" ], - "asctime": "2024-09-23 07:59:55,191", - "created": 1727071195.1912153, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2707586, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2154,204 +2490,39 @@ "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' } } ()", + "message": "Expectation (Data from cached instance with key=dict): result = { '1': '1', '2': 2, '3': 'three', '4': '4' } ()", "module": "test", - "msecs": 191.0, + "msecs": 270.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 53.84707450866699, + "relativeCreated": 52.7193546295166, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 191.0, - "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", + "msecs": 270.0, + "msg": "Data from cached instance with key=dict is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 53.92003059387207, + "relativeCreated": 52.77299880981445, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 7.295608520507812e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0025110244750976562, - "time_finished": "2024-09-23 07:59:55,191", - "time_start": "2024-09-23 07:59:55,188" - }, - "caching.property_cache_json: Test internal key usage": { - "args": null, - "asctime": "2024-09-23 07:59:55,195", - "created": 1727071195.195871, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_json: Test internal key usage", - "module": "__init__", - "moduleLogger": [], - "msecs": 195.0, - "msg": "caching.property_cache_json: Test internal key usage", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 58.502912521362305, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_json", - "True" - ], - "asctime": "2024-09-23 07:59:55,196", - "created": 1727071195.196431, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_json (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,195", - "created": 1727071195.195934, - "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": 195.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 58.56585502624512, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/internal_keys_test.json" - ], - "asctime": "2024-09-23 07:59:55,195", - "created": 1727071195.1959898, - "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": 195.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 58.62164497375488, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 196.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 59.06271934509277, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0004410743713378906 + "time_consumption": 5.364418029785156e-05 }, { "args": [ - "property_cache_json" + "'not None'", + "" ], - "asctime": "2024-09-23 07:59:55,196", - "created": 1727071195.1966026, - "exc_info": null, - "exc_text": null, - "filename": "test_internal_keys.py", - "funcName": "test_internal_keys", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 21, - "message": "Extracting storage object from property_cache_json for comparison.", - "module": "test_internal_keys", - "moduleLogger": [ - { - "args": [ - "{'__property_cache_data_version_': 'no second data version', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '_property_cache_uid_': 'no uid'}" - ], - "asctime": "2024-09-23 07:59:55,196", - "created": 1727071195.1965666, - "exc_info": null, - "exc_text": null, - "filename": "test_internal_keys.py", - "funcName": "test_internal_keys", - "levelname": "INFO", - "levelno": 20, - "lineno": 20, - "message": "Using storage object of cache class for comparison: {'__property_cache_data_version_': 'no second data version', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '_property_cache_uid_': 'no uid'}", - "module": "test_internal_keys", - "msecs": 196.0, - "msg": "Using storage object of cache class for comparison: %s", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_internal_keys.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 59.19837951660156, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 196.0, - "msg": "Extracting storage object from %s for comparison.", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_internal_keys.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 59.2343807220459, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 3.600120544433594e-05 - }, - { - "args": [ - "{'__property_cache_data_version_': 'no second data version', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '_property_cache_uid_': 'no uid'}", - "" - ], - "asctime": "2024-09-23 07:59:55,196", - "created": 1727071195.19674, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2709715, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2359,17 +2530,43 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Cache is correct (Content {'__property_cache_data_version_': 'no second data version', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '_property_cache_uid_': 'no uid'} and Type is ).", + "message": "Data from cached instance with key=none is correct (Content 'not None' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Cache", - "{ '__property_cache_data_version_': 'no second data version', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '_property_cache_uid_': 'no uid' }", - "" + "none" ], - "asctime": "2024-09-23 07:59:55,196", - "created": 1727071195.196661, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.270869, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='none' from source instance", + "module": "__init__", + "msecs": 270.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 52.829742431640625, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.270907, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2377,28 +2574,28 @@ "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' } ()", + "message": "Result (Data from cached instance with key=none): 'not None' ()", "module": "test", - "msecs": 196.0, + "msecs": 270.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 59.29279327392578, + "relativeCreated": 52.86765098571777, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Cache", + "Data from cached instance with key=none", "=", - "{ '_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' }", - "" + "'not None'", + "" ], - "asctime": "2024-09-23 07:59:55,196", - "created": 1727071195.196698, + "asctime": "2024-09-29 22:12:23,270", + "created": 1727640743.2709396, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2406,39 +2603,39 @@ "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' } ()", + "message": "Expectation (Data from cached instance with key=none): result = 'not None' ()", "module": "test", - "msecs": 196.0, + "msecs": 270.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 59.32974815368652, + "relativeCreated": 52.90031433105469, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 196.0, - "msg": "Cache is correct (Content %s and Type is %s).", + "msecs": 270.0, + "msg": "Data from cached instance with key=none is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 59.3717098236084, + "relativeCreated": 52.9322624206543, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 4.1961669921875e-05 + "time_consumption": 3.1948089599609375e-05 }, { "args": [ "5", "" ], - "asctime": "2024-09-23 07:59:55,196", - "created": 1727071195.1968448, + "asctime": "2024-09-29 22:12:23,271", + "created": 1727640743.271131, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2446,17 +2643,43 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", + "message": "Data from cached instance with key=unknown_key is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Keyfilter returnvalue for 5 ()", + "unknown_key" + ], + "asctime": "2024-09-29 22:12:23,271", + "created": 1727640743.2710288, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 173, + "message": "Key 'unknown_key' is not in cached_keys. Uncached data will be returned.", + "module": "__init__", + "msecs": 271.0, + "msg": "Key '%s' is not in cached_keys. Uncached data will be returned.", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 52.98948287963867, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unknown_key", "5", "" ], - "asctime": "2024-09-23 07:59:55,196", - "created": 1727071195.1967883, + "asctime": "2024-09-29 22:12:23,271", + "created": 1727640743.2710662, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2464,28 +2687,28 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 22, - "message": "Result (Keyfilter returnvalue for 5 ()): 5 ()", + "message": "Result (Data from cached instance with key=unknown_key): 5 ()", "module": "test", - "msecs": 196.0, + "msecs": 271.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 59.420108795166016, + "relativeCreated": 53.02691459655762, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Keyfilter returnvalue for 5 ()", + "Data from cached instance with key=unknown_key", "=", "5", "" ], - "asctime": "2024-09-23 07:59:55,196", - "created": 1727071195.1968172, + "asctime": "2024-09-29 22:12:23,271", + "created": 1727640743.2710986, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2493,43 +2716,43 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 26, - "message": "Expectation (Keyfilter returnvalue for 5 ()): result = 5 ()", + "message": "Expectation (Data from cached instance with key=unknown_key): result = 5 ()", "module": "test", - "msecs": 196.0, + "msecs": 271.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 59.448957443237305, + "relativeCreated": 53.05933952331543, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 196.0, - "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", + "msecs": 271.0, + "msg": "Data from cached instance with key=unknown_key is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 59.476613998413086, + "relativeCreated": 53.09176445007324, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 2.765655517578125e-05 + "time_consumption": 3.24249267578125e-05 } ], - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 0.0009737014770507812, - "time_finished": "2024-09-23 07:59:55,196", - "time_start": "2024-09-23 07:59:55,195" + "time_consumption": 0.0019309520721435547, + "time_finished": "2024-09-29 22:12:23,271", + "time_start": "2024-09-29 22:12:23,269" }, - "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object": { + "_7sFo0H55Ee-p0KSarwgncw": { "args": null, - "asctime": "2024-09-23 07:59:55,182", - "created": 1727071195.182638, + "asctime": "2024-09-29 22:12:31,328", + "created": 1727640751.3286881, "exc_info": null, "exc_text": null, "filename": "__init__.py", @@ -2537,186 +2760,181 @@ "levelname": "INFO", "levelno": 20, "lineno": 323, - "message": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", + "message": "_7sFo0H55Ee-p0KSarwgncw", "module": "__init__", "moduleLogger": [], - "msecs": 182.0, - "msg": "caching.property_cache_json: Test partially initialisation of JSON-Cache-Object", + "msecs": 328.0, + "msg": "_7sFo0H55Ee-p0KSarwgncw", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 45.26972770690918, + "relativeCreated": 8110.64887046814, "stack_info": null, "testcaseLogger": [ - { - "args": [ - "property_cache_json", - "False" - ], - "asctime": "2024-09-23 07:59:55,182", - "created": 1727071195.1829443, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_json (load_all_on_init=False).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,182", - "created": 1727071195.1827037, - "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": 182.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 45.33553123474121, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/no_load_on_init.json" - ], - "asctime": "2024-09-23 07:59:55,182", - "created": 1727071195.1827645, - "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": 182.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 45.39632797241211, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 182.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 45.57609558105469, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.00017976760864257812 - }, { "args": [], - "asctime": "2024-09-23 07:59:55,184", - "created": 1727071195.184366, + "asctime": "2024-09-29 22:12:31,328", + "created": 1727640751.3289835, "exc_info": null, "exc_text": null, - "filename": "test_no_load_on_init.py", - "funcName": "no_load_on_init", + "filename": "test_helpers.py", + "funcName": "clean", "levelname": "DEBUG", "levelno": 10, - "lineno": 18, - "message": "Partially initialising cache object by requesting some information.", - "module": "test_no_load_on_init", - "moduleLogger": [], - "msecs": 184.0, - "msg": "Partially initialising cache object by requesting some information.", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 46.997785568237305, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0 - }, - { - "args": [ - "property_cache_json" - ], - "asctime": "2024-09-23 07:59:55,184", - "created": 1727071195.184531, - "exc_info": null, - "exc_text": null, - "filename": "test_no_load_on_init.py", - "funcName": "no_load_on_init", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Extracting storage object from property_cache_json for comparison.", - "module": "test_no_load_on_init", + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", + "module": "test_helpers", "moduleLogger": [ { - "args": [ - "{'integer': 17, 'str': 'string', 'unicode': 'unicode'}" - ], - "asctime": "2024-09-23 07:59:55,184", - "created": 1727071195.1844904, + "args": [], + "asctime": "2024-09-29 22:12:31,328", + "created": 1727640751.3288753, "exc_info": null, "exc_text": null, - "filename": "test_no_load_on_init.py", - "funcName": "no_load_on_init", + "filename": "test_helpers.py", + "funcName": "clean", "levelname": "INFO", "levelno": 20, - "lineno": 23, - "message": "Using storage object of cache class for comparison: {'integer': 17, 'str': 'string', 'unicode': 'unicode'}", - "module": "test_no_load_on_init", - "msecs": 184.0, - "msg": "Using storage object of cache class for comparison: %s", + "lineno": 17, + "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "module": "test_helpers", + "msecs": 328.0, + "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", - "process": 308082, + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, "processName": "MainProcess", - "relativeCreated": 47.12224006652832, + "relativeCreated": 8110.836029052734, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 184.0, - "msg": "Extracting storage object from %s for comparison.", + "msecs": 328.0, + "msg": "Prepare: Cleanup before testcase execution", "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", - "process": 308082, + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, "processName": "MainProcess", - "relativeCreated": 47.162771224975586, + "relativeCreated": 8110.9442710876465, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 4.0531158447265625e-05 + "time_consumption": 0.00010824203491210938 }, { "args": [ - "{'integer': 17, 'str': 'string', 'unicode': 'unicode'}", - "" + "'property_cache_json'" ], - "asctime": "2024-09-23 07:59:55,184", - "created": 1727071195.1846652, + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.3300273, + "exc_info": null, + "exc_text": null, + "filename": "test_dump_cache.py", + "funcName": "dump_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 52, + "message": "Prepare: First usage of 'property_cache_json' with a class holding the data to be cached", + "module": "test_dump_cache", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,329", + "created": 1727640751.329108, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 329.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8111.0687255859375, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" + ], + "asctime": "2024-09-29 22:12:31,329", + "created": 1727640751.3291876, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 329.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8111.148357391357, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,329", + "created": 1727640751.3299177, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 329.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8111.878395080566, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 330.0, + "msg": "Prepare: First usage of %s with a class holding the data to be cached", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_dump_cache.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8111.988067626953, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00010967254638671875 + }, + { + "args": [ + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.3305278, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2724,17 +2942,69 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Cache object is correct (Content {'integer': 17, 'str': 'string', 'unicode': 'unicode'} and Type is ).", + "message": "Data from cached instance with key=str is correct (Content 'string' and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Cache object", - "{ 'integer': 17, 'str': 'string', 'unicode': 'unicode' }", - "" + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" ], - "asctime": "2024-09-23 07:59:55,184", - "created": 1727071195.1845906, + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.3302648, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 286, + "message": "Loading properties from cache (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 330.0, + "msg": "Loading properties from cache (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8112.225532531738, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.3303497, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'str' from cache", + "module": "__init__", + "msecs": 330.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8112.310409545898, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.3304164, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2742,28 +3012,28 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 22, - "message": "Result (Cache object): { 'integer': 17, 'str': 'string', 'unicode': 'unicode' } ()", + "message": "Result (Data from cached instance with key=str): 'string' ()", "module": "test", - "msecs": 184.0, + "msecs": 330.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 47.22237586975098, + "relativeCreated": 8112.377166748047, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Cache object", + "Data from cached instance with key=str", "=", - "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", - "" + "'string'", + "" ], - "asctime": "2024-09-23 07:59:55,184", - "created": 1727071195.1846263, + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.3304725, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2771,43 +3041,721 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 26, - "message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17 } ()", + "message": "Expectation (Data from cached instance with key=str): result = 'string' ()", "module": "test", - "msecs": 184.0, + "msecs": 330.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 47.25813865661621, + "relativeCreated": 8112.433195114136, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 184.0, - "msg": "Cache object is correct (Content %s and Type is %s).", + "msecs": 330.0, + "msg": "Data from cached instance with key=str is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 47.297000885009766, + "relativeCreated": 8112.488508224487, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 3.886222839355469e-05 + "time_consumption": 5.53131103515625e-05 + }, + { + "args": [ + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.330801, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=unicode is correct (Content 'unicode' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "unicode" + ], + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.3306236, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'unicode' from cache", + "module": "__init__", + "msecs": 330.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8112.584352493286, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.330692, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=unicode): 'unicode' ()", + "module": "test", + "msecs": 330.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8112.652778625488, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "=", + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.3307471, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=unicode): result = 'unicode' ()", + "module": "test", + "msecs": 330.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8112.707853317261, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 330.0, + "msg": "Data from cached instance with key=unicode is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8112.761735916138, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.3882598876953125e-05 + }, + { + "args": [ + "17", + "" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.3310597, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=integer is correct (Content 17 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "integer" + ], + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.3308904, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'integer' from cache", + "module": "__init__", + "msecs": 330.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8112.851142883301, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "17", + "" + ], + "asctime": "2024-09-29 22:12:31,330", + "created": 1727640751.3309526, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=integer): 17 ()", + "module": "test", + "msecs": 330.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8112.913370132446, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "=", + "17", + "" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.3310065, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=integer): result = 17 ()", + "module": "test", + "msecs": 331.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8112.967252731323, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 331.0, + "msg": "Data from cached instance with key=integer is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.020420074463, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.316734313964844e-05 + }, + { + "args": [ + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.331324, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=float is correct (Content 3.14159 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "float" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.3311472, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'float' from cache", + "module": "__init__", + "msecs": 331.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.107919692993, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.3312113, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=float): 3.14159 ()", + "module": "test", + "msecs": 331.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.1720542907715, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "=", + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.3312662, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=float): result = 3.14159 ()", + "module": "test", + "msecs": 331.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.226890563965, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 331.0, + "msg": "Data from cached instance with key=float is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.2848262786865, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.793571472167969e-05 + }, + { + "args": [ + "[1, 'two', '3', 4]", + "" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.3316164, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=list is correct (Content [1, 'two', '3', 4] and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "list" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.3314114, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'list' from cache", + "module": "__init__", + "msecs": 331.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.372087478638, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.331481, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=list): [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 331.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.441705703735, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "=", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.331541, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=list): result = [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 331.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.501787185669, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 331.0, + "msg": "Data from cached instance with key=list is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.577127456665, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 7.534027099609375e-05 + }, + { + "args": [ + "{'1': 1, '2': 'two', '3': '3', '4': 4}", + "" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.3319235, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=dict is correct (Content {'1': 1, '2': 'two', '3': '3', '4': 4} and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "dict" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.3317099, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'dict' from cache", + "module": "__init__", + "msecs": 331.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.670587539673, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", + "" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.3317838, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=dict): { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", + "module": "test", + "msecs": 331.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.744497299194, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "=", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", + "" + ], + "asctime": "2024-09-29 22:12:31,331", + "created": 1727640751.3318477, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=dict): result = { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", + "module": "test", + "msecs": 331.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.808393478394, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 331.0, + "msg": "Data from cached instance with key=dict is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.884210586548, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 7.581710815429688e-05 + }, + { + "args": [ + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,332", + "created": 1727640751.3321857, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=none is correct (Content 'not None' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "none" + ], + "asctime": "2024-09-29 22:12:31,332", + "created": 1727640751.3320138, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'none' from cache", + "module": "__init__", + "msecs": 332.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8113.974571228027, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,332", + "created": 1727640751.3320787, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=none): 'not None' ()", + "module": "test", + "msecs": 332.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8114.039421081543, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "=", + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,332", + "created": 1727640751.3321326, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=none): result = 'not None' ()", + "module": "test", + "msecs": 332.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8114.09330368042, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 332.0, + "msg": "Data from cached instance with key=none is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8114.14647102356, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.316734313964844e-05 } ], - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 0.002027273178100586, - "time_finished": "2024-09-23 07:59:55,184", - "time_start": "2024-09-23 07:59:55,182" + "time_consumption": 0.003497600555419922, + "time_finished": "2024-09-29 22:12:31,332", + "time_start": "2024-09-29 22:12:31,328" }, - "caching.property_cache_pickle: Test cached data (full init)": { + "_Ak9lcHvLEe-DRNATe61b9w": { "args": null, - "asctime": "2024-09-23 07:59:55,198", - "created": 1727071195.1989448, + "asctime": "2024-09-29 22:12:31,306", + "created": 1727640751.306501, "exc_info": null, "exc_text": null, "filename": "__init__.py", @@ -2815,131 +3763,6403 @@ "levelname": "INFO", "levelno": 20, "lineno": 323, - "message": "caching.property_cache_pickle: Test cached data (full init)", + "message": "_Ak9lcHvLEe-DRNATe61b9w", "module": "__init__", "moduleLogger": [], - "msecs": 198.0, - "msg": "caching.property_cache_pickle: Test cached data (full init)", + "msecs": 306.0, + "msg": "_Ak9lcHvLEe-DRNATe61b9w", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 61.57660484313965, + "relativeCreated": 8088.461637496948, "stack_info": null, "testcaseLogger": [ { - "args": [ - "property_cache_pickle", - "True" - ], - "asctime": "2024-09-23 07:59:55,199", - "created": 1727071195.1995258, + "args": [], + "asctime": "2024-09-29 22:12:31,306", + "created": 1727640751.306705, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", - "funcName": "init_cache", + "funcName": "clean", "levelname": "DEBUG", "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_pickle (load_all_on_init=True).", + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", "module": "test_helpers", "moduleLogger": [ { "args": [], - "asctime": "2024-09-23 07:59:55,199", - "created": 1727071195.199001, + "asctime": "2024-09-29 22:12:31,306", + "created": 1727640751.3066125, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", - "funcName": "init_cache", + "funcName": "clean", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", - "msecs": 199.0, + "msecs": 306.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 61.63287162780762, + "relativeCreated": 8088.573217391968, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 306.0, + "msg": "Prepare: Cleanup before testcase execution", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8088.665723800659, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 9.250640869140625e-05 + }, + { + "args": [ + "'property_cache_json'" + ], + "asctime": "2024-09-29 22:12:31,307", + "created": 1727640751.3076591, + "exc_info": null, + "exc_text": null, + "filename": "test_dump_cache.py", + "funcName": "dump_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 52, + "message": "Prepare: First usage of 'property_cache_json' with a class holding the data to be cached", + "module": "test_dump_cache", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,306", + "created": 1727640751.306812, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 306.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8088.772773742676, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" + ], + "asctime": "2024-09-29 22:12:31,306", + "created": 1727640751.3068805, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 306.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8088.841199874878, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,307", + "created": 1727640751.3075643, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 307.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8089.524984359741, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 307.0, + "msg": "Prepare: First usage of %s with a class holding the data to be cached", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_dump_cache.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8089.619874954224, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 9.489059448242188e-05 + }, + { + "args": [ + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,308", + "created": 1727640751.3085115, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=str is correct (Content '__string__' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,307", + "created": 1727640751.3078732, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 286, + "message": "Loading properties from cache (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 307.0, + "msg": "Loading properties from cache (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8089.833974838257, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [], + "asctime": "2024-09-29 22:12:31,307", + "created": 1727640751.3079576, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_init_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 207, + "message": "Data version increased, ignoring previous cache data", + "module": "__init__", + "msecs": 307.0, + "msg": "Data version increased, ignoring previous cache data", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8089.918375015259, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:31,308", + "created": 1727640751.3080206, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='str' from source instance", + "module": "__init__", + "msecs": 308.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8089.981317520142, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str", + "__string__", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,308", + "created": 1727640751.3080773, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=str, value=__string__ with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 308.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8090.038061141968, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,308", + "created": 1727640751.3082592, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 308.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8090.219974517822, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,308", + "created": 1727640751.3083901, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=str): '__string__' ()", + "module": "test", + "msecs": 308.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8090.350866317749, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "=", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,308", + "created": 1727640751.308455, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=str): result = '__string__' ()", + "module": "test", + "msecs": 308.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8090.415716171265, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 308.0, + "msg": "Data from cached instance with key=str is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8090.472221374512, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.650520324707031e-05 + }, + { + "args": [ + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,309", + "created": 1727640751.30913, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=unicode is correct (Content '__unicode__' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "unicode" + ], + "asctime": "2024-09-29 22:12:31,308", + "created": 1727640751.308616, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='unicode' from source instance", + "module": "__init__", + "msecs": 308.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8090.576648712158, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "unicode", + "__unicode__", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,308", + "created": 1727640751.3086755, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=unicode, value=__unicode__ with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 308.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8090.636253356934, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,308", + "created": 1727640751.3088746, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 308.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8090.835332870483, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,309", + "created": 1727640751.3090024, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=unicode): '__unicode__' ()", + "module": "test", + "msecs": 309.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8090.963125228882, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "=", + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,309", + "created": 1727640751.3090675, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=unicode): result = '__unicode__' ()", + "module": "test", + "msecs": 309.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8091.028213500977, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 309.0, + "msg": "Data from cached instance with key=unicode is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8091.090679168701, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 6.246566772460938e-05 + }, + { + "args": [ + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,309", + "created": 1727640751.3098829, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=integer is correct (Content 34 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "integer" + ], + "asctime": "2024-09-29 22:12:31,309", + "created": 1727640751.309234, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='integer' from source instance", + "module": "__init__", + "msecs": 309.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8091.194629669189, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "integer", + 34, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,309", + "created": 1727640751.3092928, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=integer, value=34 with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 309.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8091.2535190582275, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,309", + "created": 1727640751.3096287, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 309.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8091.589450836182, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,309", + "created": 1727640751.309761, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=integer): 34 ()", + "module": "test", + "msecs": 309.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8091.721773147583, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "=", + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,309", + "created": 1727640751.3098261, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=integer): result = 34 ()", + "module": "test", + "msecs": 309.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8091.786861419678, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 309.0, + "msg": "Data from cached instance with key=integer is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8091.843605041504, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.6743621826171875e-05 + }, + { + "args": [ + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,310", + "created": 1727640751.3105319, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=float is correct (Content 2.71828 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "float" + ], + "asctime": "2024-09-29 22:12:31,309", + "created": 1727640751.3099825, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='float' from source instance", + "module": "__init__", + "msecs": 309.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8091.943264007568, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "float", + 2.71828, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,310", + "created": 1727640751.3100426, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=float, value=2.71828 with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 310.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8092.003345489502, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,310", + "created": 1727640751.3102758, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 310.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8092.236518859863, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,310", + "created": 1727640751.310409, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=float): 2.71828 ()", + "module": "test", + "msecs": 310.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8092.369794845581, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "=", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,310", + "created": 1727640751.3104744, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=float): result = 2.71828 ()", + "module": "test", + "msecs": 310.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8092.435121536255, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 310.0, + "msg": "Data from cached instance with key=float is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8092.492580413818, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.745887756347656e-05 + }, + { + "args": [ + "['one', 2, 3, '4']", + "" + ], + "asctime": "2024-09-29 22:12:31,311", + "created": 1727640751.311238, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=list is correct (Content ['one', 2, 3, '4'] and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "list" + ], + "asctime": "2024-09-29 22:12:31,310", + "created": 1727640751.3106346, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='list' from source instance", + "module": "__init__", + "msecs": 310.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8092.595338821411, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "list", + [ + "one", + 2, + 3, + "4" + ], + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,310", + "created": 1727640751.3106937, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=list, value=['one', 2, 3, '4'] with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 310.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8092.654466629028, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,310", + "created": 1727640751.3109438, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 310.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8092.904567718506, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "[ 'one', 2, 3, '4' ]", + "" + ], + "asctime": "2024-09-29 22:12:31,311", + "created": 1727640751.3110828, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=list): [ 'one', 2, 3, '4' ] ()", + "module": "test", + "msecs": 311.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8093.043565750122, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "=", + "[ 'one', 2, 3, '4' ]", + "" + ], + "asctime": "2024-09-29 22:12:31,311", + "created": 1727640751.311155, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=list): result = [ 'one', 2, 3, '4' ] ()", + "module": "test", + "msecs": 311.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8093.11580657959, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 311.0, + "msg": "Data from cached instance with key=list is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8093.198776245117, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 8.296966552734375e-05 + }, + { + "args": [ + "{'1': '1', '2': 2, '3': 'three', '4': '4'}", + "" + ], + "asctime": "2024-09-29 22:12:31,312", + "created": 1727640751.3120024, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=dict is correct (Content {'1': '1', '2': 2, '3': 'three', '4': '4'} and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "dict" + ], + "asctime": "2024-09-29 22:12:31,311", + "created": 1727640751.3113399, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='dict' from source instance", + "module": "__init__", + "msecs": 311.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8093.300580978394, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "dict", + { + "1": "1", + "2": 2, + "3": "three", + "4": "4" + }, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,311", + "created": 1727640751.311399, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=dict, value={'1': '1', '2': 2, '3': 'three', '4': '4'} with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 311.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8093.359708786011, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,311", + "created": 1727640751.3116882, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 311.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8093.648910522461, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "{ '1': '1', '2': 2, '3': 'three', '4': '4' }", + "" + ], + "asctime": "2024-09-29 22:12:31,311", + "created": 1727640751.3118434, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=dict): { '1': '1', '2': 2, '3': 'three', '4': '4' } ()", + "module": "test", + "msecs": 311.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8093.804121017456, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "=", + "{ '1': '1', '2': 2, '3': 'three', '4': '4' }", + "" + ], + "asctime": "2024-09-29 22:12:31,311", + "created": 1727640751.3119216, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=dict): result = { '1': '1', '2': 2, '3': 'three', '4': '4' } ()", + "module": "test", + "msecs": 311.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8093.882322311401, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 312.0, + "msg": "Data from cached instance with key=dict is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8093.963146209717, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 8.082389831542969e-05 + }, + { + "args": [ + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,312", + "created": 1727640751.3127248, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=none is correct (Content 'not None' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "none" + ], + "asctime": "2024-09-29 22:12:31,312", + "created": 1727640751.3121045, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='none' from source instance", + "module": "__init__", + "msecs": 312.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8094.065189361572, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "none", + "not None", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,312", + "created": 1727640751.3121648, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=none, value=not None with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 312.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8094.125509262085, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,312", + "created": 1727640751.3124669, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 312.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8094.427585601807, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,312", + "created": 1727640751.3126023, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=none): 'not None' ()", + "module": "test", + "msecs": 312.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8094.563007354736, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "=", + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,312", + "created": 1727640751.312668, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=none): result = 'not None' ()", + "module": "test", + "msecs": 312.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8094.628810882568, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 312.0, + "msg": "Data from cached instance with key=none is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8094.6855545043945, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.6743621826171875e-05 + } + ], + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.006223917007446289, + "time_finished": "2024-09-29 22:12:31,312", + "time_start": "2024-09-29 22:12:31,306" + }, + "_FX360HvLEe-DRNATe61b9w": { + "args": null, + "asctime": "2024-09-29 22:12:31,312", + "created": 1727640751.3129325, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testCase", + "levelname": "INFO", + "levelno": 20, + "lineno": 323, + "message": "_FX360HvLEe-DRNATe61b9w", + "module": "__init__", + "moduleLogger": [], + "msecs": 312.0, + "msg": "_FX360HvLEe-DRNATe61b9w", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8094.893217086792, + "stack_info": null, + "testcaseLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,313", + "created": 1727640751.3131495, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", + "module": "test_helpers", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,313", + "created": 1727640751.3130524, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "INFO", + "levelno": 20, + "lineno": 17, + "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "module": "test_helpers", + "msecs": 313.0, + "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8095.01314163208, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 313.0, + "msg": "Prepare: Cleanup before testcase execution", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8095.110177993774, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 9.703636169433594e-05 + }, + { + "args": [ + "'property_cache_json'" + ], + "asctime": "2024-09-29 22:12:31,314", + "created": 1727640751.3142805, + "exc_info": null, + "exc_text": null, + "filename": "test_dump_cache.py", + "funcName": "dump_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 52, + "message": "Prepare: First usage of 'property_cache_json' with a class holding the data to be cached", + "module": "test_dump_cache", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,313", + "created": 1727640751.313282, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 313.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8095.242738723755, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" + ], + "asctime": "2024-09-29 22:12:31,313", + "created": 1727640751.3133955, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 313.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8095.356225967407, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,314", + "created": 1727640751.3141446, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 314.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8096.105337142944, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 314.0, + "msg": "Prepare: First usage of %s with a class holding the data to be cached", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_dump_cache.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8096.241235733032, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00013589859008789062 + }, + { + "args": [ + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,315", + "created": 1727640751.3152165, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=str is correct (Content '__string__' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,314", + "created": 1727640751.3145006, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 286, + "message": "Loading properties from cache (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 314.0, + "msg": "Loading properties from cache (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8096.461296081543, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [], + "asctime": "2024-09-29 22:12:31,314", + "created": 1727640751.314583, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_init_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 205, + "message": "Source uid changed, ignoring previous cache data", + "module": "__init__", + "msecs": 314.0, + "msg": "Source uid changed, ignoring previous cache data", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8096.543788909912, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:31,314", + "created": 1727640751.3146482, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='str' from source instance", + "module": "__init__", + "msecs": 314.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8096.608877182007, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str", + "__string__", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,314", + "created": 1727640751.3147044, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=str, value=__string__ with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 314.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8096.665143966675, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,314", + "created": 1727640751.3148987, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 314.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8096.859455108643, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,315", + "created": 1727640751.3150494, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=str): '__string__' ()", + "module": "test", + "msecs": 315.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8097.010135650635, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "=", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,315", + "created": 1727640751.3151262, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=str): result = '__string__' ()", + "module": "test", + "msecs": 315.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8097.0869064331055, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 315.0, + "msg": "Data from cached instance with key=str is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8097.177267074585, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 9.036064147949219e-05 + }, + { + "args": [ + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,316", + "created": 1727640751.3160748, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=unicode is correct (Content '__unicode__' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "unicode" + ], + "asctime": "2024-09-29 22:12:31,315", + "created": 1727640751.3153715, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='unicode' from source instance", + "module": "__init__", + "msecs": 315.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8097.332239151001, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "unicode", + "__unicode__", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,315", + "created": 1727640751.315472, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=unicode, value=__unicode__ with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 315.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8097.432613372803, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,315", + "created": 1727640751.3157043, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 315.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8097.665071487427, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,315", + "created": 1727640751.3158693, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=unicode): '__unicode__' ()", + "module": "test", + "msecs": 315.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8097.830057144165, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "=", + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,315", + "created": 1727640751.3159685, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=unicode): result = '__unicode__' ()", + "module": "test", + "msecs": 315.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8097.929239273071, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 316.0, + "msg": "Data from cached instance with key=unicode is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8098.035573959351, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00010633468627929688 + }, + { + "args": [ + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,316", + "created": 1727640751.3169265, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=integer is correct (Content 34 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "integer" + ], + "asctime": "2024-09-29 22:12:31,316", + "created": 1727640751.3162358, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='integer' from source instance", + "module": "__init__", + "msecs": 316.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8098.196506500244, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "integer", + 34, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,316", + "created": 1727640751.3163352, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=integer, value=34 with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 316.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8098.2959270477295, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,316", + "created": 1727640751.3166494, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 316.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8098.610162734985, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,316", + "created": 1727640751.3167963, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=integer): 34 ()", + "module": "test", + "msecs": 316.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8098.757028579712, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "=", + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,316", + "created": 1727640751.3168678, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=integer): result = 34 ()", + "module": "test", + "msecs": 316.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8098.828554153442, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 316.0, + "msg": "Data from cached instance with key=integer is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8098.887205123901, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.8650970458984375e-05 + }, + { + "args": [ + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,317", + "created": 1727640751.3176165, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=float is correct (Content 2.71828 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "float" + ], + "asctime": "2024-09-29 22:12:31,317", + "created": 1727640751.3170292, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='float' from source instance", + "module": "__init__", + "msecs": 317.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8098.989963531494, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "float", + 2.71828, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,317", + "created": 1727640751.3170898, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=float, value=2.71828 with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 317.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8099.050521850586, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,317", + "created": 1727640751.317321, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 317.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8099.281787872314, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,317", + "created": 1727640751.3174708, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=float): 2.71828 ()", + "module": "test", + "msecs": 317.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8099.43151473999, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "=", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,317", + "created": 1727640751.317539, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=float): result = 2.71828 ()", + "module": "test", + "msecs": 317.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8099.499702453613, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 317.0, + "msg": "Data from cached instance with key=float is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8099.577188491821, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 7.748603820800781e-05 + }, + { + "args": [ + "['one', 2, 3, '4']", + "" + ], + "asctime": "2024-09-29 22:12:31,318", + "created": 1727640751.318667, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=list is correct (Content ['one', 2, 3, '4'] and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "list" + ], + "asctime": "2024-09-29 22:12:31,317", + "created": 1727640751.3177428, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='list' from source instance", + "module": "__init__", + "msecs": 317.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8099.703550338745, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "list", + [ + "one", + 2, + 3, + "4" + ], + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,317", + "created": 1727640751.3178298, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=list, value=['one', 2, 3, '4'] with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 317.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8099.790573120117, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,318", + "created": 1727640751.3182018, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 318.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8100.162506103516, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "[ 'one', 2, 3, '4' ]", + "" + ], + "asctime": "2024-09-29 22:12:31,318", + "created": 1727640751.3184283, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=list): [ 'one', 2, 3, '4' ] ()", + "module": "test", + "msecs": 318.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8100.389003753662, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "=", + "[ 'one', 2, 3, '4' ]", + "" + ], + "asctime": "2024-09-29 22:12:31,318", + "created": 1727640751.3185434, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=list): result = [ 'one', 2, 3, '4' ] ()", + "module": "test", + "msecs": 318.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8100.504159927368, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 318.0, + "msg": "Data from cached instance with key=list is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8100.627660751343, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00012350082397460938 + }, + { + "args": [ + "{'1': '1', '2': 2, '3': 'three', '4': '4'}", + "" + ], + "asctime": "2024-09-29 22:12:31,320", + "created": 1727640751.3201678, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=dict is correct (Content {'1': '1', '2': 2, '3': 'three', '4': '4'} and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "dict" + ], + "asctime": "2024-09-29 22:12:31,318", + "created": 1727640751.318912, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='dict' from source instance", + "module": "__init__", + "msecs": 318.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8100.872755050659, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "dict", + { + "1": "1", + "2": 2, + "3": "three", + "4": "4" + }, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,319", + "created": 1727640751.319064, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=dict, value={'1': '1', '2': 2, '3': 'three', '4': '4'} with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 319.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8101.024627685547, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,319", + "created": 1727640751.3196056, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 319.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8101.566314697266, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "{ '1': '1', '2': 2, '3': 'three', '4': '4' }", + "" + ], + "asctime": "2024-09-29 22:12:31,319", + "created": 1727640751.3199608, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=dict): { '1': '1', '2': 2, '3': 'three', '4': '4' } ()", + "module": "test", + "msecs": 319.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8101.921558380127, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "=", + "{ '1': '1', '2': 2, '3': 'three', '4': '4' }", + "" + ], + "asctime": "2024-09-29 22:12:31,320", + "created": 1727640751.3200724, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=dict): result = { '1': '1', '2': 2, '3': 'three', '4': '4' } ()", + "module": "test", + "msecs": 320.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8102.0331382751465, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 320.0, + "msg": "Data from cached instance with key=dict is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8102.128505706787, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 9.5367431640625e-05 + }, + { + "args": [ + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,321", + "created": 1727640751.3211105, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=none is correct (Content 'not None' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "none" + ], + "asctime": "2024-09-29 22:12:31,320", + "created": 1727640751.3203151, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='none' from source instance", + "module": "__init__", + "msecs": 320.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8102.275848388672, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "none", + "not None", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,320", + "created": 1727640751.3203888, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=none, value=not None with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 320.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8102.349519729614, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,320", + "created": 1727640751.3207762, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 320.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8102.736949920654, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,320", + "created": 1727640751.3209672, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=none): 'not None' ()", + "module": "test", + "msecs": 320.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8102.927923202515, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "=", + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,321", + "created": 1727640751.3210485, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=none): result = 'not None' ()", + "module": "test", + "msecs": 321.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8103.009223937988, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 321.0, + "msg": "Data from cached instance with key=none is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8103.071212768555, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 6.198883056640625e-05 + } + ], + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.008177995681762695, + "time_finished": "2024-09-29 22:12:31,321", + "time_start": "2024-09-29 22:12:31,312" + }, + "_JH4owHvLEe-DRNATe61b9w": { + "args": null, + "asctime": "2024-09-29 22:12:31,321", + "created": 1727640751.3213942, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testCase", + "levelname": "INFO", + "levelno": 20, + "lineno": 323, + "message": "_JH4owHvLEe-DRNATe61b9w", + "module": "__init__", + "moduleLogger": [], + "msecs": 321.0, + "msg": "_JH4owHvLEe-DRNATe61b9w", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8103.354930877686, + "stack_info": null, + "testcaseLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,321", + "created": 1727640751.321717, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", + "module": "test_helpers", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,321", + "created": 1727640751.3215957, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "INFO", + "levelno": 20, + "lineno": 17, + "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "module": "test_helpers", + "msecs": 321.0, + "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8103.556394577026, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 321.0, + "msg": "Prepare: Cleanup before testcase execution", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8103.677749633789, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00012135505676269531 + }, + { + "args": [ + "'property_cache_json'" + ], + "asctime": "2024-09-29 22:12:31,322", + "created": 1727640751.3229527, + "exc_info": null, + "exc_text": null, + "filename": "test_dump_cache.py", + "funcName": "dump_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 52, + "message": "Prepare: First usage of 'property_cache_json' with a class holding the data to be cached", + "module": "test_dump_cache", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,321", + "created": 1727640751.321849, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 321.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8103.809833526611, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" + ], + "asctime": "2024-09-29 22:12:31,321", + "created": 1727640751.3219352, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 321.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8103.895902633667, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,322", + "created": 1727640751.3227441, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 322.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8104.704856872559, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 322.0, + "msg": "Prepare: First usage of %s with a class holding the data to be cached", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_dump_cache.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8104.9134731292725, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.0002086162567138672 + }, + { + "args": [ + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,323", + "created": 1727640751.3238986, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=str is correct (Content '__string__' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,323", + "created": 1727640751.3232033, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 286, + "message": "Loading properties from cache (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 323.0, + "msg": "Loading properties from cache (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8105.164051055908, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [], + "asctime": "2024-09-29 22:12:31,323", + "created": 1727640751.3232908, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_init_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 209, + "message": "Storage version changed, ignoring previous cache data", + "module": "__init__", + "msecs": 323.0, + "msg": "Storage version changed, ignoring previous cache data", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8105.2515506744385, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:31,323", + "created": 1727640751.323353, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='str' from source instance", + "module": "__init__", + "msecs": 323.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8105.313777923584, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str", + "__string__", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,323", + "created": 1727640751.3234105, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=str, value=__string__ with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 323.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8105.3712368011475, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,323", + "created": 1727640751.323611, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 323.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8105.571746826172, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,323", + "created": 1727640751.3237684, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=str): '__string__' ()", + "module": "test", + "msecs": 323.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8105.729103088379, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "=", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,323", + "created": 1727640751.323841, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=str): result = '__string__' ()", + "module": "test", + "msecs": 323.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8105.801820755005, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 323.0, + "msg": "Data from cached instance with key=str is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8105.859279632568, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.745887756347656e-05 + }, + { + "args": [ + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,324", + "created": 1727640751.3245234, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=unicode is correct (Content '__unicode__' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "unicode" + ], + "asctime": "2024-09-29 22:12:31,323", + "created": 1727640751.3239994, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='unicode' from source instance", + "module": "__init__", + "msecs": 323.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8105.960130691528, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "unicode", + "__unicode__", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,324", + "created": 1727640751.3240592, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=unicode, value=__unicode__ with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 324.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8106.019973754883, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,324", + "created": 1727640751.3242579, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 324.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8106.218576431274, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,324", + "created": 1727640751.3243945, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=unicode): '__unicode__' ()", + "module": "test", + "msecs": 324.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8106.3551902771, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "=", + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,324", + "created": 1727640751.3244665, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=unicode): result = '__unicode__' ()", + "module": "test", + "msecs": 324.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8106.427192687988, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 324.0, + "msg": "Data from cached instance with key=unicode is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8106.484174728394, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.698204040527344e-05 + }, + { + "args": [ + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,325", + "created": 1727640751.3253167, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=integer is correct (Content 34 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "integer" + ], + "asctime": "2024-09-29 22:12:31,324", + "created": 1727640751.3246207, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='integer' from source instance", + "module": "__init__", + "msecs": 324.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8106.581449508667, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "integer", + 34, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,324", + "created": 1727640751.3246794, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=integer, value=34 with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 324.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8106.640100479126, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,325", + "created": 1727640751.3250256, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 325.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8106.986284255981, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,325", + "created": 1727640751.3251648, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=integer): 34 ()", + "module": "test", + "msecs": 325.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8107.125520706177, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "=", + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,325", + "created": 1727640751.3252525, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=integer): result = 34 ()", + "module": "test", + "msecs": 325.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8107.213258743286, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 325.0, + "msg": "Data from cached instance with key=integer is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8107.277393341064, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 6.413459777832031e-05 + }, + { + "args": [ + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,325", + "created": 1727640751.3259897, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=float is correct (Content 2.71828 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "float" + ], + "asctime": "2024-09-29 22:12:31,325", + "created": 1727640751.3254228, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='float' from source instance", + "module": "__init__", + "msecs": 325.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8107.383489608765, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "float", + 2.71828, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,325", + "created": 1727640751.325483, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=float, value=2.71828 with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 325.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8107.443809509277, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,325", + "created": 1727640751.325712, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 325.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8107.672691345215, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,325", + "created": 1727640751.3258529, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=float): 2.71828 ()", + "module": "test", + "msecs": 325.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8107.813596725464, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "=", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,325", + "created": 1727640751.3259296, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=float): result = 2.71828 ()", + "module": "test", + "msecs": 325.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8107.890367507935, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 325.0, + "msg": "Data from cached instance with key=float is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8107.950448989868, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 6.008148193359375e-05 + }, + { + "args": [ + "['one', 2, 3, '4']", + "" + ], + "asctime": "2024-09-29 22:12:31,326", + "created": 1727640751.3267531, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=list is correct (Content ['one', 2, 3, '4'] and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "list" + ], + "asctime": "2024-09-29 22:12:31,326", + "created": 1727640751.3260894, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='list' from source instance", + "module": "__init__", + "msecs": 326.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8108.050107955933, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "list", + [ + "one", + 2, + 3, + "4" + ], + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,326", + "created": 1727640751.3261495, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=list, value=['one', 2, 3, '4'] with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 326.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8108.110189437866, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,326", + "created": 1727640751.3264253, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 326.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8108.386039733887, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "[ 'one', 2, 3, '4' ]", + "" + ], + "asctime": "2024-09-29 22:12:31,326", + "created": 1727640751.3265758, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=list): [ 'one', 2, 3, '4' ] ()", + "module": "test", + "msecs": 326.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8108.5364818573, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "=", + "[ 'one', 2, 3, '4' ]", + "" + ], + "asctime": "2024-09-29 22:12:31,326", + "created": 1727640751.32665, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=list): result = [ 'one', 2, 3, '4' ] ()", + "module": "test", + "msecs": 326.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8108.6106300354, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 326.0, + "msg": "Data from cached instance with key=list is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8108.713865280151, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00010323524475097656 + }, + { + "args": [ + "{'1': '1', '2': 2, '3': 'three', '4': '4'}", + "" + ], + "asctime": "2024-09-29 22:12:31,327", + "created": 1727640751.3276808, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=dict is correct (Content {'1': '1', '2': 2, '3': 'three', '4': '4'} and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "dict" + ], + "asctime": "2024-09-29 22:12:31,326", + "created": 1727640751.3269246, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='dict' from source instance", + "module": "__init__", + "msecs": 326.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8108.885288238525, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "dict", + { + "1": "1", + "2": 2, + "3": "three", + "4": "4" + }, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,327", + "created": 1727640751.3270283, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=dict, value={'1': '1', '2': 2, '3': 'three', '4': '4'} with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 327.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8108.989000320435, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,327", + "created": 1727640751.3273504, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 327.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8109.311103820801, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "{ '1': '1', '2': 2, '3': 'three', '4': '4' }", + "" + ], + "asctime": "2024-09-29 22:12:31,327", + "created": 1727640751.3275113, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=dict): { '1': '1', '2': 2, '3': 'three', '4': '4' } ()", + "module": "test", + "msecs": 327.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8109.472036361694, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "=", + "{ '1': '1', '2': 2, '3': 'three', '4': '4' }", + "" + ], + "asctime": "2024-09-29 22:12:31,327", + "created": 1727640751.3275943, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=dict): result = { '1': '1', '2': 2, '3': 'three', '4': '4' } ()", + "module": "test", + "msecs": 327.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8109.555006027222, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 327.0, + "msg": "Data from cached instance with key=dict is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8109.641551971436, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 8.654594421386719e-05 + }, + { + "args": [ + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,328", + "created": 1727640751.3284683, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=none is correct (Content 'not None' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "none" + ], + "asctime": "2024-09-29 22:12:31,327", + "created": 1727640751.3277864, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='none' from source instance", + "module": "__init__", + "msecs": 327.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8109.7471714019775, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "none", + "not None", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,327", + "created": 1727640751.3278477, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=none, value=not None with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 327.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8109.808444976807, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,328", + "created": 1727640751.3281515, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 328.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8110.112190246582, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,328", + "created": 1727640751.3283355, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=none): 'not None' ()", + "module": "test", + "msecs": 328.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8110.296249389648, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "=", + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,328", + "created": 1727640751.3284094, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=none): result = 'not None' ()", + "module": "test", + "msecs": 328.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8110.37015914917, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 328.0, + "msg": "Data from cached instance with key=none is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8110.429048538208, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.888938903808594e-05 + } + ], + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.007074117660522461, + "time_finished": "2024-09-29 22:12:31,328", + "time_start": "2024-09-29 22:12:31,321" + }, + "_KoUosHnGEe-IT79pgSFFDQ": { + "args": null, + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.2787824, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testCase", + "levelname": "INFO", + "levelno": 20, + "lineno": 323, + "message": "_KoUosHnGEe-IT79pgSFFDQ", + "module": "__init__", + "moduleLogger": [], + "msecs": 278.0, + "msg": "_KoUosHnGEe-IT79pgSFFDQ", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.743093490600586, + "stack_info": null, + "testcaseLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.2789335, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", + "module": "test_helpers", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.278896, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "INFO", + "levelno": 20, + "lineno": 20, + "message": "Cache file does not exist on filesystem.", + "module": "test_helpers", + "msecs": 278.0, + "msg": "Cache file does not exist on filesystem.", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.85681915283203, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 278.0, + "msg": "Prepare: Cleanup before testcase execution", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.89425086975098, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.743171691894531e-05 + }, + { + "args": [ + "6.004939794540405", + "" + ], + "asctime": "2024-09-29 22:12:29,284", + "created": 1727640749.284421, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "greater_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 230, + "message": "Consumed time for full_update is greater expectation (Content 6.004939794540405 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,279", + "created": 1727640743.279011, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 279.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.971736907958984, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" + ], + "asctime": "2024-09-29 22:12:23,279", + "created": 1727640743.2790637, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 279.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 61.02442741394043, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" + ], + "asctime": "2024-09-29 22:12:23,279", + "created": 1727640743.2794511, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 279.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 61.41185760498047, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_full_update_sleep.json" + ], + "asctime": "2024-09-29 22:12:29,283", + "created": 1727640749.2835376, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_full_update_sleep.json)", + "module": "__init__", + "msecs": 283.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6065.498352050781, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Consumed time for full_update", + "6.004939794540405", + "" + ], + "asctime": "2024-09-29 22:12:29,284", + "created": 1727640749.2840207, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Consumed time for full_update): 6.004939794540405 ()", + "module": "test", + "msecs": 284.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6065.981388092041, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Consumed time for full_update", + ">", + "6.0", + "" + ], + "asctime": "2024-09-29 22:12:29,284", + "created": 1727640749.2842119, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Consumed time for full_update): result > 6.0 ()", + "module": "test", + "msecs": 284.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6066.1725997924805, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 284.0, + "msg": "Consumed time for full_update is greater expectation (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6066.3816928863525, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.0002090930938720703 + }, + { + "args": [ + "6.004939794540405", + "" + ], + "asctime": "2024-09-29 22:12:29,285", + "created": 1727640749.2850544, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "less_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 207, + "message": "Consumed time for full_update is greater expectation (Content 6.004939794540405 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "Consumed time for full_update", + "6.004939794540405", + "" + ], + "asctime": "2024-09-29 22:12:29,284", + "created": 1727640749.2847397, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Consumed time for full_update): 6.004939794540405 ()", + "module": "test", + "msecs": 284.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6066.700458526611, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Consumed time for full_update", + "<", + "6.5", + "" + ], + "asctime": "2024-09-29 22:12:29,284", + "created": 1727640749.284898, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Consumed time for full_update): result < 6.5 ()", + "module": "test", + "msecs": 284.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6066.858768463135, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 285.0, + "msg": "Consumed time for full_update is greater expectation (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6067.015171051025, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.000156402587890625 + } + ], + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 6.006272077560425, + "time_finished": "2024-09-29 22:12:29,285", + "time_start": "2024-09-29 22:12:23,278" + }, + "_SVQXQHvLEe-DRNATe61b9w": { + "args": null, + "asctime": "2024-09-29 22:12:31,332", + "created": 1727640751.332378, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testCase", + "levelname": "INFO", + "levelno": 20, + "lineno": 323, + "message": "_SVQXQHvLEe-DRNATe61b9w", + "module": "__init__", + "moduleLogger": [], + "msecs": 332.0, + "msg": "_SVQXQHvLEe-DRNATe61b9w", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8114.338636398315, + "stack_info": null, + "testcaseLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,332", + "created": 1727640751.3326735, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", + "module": "test_helpers", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,332", + "created": 1727640751.3325663, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "INFO", + "levelno": 20, + "lineno": 17, + "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "module": "test_helpers", + "msecs": 332.0, + "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8114.526987075806, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 332.0, + "msg": "Prepare: Cleanup before testcase execution", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8114.634275436401, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00010728836059570312 + }, + { + "args": [ + "'property_cache_json'" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.334234, + "exc_info": null, + "exc_text": null, + "filename": "test_source_key_definition.py", + "funcName": "source_key_definition", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 38, + "message": "Prepare: First usage of 'property_cache_json' with a class holding the data to be cached", + "module": "test_source_key_definition", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,332", + "created": 1727640751.3327916, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 332.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8114.752292633057, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" + ], + "asctime": "2024-09-29 22:12:31,332", + "created": 1727640751.3328552, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 332.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8114.815950393677, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" + ], + "asctime": "2024-09-29 22:12:31,333", + "created": 1727640751.3333204, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 333.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8115.281105041504, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_source_key_def.json" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.3341112, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_source_key_def.json)", + "module": "__init__", + "msecs": 334.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.071939468384, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 334.0, + "msg": "Prepare: First usage of %s with a class holding the data to be cached", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_source_key_definition.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.194725036621, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.0001227855682373047 + }, + { + "args": [ + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.3345125, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=str is correct (Content '__string__' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.334356, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 175, + "message": "Key 'str' is excluded by .add_source_get_keys(). Uncached data will be returned.", + "module": "__init__", + "msecs": 334.0, + "msg": "Key '%s' is excluded by .add_source_get_keys(). Uncached data will be returned.", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.316795349121, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.334416, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=str): '__string__' ()", + "module": "test", + "msecs": 334.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.376638412476, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "=", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.334465, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=str): result = '__string__' ()", + "module": "test", + "msecs": 334.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.4257526397705, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 334.0, + "msg": "Data from cached instance with key=str is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.473197937012, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 4.744529724121094e-05 + }, + { + "args": [ + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.3348725, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=unicode is correct (Content 'unicode' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_source_key_def.json" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.3346765, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 286, + "message": "Loading properties from cache (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_source_key_def.json)", + "module": "__init__", + "msecs": 334.0, + "msg": "Loading properties from cache (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.637229919434, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "unicode" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.3347516, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'unicode' from cache", + "module": "__init__", + "msecs": 334.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.712331771851, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.334795, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=unicode): 'unicode' ()", + "module": "test", + "msecs": 334.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.755723953247, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "=", + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.3348358, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=unicode): result = 'unicode' ()", + "module": "test", + "msecs": 334.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.796493530273, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 334.0, + "msg": "Data from cached instance with key=unicode is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.833209991455, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.6716461181640625e-05 + }, + { + "args": [ + "17", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3350494, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=integer is correct (Content 17 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "integer" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.3349364, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'integer' from cache", + "module": "__init__", + "msecs": 334.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.897106170654, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "17", + "" + ], + "asctime": "2024-09-29 22:12:31,334", + "created": 1727640751.3349779, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=integer): 17 ()", + "module": "test", + "msecs": 334.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.938591003418, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "=", + "17", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3350139, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=integer): result = 17 ()", + "module": "test", + "msecs": 335.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8116.974592208862, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 335.0, + "msg": "Data from cached instance with key=integer is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.010116577148, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.552436828613281e-05 + }, + { + "args": [ + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3352993, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=float is correct (Content 2.71828 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "float" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3351204, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 175, + "message": "Key 'float' is excluded by .add_source_get_keys(). Uncached data will be returned.", + "module": "__init__", + "msecs": 335.0, + "msg": "Key '%s' is excluded by .add_source_get_keys(). Uncached data will be returned.", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.081165313721, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3351874, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=float): 2.71828 ()", + "module": "test", + "msecs": 335.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.148160934448, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "=", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3352466, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=float): result = 2.71828 ()", + "module": "test", + "msecs": 335.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.207288742065, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 335.0, + "msg": "Data from cached instance with key=float is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.259979248047, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.269050598144531e-05 + }, + { + "args": [ + "[1, 'two', '3', 4]", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3355477, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=list is correct (Content [1, 'two', '3', 4] and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "list" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3353896, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'list' from cache", + "module": "__init__", + "msecs": 335.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.350339889526, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3354514, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=list): [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 335.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.412090301514, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "=", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3354933, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=list): result = [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 335.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.454051971436, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 335.0, + "msg": "Data from cached instance with key=list is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.508411407471, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.435943603515625e-05 + }, + { + "args": [ + "{'1': 1, '2': 'two', '3': '3', '4': 4}", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3357782, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=dict is correct (Content {'1': 1, '2': 'two', '3': '3', '4': 4} and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "dict" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3356118, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'dict' from cache", + "module": "__init__", + "msecs": 335.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.572546005249, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3356626, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=dict): { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", + "module": "test", + "msecs": 335.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.623329162598, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "=", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.335718, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=dict): result = { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", + "module": "test", + "msecs": 335.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.678642272949, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 335.0, + "msg": "Data from cached instance with key=dict is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.738962173462, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 6.031990051269531e-05 + }, + { + "args": [ + "None", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3359764, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=none is correct (Content None and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "none" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.335844, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'none' from cache", + "module": "__init__", + "msecs": 335.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.804765701294, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "None", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3358872, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=none): None ()", + "module": "test", + "msecs": 335.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.847919464111, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "=", + "None", + "" + ], + "asctime": "2024-09-29 22:12:31,335", + "created": 1727640751.3359306, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=none): result = None ()", + "module": "test", + "msecs": 335.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.891311645508, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 335.0, + "msg": "Data from cached instance with key=none is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8117.937088012695, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 4.57763671875e-05 + } + ], + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.003598451614379883, + "time_finished": "2024-09-29 22:12:31,335", + "time_start": "2024-09-29 22:12:31,332" + }, + "_XzMFcHYZEem_kd-7nxt1sg": { + "args": null, + "asctime": "2024-09-29 22:12:23,271", + "created": 1727640743.271273, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testCase", + "levelname": "INFO", + "levelno": 20, + "lineno": 323, + "message": "_XzMFcHYZEem_kd-7nxt1sg", + "module": "__init__", + "moduleLogger": [], + "msecs": 271.0, + "msg": "_XzMFcHYZEem_kd-7nxt1sg", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 53.23362350463867, + "stack_info": null, + "testcaseLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,271", + "created": 1727640743.2714062, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", + "module": "test_helpers", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,271", + "created": 1727640743.2713473, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "INFO", + "levelno": 20, + "lineno": 17, + "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "module": "test_helpers", + "msecs": 271.0, + "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 53.30801010131836, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 271.0, + "msg": "Prepare: Cleanup before testcase execution", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 53.366899490356445, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.888938903808594e-05 + }, + { + "args": [ + "'property_cache_pickle'" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.272087, + "exc_info": null, + "exc_text": null, + "filename": "test_cached_data.py", + "funcName": "cached_data", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 49, + "message": "Prepare: First usage of 'property_cache_pickle' with a class holding the data to be cached", + "module": "test_cached_data", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,271", + "created": 1727640743.2714791, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 271.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 53.43985557556152, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" + ], + "asctime": "2024-09-29 22:12:23,271", + "created": 1727640743.2715328, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 271.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 53.493499755859375, + "stack_info": null, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" ], - "asctime": "2024-09-23 07:59:55,199", - "created": 1727071195.1990564, + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.272023, "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": 199.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 246, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", + "module": "__init__", + "msecs": 272.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, "processName": "MainProcess", - "relativeCreated": 61.68818473815918, + "relativeCreated": 53.98368835449219, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 199.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 62.157630920410156, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.00046944618225097656 - }, - { - "args": [], - "asctime": "2024-09-23 07:59:55,199", - "created": 1727071195.1996953, - "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": 199.0, - "msg": "Collecting data from cache instance.", + "msecs": 272.0, + "msg": "Prepare: First usage of %s with a class holding the data to be cached", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 62.32714653015137, + "relativeCreated": 54.04782295227051, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 0.0 + "time_consumption": 6.413459777832031e-05 }, { "args": [ - "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'}", + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2723503, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=str is correct (Content 'string' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2721999, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 220, + "message": "Loading properties from cache (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.pkl)", + "module": "__init__", + "msecs": 272.0, + "msg": "Loading properties from cache (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.16059494018555, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.272247, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'str' from cache", + "module": "__init__", + "msecs": 272.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.207801818847656, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2722852, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=str): 'string' ()", + "module": "test", + "msecs": 272.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.245948791503906, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "=", + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2723176, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=str): result = 'string' ()", + "module": "test", + "msecs": 272.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.27837371826172, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 272.0, + "msg": "Data from cached instance with key=str is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.31103706359863, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.266334533691406e-05 + }, + { + "args": [ + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2725086, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=unicode is correct (Content 'unicode' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "unicode" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.272406, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'unicode' from cache", + "module": "__init__", + "msecs": 272.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.3668270111084, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2724452, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=unicode): 'unicode' ()", + "module": "test", + "msecs": 272.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.405927658081055, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "=", + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2724771, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=unicode): result = 'unicode' ()", + "module": "test", + "msecs": 272.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.437875747680664, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 272.0, + "msg": "Data from cached instance with key=unicode is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.46934700012207, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.147125244140625e-05 + }, + { + "args": [ + "17", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2726607, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=integer is correct (Content 17 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "integer" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2725623, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'integer' from cache", + "module": "__init__", + "msecs": 272.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.52299118041992, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "17", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2725985, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=integer): 17 ()", + "module": "test", + "msecs": 272.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.55923080444336, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "=", + "17", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2726297, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=integer): result = 17 ()", + "module": "test", + "msecs": 272.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.590463638305664, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 272.0, + "msg": "Data from cached instance with key=integer is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.62145805358887, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.0994415283203125e-05 + }, + { + "args": [ + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2728162, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=float is correct (Content 3.14159 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "float" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2727141, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'float' from cache", + "module": "__init__", + "msecs": 272.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.67486381530762, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2727516, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=float): 3.14159 ()", + "module": "test", + "msecs": 272.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.71229553222656, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "=", + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2727842, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=float): result = 3.14159 ()", + "module": "test", + "msecs": 272.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.74495887756348, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 272.0, + "msg": "Data from cached instance with key=float is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.776906967163086, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.1948089599609375e-05 + }, + { + "args": [ + "[1, 'two', '3', 4]", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2729938, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=list is correct (Content [1, 'two', '3', 4] and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "list" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2728677, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'list' from cache", + "module": "__init__", + "msecs": 272.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.82840538024902, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2729104, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=list): [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 272.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.8710823059082, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "=", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:23,272", + "created": 1727640743.2729464, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=list): result = [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 272.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.90708351135254, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 272.0, + "msg": "Data from cached instance with key=list is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 54.95452880859375, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 4.744529724121094e-05 + }, + { + "args": [ + "{'1': 1, '2': 'two', '3': '3', '4': 4}", "" ], - "asctime": "2024-09-23 07:59:55,199", - "created": 1727071195.199886, + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.273175, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2947,17 +10167,43 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", + "message": "Data from cached instance with key=dict is correct (Content {'1': 1, '2': 'two', '3': '3', '4': 4} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Cached data", - "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", + "dict" + ], + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.273048, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'dict' from cache", + "module": "__init__", + "msecs": 273.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 55.008649826049805, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", "" ], - "asctime": "2024-09-23 07:59:55,199", - "created": 1727071195.1997674, + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.273091, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2965,28 +10211,28 @@ "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' } ()", + "message": "Result (Data from cached instance with key=dict): { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", "module": "test", - "msecs": 199.0, + "msecs": 273.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 62.39914894104004, + "relativeCreated": 55.05180358886719, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Cached data", + "Data from cached instance with key=dict", "=", - "{ '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' }", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", "" ], - "asctime": "2024-09-23 07:59:55,199", - "created": 1727071195.1998205, + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2731292, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -2994,175 +10240,39 @@ "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' } ()", + "message": "Expectation (Data from cached instance with key=dict): result = { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", "module": "test", - "msecs": 199.0, + "msecs": 273.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 62.45231628417969, + "relativeCreated": 55.08995056152344, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 199.0, - "msg": "Cached data is correct (Content %s and Type is %s).", + "msecs": 273.0, + "msg": "Data from cached instance with key=dict is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 62.51788139343262, + "relativeCreated": 55.13572692871094, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 6.556510925292969e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0009412765502929688, - "time_finished": "2024-09-23 07:59:55,199", - "time_start": "2024-09-23 07:59:55,198" - }, - "caching.property_cache_pickle: Test cached data (partially init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,199", - "created": 1727071195.1999803, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_pickle: Test cached data (partially init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 199.0, - "msg": "caching.property_cache_pickle: Test cached data (partially init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 62.612056732177734, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_pickle", - "True" - ], - "asctime": "2024-09-23 07:59:55,200", - "created": 1727071195.200597, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_pickle (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,200", - "created": 1727071195.2000377, - "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": 200.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 62.66951560974121, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_no_load_on_init.pkl" - ], - "asctime": "2024-09-23 07:59:55,200", - "created": 1727071195.2000933, - "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": 200.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 62.725067138671875, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 200.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 63.22884559631348, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0005037784576416016 - }, - { - "args": [], - "asctime": "2024-09-23 07:59:55,200", - "created": 1727071195.200748, - "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": 200.0, - "msg": "Collecting data from cache instance.", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 63.379764556884766, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0 + "time_consumption": 4.57763671875e-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}, 'uncached': 'uncached_data_of_class'}", - "" + "None", + "" ], - "asctime": "2024-09-23 07:59:55,200", - "created": 1727071195.200939, + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2733333, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3170,17 +10280,43 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Cached data is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}, 'uncached': 'uncached_data_of_class'} and Type is ).", + "message": "Data from cached instance with key=none is correct (Content None and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Cached data", - "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 }, 'uncached': 'uncached_data_of_class' }", - "" + "none" ], - "asctime": "2024-09-23 07:59:55,200", - "created": 1727071195.200822, + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.273229, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'none' from cache", + "module": "__init__", + "msecs": 273.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 55.18960952758789, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "None", + "" + ], + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2732656, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3188,28 +10324,28 @@ "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' } ()", + "message": "Result (Data from cached instance with key=none): None ()", "module": "test", - "msecs": 200.0, + "msecs": 273.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 63.45391273498535, + "relativeCreated": 55.22632598876953, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Cached data", + "Data from cached instance with key=none", "=", - "{ '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' }", - "" + "None", + "" ], - "asctime": "2024-09-23 07:59:55,200", - "created": 1727071195.2008712, + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2733, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3217,1474 +10353,39 @@ "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' } ()", + "message": "Expectation (Data from cached instance with key=none): result = None ()", "module": "test", - "msecs": 200.0, + "msecs": 273.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 63.50302696228027, + "relativeCreated": 55.260658264160156, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 200.0, - "msg": "Cached data is correct (Content %s and Type is %s).", + "msecs": 273.0, + "msg": "Data from cached instance with key=none is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 63.57073783874512, + "relativeCreated": 55.294036865234375, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 6.771087646484375e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0009586811065673828, - "time_finished": "2024-09-23 07:59:55,200", - "time_start": "2024-09-23 07:59:55,199" - }, - "caching.property_cache_pickle: Test execution of save callback (full init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,207", - "created": 1727071195.2070835, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_pickle: Test execution of save callback (full init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 207.0, - "msg": "caching.property_cache_pickle: Test execution of save callback (full init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 69.71526145935059, - "stack_info": null, - "testcaseLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,207", - "created": 1727071195.2071424, - "exc_info": null, - "exc_text": null, - "filename": "test_save_callback.py", - "funcName": "save_callback", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Installing save_callback, which sets a variable to True on execution.", - "module": "test_save_callback", - "moduleLogger": [], - "msecs": 207.0, - "msg": "Installing save_callback, which sets a variable to True on execution.", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_save_callback.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 69.77415084838867, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0 - }, - { - "args": [ - "True", - "" - ], - "asctime": "2024-09-23 07:59:55,207", - "created": 1727071195.207363, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 184, - "message": "Save callback execution variable is correct (Content True and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "Save callback execution variable", - "True", - "" - ], - "asctime": "2024-09-23 07:59:55,207", - "created": 1727071195.2072573, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Save callback execution variable): True ()", - "module": "test", - "msecs": 207.0, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 69.88906860351562, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "Save callback execution variable", - "=", - "True", - "" - ], - "asctime": "2024-09-23 07:59:55,207", - "created": 1727071195.207313, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Save callback execution variable): result = True ()", - "module": "test", - "msecs": 207.0, - "msg": "Expectation (%s): result %s %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 69.94485855102539, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 207.0, - "msg": "Save callback execution variable is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 69.99468803405762, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 4.982948303222656e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.00027942657470703125, - "time_finished": "2024-09-23 07:59:55,207", - "time_start": "2024-09-23 07:59:55,207" - }, - "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object": { - "args": null, - "asctime": "2024-09-23 07:59:55,196", - "created": 1727071195.1969397, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", - "module": "__init__", - "moduleLogger": [], - "msecs": 196.0, - "msg": "caching.property_cache_pickle: Test full initialised PICKLE-Cache-Object", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 59.57150459289551, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_pickle", - "True" - ], - "asctime": "2024-09-23 07:59:55,197", - "created": 1727071195.1975293, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_pickle (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,196", - "created": 1727071195.196998, - "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": 196.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 59.62967872619629, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/load_on_init.pkl" - ], - "asctime": "2024-09-23 07:59:55,197", - "created": 1727071195.1970534, - "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": 197.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 59.68523025512695, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 197.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 60.16111373901367, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.00047588348388671875 - }, - { - "args": [ - "property_cache_pickle" - ], - "asctime": "2024-09-23 07:59:55,197", - "created": 1727071195.197691, - "exc_info": null, - "exc_text": null, - "filename": "test_load_on_init.py", - "funcName": "load_on_init", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 21, - "message": "Extracting storage object from property_cache_pickle for comparison.", - "module": "test_load_on_init", - "moduleLogger": [ - { - "args": [ - "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}}" - ], - "asctime": "2024-09-23 07:59:55,197", - "created": 1727071195.1976552, - "exc_info": null, - "exc_text": null, - "filename": "test_load_on_init.py", - "funcName": "load_on_init", - "levelname": "INFO", - "levelno": 20, - "lineno": 20, - "message": "Using storage object of cache class for comparison: {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}}", - "module": "test_load_on_init", - "msecs": 197.0, - "msg": "Using storage object of cache class for comparison: %s", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_load_on_init.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 60.2869987487793, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 197.0, - "msg": "Extracting storage object from %s for comparison.", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_load_on_init.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 60.32276153564453, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 3.5762786865234375e-05 - }, - { - "args": [ - "{'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}}", - "" - ], - "asctime": "2024-09-23 07:59:55,197", - "created": 1727071195.1978738, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 184, - "message": "Cache object is correct (Content {'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [1, 'two', '3', 4], 'dict': {'1': 1, '2': 'two', '3': '3', '4': 4}} and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "Cache object", - "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } }", - "" - ], - "asctime": "2024-09-23 07:59:55,197", - "created": 1727071195.1977608, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Cache object): { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } } ()", - "module": "test", - "msecs": 197.0, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 60.39261817932129, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "Cache object", - "=", - "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } }", - "" - ], - "asctime": "2024-09-23 07:59:55,197", - "created": 1727071195.1978068, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17, 'float': 3.14159, 'list': [ 1, 'two', '3', 4 ], 'dict': { '1': 1, '2': 'two', '3': '3', '4': 4 } } ()", - "module": "test", - "msecs": 197.0, - "msg": "Expectation (%s): result %s %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 60.43863296508789, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 197.0, - "msg": "Cache object is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 60.50562858581543, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 6.699562072753906e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0009341239929199219, - "time_finished": "2024-09-23 07:59:55,197", - "time_start": "2024-09-23 07:59:55,196" - }, - "caching.property_cache_pickle: Test get from source caused by changed uid (full init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,204", - "created": 1727071195.2041287, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 204.0, - "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (full init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 66.76054000854492, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_pickle", - "True" - ], - "asctime": "2024-09-23 07:59:55,204", - "created": 1727071195.2047074, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_pickle (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,204", - "created": 1727071195.2041874, - "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": 204.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 66.8191909790039, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_load_on_init.pkl" - ], - "asctime": "2024-09-23 07:59:55,204", - "created": 1727071195.2042425, - "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": 204.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 66.87426567077637, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 204.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 67.33918190002441, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0004649162292480469 - }, - { - "args": [ - "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", - "" - ], - "asctime": "2024-09-23 07:59:55,205", - "created": 1727071195.2054503, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 184, - "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "Instance data after changing uid", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" - ], - "asctime": "2024-09-23 07:59:55,205", - "created": 1727071195.205315, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Instance data after changing uid): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", - "module": "test", - "msecs": 205.0, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 67.9469108581543, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "Instance data after changing uid", - "=", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" - ], - "asctime": "2024-09-23 07:59:55,205", - "created": 1727071195.2053819, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Instance data after changing uid): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", - "module": "test", - "msecs": 205.0, - "msg": "Expectation (%s): result %s %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 68.01366806030273, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 205.0, - "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 68.08209419250488, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 6.842613220214844e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.001321554183959961, - "time_finished": "2024-09-23 07:59:55,205", - "time_start": "2024-09-23 07:59:55,204" - }, - "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,205", - "created": 1727071195.205607, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 205.0, - "msg": "caching.property_cache_pickle: Test get from source caused by changed uid (partially init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 68.23873519897461, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_pickle", - "True" - ], - "asctime": "2024-09-23 07:59:55,206", - "created": 1727071195.2061877, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_pickle (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,205", - "created": 1727071195.205667, - "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": 205.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 68.2988166809082, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/uid_test_no_load_on_init.pkl" - ], - "asctime": "2024-09-23 07:59:55,205", - "created": 1727071195.2057216, - "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": 205.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 68.35341453552246, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 206.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 68.81952285766602, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0004661083221435547 - }, - { - "args": [ - "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", - "" - ], - "asctime": "2024-09-23 07:59:55,206", - "created": 1727071195.206988, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 184, - "message": "Instance data after changing uid is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "Instance data after changing uid", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" - ], - "asctime": "2024-09-23 07:59:55,206", - "created": 1727071195.2068546, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Instance data after changing uid): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", - "module": "test", - "msecs": 206.0, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 69.48637962341309, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "Instance data after changing uid", - "=", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" - ], - "asctime": "2024-09-23 07:59:55,206", - "created": 1727071195.2069182, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Instance data after changing uid): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", - "module": "test", - "msecs": 206.0, - "msg": "Expectation (%s): result %s %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 69.5500373840332, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 206.0, - "msg": "Instance data after changing uid is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 69.61989402770996, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 6.985664367675781e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0013811588287353516, - "time_finished": "2024-09-23 07:59:55,206", - "time_start": "2024-09-23 07:59:55,205" - }, - "caching.property_cache_pickle: Test get from source caused by increased data version (full init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,201", - "created": 1727071195.2010322, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 201.0, - "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (full init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 63.66395950317383, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_pickle", - "True" - ], - "asctime": "2024-09-23 07:59:55,201", - "created": 1727071195.2016146, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_pickle (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,201", - "created": 1727071195.201089, - "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": 201.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 63.720703125, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_load_on_init.pkl" - ], - "asctime": "2024-09-23 07:59:55,201", - "created": 1727071195.201145, - "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": 201.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 63.77673149108887, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 201.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 64.24641609191895, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0004696846008300781 - }, - { - "args": [ - "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", - "" - ], - "asctime": "2024-09-23 07:59:55,202", - "created": 1727071195.202375, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 184, - "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "Instance data after increasing data_version", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" - ], - "asctime": "2024-09-23 07:59:55,202", - "created": 1727071195.202233, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Instance data after increasing data_version): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", - "module": "test", - "msecs": 202.0, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 64.8648738861084, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "Instance data after increasing data_version", - "=", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" - ], - "asctime": "2024-09-23 07:59:55,202", - "created": 1727071195.202307, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Instance data after increasing data_version): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", - "module": "test", - "msecs": 202.0, - "msg": "Expectation (%s): result %s %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 64.93878364562988, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 202.0, - "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 65.00673294067383, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 6.794929504394531e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0013427734375, - "time_finished": "2024-09-23 07:59:55,202", - "time_start": "2024-09-23 07:59:55,201" - }, - "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)": { - "args": null, - "asctime": "2024-09-23 07:59:55,202", - "created": 1727071195.2024686, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", - "module": "__init__", - "moduleLogger": [], - "msecs": 202.0, - "msg": "caching.property_cache_pickle: Test get from source caused by increased data version (partially init)", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 65.10043144226074, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_pickle", - "True" - ], - "asctime": "2024-09-23 07:59:55,203", - "created": 1727071195.2030509, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_pickle (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,202", - "created": 1727071195.2025266, - "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": 202.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 65.15836715698242, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/data_version_test_no_load_on_init.pkl" - ], - "asctime": "2024-09-23 07:59:55,202", - "created": 1727071195.2025805, - "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": 202.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 65.21224975585938, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 203.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 65.68264961242676, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0004703998565673828 - }, - { - "args": [ - "{'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}}", - "" - ], - "asctime": "2024-09-23 07:59:55,204", - "created": 1727071195.2040315, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 184, - "message": "Instance data after increasing data_version is correct (Content {'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': ['one', 2, 3, '4'], 'dict': {'1': '1', '2': 2, '3': 'three', '4': '4'}} and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "Instance data after increasing data_version", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" - ], - "asctime": "2024-09-23 07:59:55,203", - "created": 1727071195.2038708, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Instance data after increasing data_version): { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", - "module": "test", - "msecs": 203.0, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 66.50257110595703, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "Instance data after increasing data_version", - "=", - "{ 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } }", - "" - ], - "asctime": "2024-09-23 07:59:55,203", - "created": 1727071195.2039587, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Instance data after increasing data_version): result = { 'str': '__string__', 'unicode': '__unicode__', 'integer': 34, 'float': 2.71828, 'list': [ 'one', 2, 3, '4' ], 'dict': { '1': '1', '2': 2, '3': 'three', '4': '4' } } ()", - "module": "test", - "msecs": 203.0, - "msg": "Expectation (%s): result %s %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 66.59054756164551, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 204.0, - "msg": "Instance data after increasing data_version is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 66.66326522827148, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 7.271766662597656e-05 - } - ], - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0015628337860107422, - "time_finished": "2024-09-23 07:59:55,204", - "time_start": "2024-09-23 07:59:55,202" - }, - "caching.property_cache_pickle: Test internal key usage": { - "args": null, - "asctime": "2024-09-23 07:59:55,207", - "created": 1727071195.2074633, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testCase", - "levelname": "INFO", - "levelno": 20, - "lineno": 323, - "message": "caching.property_cache_pickle: Test internal key usage", - "module": "__init__", - "moduleLogger": [], - "msecs": 207.0, - "msg": "caching.property_cache_pickle: Test internal key usage", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 70.09506225585938, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "property_cache_pickle", - "True" - ], - "asctime": "2024-09-23 07:59:55,207", - "created": 1727071195.207935, - "exc_info": null, - "exc_text": null, - "filename": "test_helpers.py", - "funcName": "init_cache", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_pickle (load_all_on_init=True).", - "module": "test_helpers", - "moduleLogger": [ - { - "args": [], - "asctime": "2024-09-23 07:59:55,207", - "created": 1727071195.207519, - "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": 207.0, - "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 70.15085220336914, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/internal_keys_test.pkl" - ], - "asctime": "2024-09-23 07:59:55,207", - "created": 1727071195.2075734, - "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": 207.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 70.2052116394043, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 207.0, - "msg": "Initialising %s (load_all_on_init=%s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 70.56689262390137, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 0.0003616809844970703 - }, - { - "args": [ - "property_cache_pickle" - ], - "asctime": "2024-09-23 07:59:55,208", - "created": 1727071195.208099, - "exc_info": null, - "exc_text": null, - "filename": "test_internal_keys.py", - "funcName": "test_internal_keys", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 21, - "message": "Extracting storage object from property_cache_pickle for comparison.", - "module": "test_internal_keys", - "moduleLogger": [ - { - "args": [ - "{'_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version'}" - ], - "asctime": "2024-09-23 07:59:55,208", - "created": 1727071195.208063, - "exc_info": null, - "exc_text": null, - "filename": "test_internal_keys.py", - "funcName": "test_internal_keys", - "levelname": "INFO", - "levelno": 20, - "lineno": 20, - "message": "Using storage object of cache class for comparison: {'_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version'}", - "module": "test_internal_keys", - "msecs": 208.0, - "msg": "Using storage object of cache class for comparison: %s", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_internal_keys.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 70.6946849822998, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 208.0, - "msg": "Extracting storage object from %s for comparison.", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_internal_keys.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 70.73068618774414, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 3.600120544433594e-05 - }, - { - "args": [ - "{'_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version'}", - "" - ], - "asctime": "2024-09-23 07:59:55,208", - "created": 1727071195.2082305, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 184, - "message": "Cache is correct (Content {'_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version'} and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "Cache", - "{ '_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version' }", - "" - ], - "asctime": "2024-09-23 07:59:55,208", - "created": 1727071195.2081542, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Cache): { '_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version' } ()", - "module": "test", - "msecs": 208.0, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 70.7859992980957, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "Cache", - "=", - "{ '_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version' }", - "" - ], - "asctime": "2024-09-23 07:59:55,208", - "created": 1727071195.20819, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Cache): result = { '_property_cache_uid_': 'no uid', '__property_cache_uid_': 'no second uid', '_property_cache_data_version_': 'no data version', '__property_cache_data_version_': 'no second data version' } ()", - "module": "test", - "msecs": 208.0, - "msg": "Expectation (%s): result %s %s (%s)", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 70.82176208496094, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 208.0, - "msg": "Cache is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 70.8622932434082, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 4.0531158447265625e-05 + "time_consumption": 3.337860107421875e-05 }, { "args": [ "5", "" ], - "asctime": "2024-09-23 07:59:55,208", - "created": 1727071195.2083359, + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2734842, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4692,17 +10393,43 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Keyfilter returnvalue for 5 () is correct (Content 5 and Type is ).", + "message": "Data from cached instance with key=unknown_key is correct (Content 5 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Keyfilter returnvalue for 5 ()", + "unknown_key" + ], + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2733843, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 173, + "message": "Key 'unknown_key' is not in cached_keys. Uncached data will be returned.", + "module": "__init__", + "msecs": 273.0, + "msg": "Key '%s' is not in cached_keys. Uncached data will be returned.", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 55.34505844116211, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unknown_key", "5", "" ], - "asctime": "2024-09-23 07:59:55,208", - "created": 1727071195.2082784, + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.27342, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4710,28 +10437,28 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 22, - "message": "Result (Keyfilter returnvalue for 5 ()): 5 ()", + "message": "Result (Data from cached instance with key=unknown_key): 5 ()", "module": "test", - "msecs": 208.0, + "msecs": 273.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 70.91021537780762, + "relativeCreated": 55.380821228027344, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Keyfilter returnvalue for 5 ()", + "Data from cached instance with key=unknown_key", "=", "5", "" ], - "asctime": "2024-09-23 07:59:55,208", - "created": 1727071195.208308, + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2734513, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4739,43 +10466,43 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 26, - "message": "Expectation (Keyfilter returnvalue for 5 ()): result = 5 ()", + "message": "Expectation (Data from cached instance with key=unknown_key): result = 5 ()", "module": "test", - "msecs": 208.0, + "msecs": 273.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 70.93977928161621, + "relativeCreated": 55.41205406188965, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 208.0, - "msg": "Keyfilter returnvalue for 5 () is correct (Content %s and Type is %s).", + "msecs": 273.0, + "msg": "Data from cached instance with key=unknown_key is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 70.9676742553711, + "relativeCreated": 55.444955825805664, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 2.7894973754882812e-05 + "time_consumption": 3.2901763916015625e-05 } ], - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 0.0008726119995117188, - "time_finished": "2024-09-23 07:59:55,208", - "time_start": "2024-09-23 07:59:55,207" + "time_consumption": 0.002211332321166992, + "time_finished": "2024-09-29 22:12:23,273", + "time_start": "2024-09-29 22:12:23,271" }, - "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object": { + "_e-ehkHvLEe-DRNATe61b9w": { "args": null, - "asctime": "2024-09-23 07:59:55,197", - "created": 1727071195.1979659, + "asctime": "2024-09-29 22:12:31,336", + "created": 1727640751.3361552, "exc_info": null, "exc_text": null, "filename": "__init__.py", @@ -4783,186 +10510,102 @@ "levelname": "INFO", "levelno": 20, "lineno": 323, - "message": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", + "message": "_e-ehkHvLEe-DRNATe61b9w", "module": "__init__", "moduleLogger": [], - "msecs": 197.0, - "msg": "caching.property_cache_pickle: Test partially initialised PICKLE-Cache-Object", + "msecs": 336.0, + "msg": "_e-ehkHvLEe-DRNATe61b9w", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 60.59765815734863, + "relativeCreated": 8118.1159019470215, "stack_info": null, "testcaseLogger": [ { - "args": [ - "property_cache_pickle", - "False" - ], - "asctime": "2024-09-23 07:59:55,198", - "created": 1727071195.1981986, + "args": [], + "asctime": "2024-09-29 22:12:31,336", + "created": 1727640751.336405, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", - "funcName": "init_cache", + "funcName": "clean", "levelname": "DEBUG", "levelno": 10, - "lineno": 24, - "message": "Initialising property_cache_pickle (load_all_on_init=False).", + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", "module": "test_helpers", "moduleLogger": [ { "args": [], - "asctime": "2024-09-23 07:59:55,198", - "created": 1727071195.1980228, + "asctime": "2024-09-29 22:12:31,336", + "created": 1727640751.3362849, "exc_info": null, "exc_text": null, "filename": "test_helpers.py", - "funcName": "init_cache", + "funcName": "clean", "levelname": "INFO", "levelno": 20, "lineno": 17, "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "module": "test_helpers", - "msecs": 198.0, + "msecs": 336.0, "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 60.654640197753906, + "relativeCreated": 8118.245601654053, "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - }, - { - "args": [ - "/home/dirk/my_repositories/unittest/caching/unittest/output_data/no_load_on_init.pkl" - ], - "asctime": "2024-09-23 07:59:55,198", - "created": 1727071195.1980777, - "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": 198.0, - "msg": "Initialising cached class with %s as cache file.", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 60.709476470947266, - "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 198.0, - "msg": "Initialising %s (load_all_on_init=%s).", + "msecs": 336.0, + "msg": "Prepare: Cleanup before testcase execution", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 60.83035469055176, + "relativeCreated": 8118.36576461792, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 0.00012087821960449219 + "time_consumption": 0.0001201629638671875 }, { "args": [], - "asctime": "2024-09-23 07:59:55,198", - "created": 1727071195.198564, + "asctime": "2024-09-29 22:12:31,336", + "created": 1727640751.33648, "exc_info": null, "exc_text": null, - "filename": "test_no_load_on_init.py", - "funcName": "no_load_on_init", + "filename": "test_save_callback.py", + "funcName": "save_callback", "levelname": "DEBUG", "levelno": 10, - "lineno": 18, - "message": "Partially initialising cache object by requesting some information.", - "module": "test_no_load_on_init", + "lineno": 47, + "message": "Installing save_callback with no get or full_update execution.", + "module": "test_save_callback", "moduleLogger": [], - "msecs": 198.0, - "msg": "Partially initialising cache object by requesting some information.", + "msecs": 336.0, + "msg": "Installing save_callback with no get or full_update execution.", "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", - "process": 308082, + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_save_callback.py", + "process": 536234, "processName": "MainProcess", - "relativeCreated": 61.19585037231445, + "relativeCreated": 8118.440628051758, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", "time_consumption": 0.0 }, { "args": [ - "property_cache_pickle" + "0", + "" ], - "asctime": "2024-09-23 07:59:55,198", - "created": 1727071195.198722, - "exc_info": null, - "exc_text": null, - "filename": "test_no_load_on_init.py", - "funcName": "no_load_on_init", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 24, - "message": "Extracting storage object from property_cache_pickle for comparison.", - "module": "test_no_load_on_init", - "moduleLogger": [ - { - "args": [ - "{'unicode': 'unicode', 'str': 'string', 'integer': 17}" - ], - "asctime": "2024-09-23 07:59:55,198", - "created": 1727071195.1986861, - "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: {'unicode': 'unicode', 'str': 'string', 'integer': 17}", - "module": "test_no_load_on_init", - "msecs": 198.0, - "msg": "Using storage object of cache class for comparison: %s", - "name": "__unittest__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 61.31792068481445, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread" - } - ], - "msecs": 198.0, - "msg": "Extracting storage object from %s for comparison.", - "name": "__tLogger__", - "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_no_load_on_init.py", - "process": 308082, - "processName": "MainProcess", - "relativeCreated": 61.35368347167969, - "stack_info": null, - "thread": 140535965610048, - "threadName": "MainThread", - "time_consumption": 3.5762786865234375e-05 - }, - { - "args": [ - "{'unicode': 'unicode', 'str': 'string', 'integer': 17}", - "" - ], - "asctime": "2024-09-23 07:59:55,198", - "created": 1727071195.1988513, + "asctime": "2024-09-29 22:12:31,336", + "created": 1727640751.3366363, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4970,17 +10613,17 @@ "levelname": "INFO", "levelno": 20, "lineno": 184, - "message": "Cache object is correct (Content {'unicode': 'unicode', 'str': 'string', 'integer': 17} and Type is ).", + "message": "Save callback execution counter is correct (Content 0 and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - "Cache object", - "{ 'unicode': 'unicode', 'str': 'string', 'integer': 17 }", - "" + "Save callback execution counter", + "0", + "" ], - "asctime": "2024-09-23 07:59:55,198", - "created": 1727071195.1987789, + "asctime": "2024-09-29 22:12:31,336", + "created": 1727640751.336549, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4988,28 +10631,28 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 22, - "message": "Result (Cache object): { 'unicode': 'unicode', 'str': 'string', 'integer': 17 } ()", + "message": "Result (Save callback execution counter): 0 ()", "module": "test", - "msecs": 198.0, + "msecs": 336.0, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 61.41066551208496, + "relativeCreated": 8118.509769439697, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" }, { "args": [ - "Cache object", + "Save callback execution counter", "=", - "{ 'str': 'string', 'unicode': 'unicode', 'integer': 17 }", - "" + "0", + "" ], - "asctime": "2024-09-23 07:59:55,198", - "created": 1727071195.1988134, + "asctime": "2024-09-29 22:12:31,336", + "created": 1727640751.3365967, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5017,67 +10660,4931 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 26, - "message": "Expectation (Cache object): result = { 'str': 'string', 'unicode': 'unicode', 'integer': 17 } ()", + "message": "Expectation (Save callback execution counter): result = 0 ()", "module": "test", - "msecs": 198.0, + "msecs": 336.0, "msg": "Expectation (%s): result %s %s (%s)", "name": "__unittest__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 61.44523620605469, + "relativeCreated": 8118.557453155518, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread" } ], - "msecs": 198.0, - "msg": "Cache object is correct (Content %s and Type is %s).", + "msecs": 336.0, + "msg": "Save callback execution counter is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", - "process": 308082, + "process": 536234, "processName": "MainProcess", - "relativeCreated": 61.483144760131836, + "relativeCreated": 8118.597030639648, "stack_info": null, - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 3.790855407714844e-05 + "time_consumption": 3.9577484130859375e-05 + }, + { + "args": [ + "None", + "" + ], + "asctime": "2024-09-29 22:12:31,336", + "created": 1727640751.3367798, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Save callback execution counter is correct (Content None and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "Save callback execution counter", + "None", + "" + ], + "asctime": "2024-09-29 22:12:31,336", + "created": 1727640751.3367004, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Save callback execution counter): None ()", + "module": "test", + "msecs": 336.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8118.661165237427, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Save callback execution counter", + "=", + "None", + "" + ], + "asctime": "2024-09-29 22:12:31,336", + "created": 1727640751.3367393, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Save callback execution counter): result = None ()", + "module": "test", + "msecs": 336.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8118.70002746582, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 336.0, + "msg": "Save callback execution counter is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8118.740558624268, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 4.0531158447265625e-05 } ], - "thread": 140535965610048, + "thread": 140143461883968, "threadName": "MainThread", - "time_consumption": 0.0008854866027832031, - "time_finished": "2024-09-23 07:59:55,198", - "time_start": "2024-09-23 07:59:55,197" + "time_consumption": 0.0006246566772460938, + "time_finished": "2024-09-29 22:12:31,336", + "time_start": "2024-09-29 22:12:31,336" + }, + "_eAYLEHndEe-Pc-LxwEk-3w": { + "args": null, + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2736104, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testCase", + "levelname": "INFO", + "levelno": 20, + "lineno": 323, + "message": "_eAYLEHndEe-Pc-LxwEk-3w", + "module": "__init__", + "moduleLogger": [], + "msecs": 273.0, + "msg": "_eAYLEHndEe-Pc-LxwEk-3w", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 55.57107925415039, + "stack_info": null, + "testcaseLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2737136, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", + "module": "test_helpers", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2736814, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "INFO", + "levelno": 20, + "lineno": 20, + "message": "Cache file does not exist on filesystem.", + "module": "test_helpers", + "msecs": 273.0, + "msg": "Cache file does not exist on filesystem.", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 55.642127990722656, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 273.0, + "msg": "Prepare: Cleanup before testcase execution", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 55.67431449890137, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.218650817871094e-05 + }, + { + "args": [ + "'property_cache_json'" + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.2761297, + "exc_info": null, + "exc_text": null, + "filename": "test_cached_data.py", + "funcName": "cached_data", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 49, + "message": "Prepare: First usage of 'property_cache_json' with a class holding the data to be cached", + "module": "test_cached_data", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2737741, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 273.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 55.734872817993164, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2738166, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='str' from source instance", + "module": "__init__", + "msecs": 273.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 55.77731132507324, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str", + "string", + 1727640743 + ], + "asctime": "2024-09-29 22:12:23,273", + "created": 1727640743.2738504, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=str, value=string with timestamp=1727640743 to chache", + "module": "__init__", + "msecs": 273.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 55.811166763305664, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" + ], + "asctime": "2024-09-29 22:12:23,274", + "created": 1727640743.2740328, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", + "module": "__init__", + "msecs": 274.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 55.99355697631836, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "integer" + ], + "asctime": "2024-09-29 22:12:23,274", + "created": 1727640743.2741048, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='integer' from source instance", + "module": "__init__", + "msecs": 274.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 56.06555938720703, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "integer", + 17, + 1727640743 + ], + "asctime": "2024-09-29 22:12:23,274", + "created": 1727640743.2741442, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=integer, value=17 with timestamp=1727640743 to chache", + "module": "__init__", + "msecs": 274.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 56.10489845275879, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" + ], + "asctime": "2024-09-29 22:12:23,274", + "created": 1727640743.2742834, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", + "module": "__init__", + "msecs": 274.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 56.2441349029541, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "list" + ], + "asctime": "2024-09-29 22:12:23,274", + "created": 1727640743.2743857, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='list' from source instance", + "module": "__init__", + "msecs": 274.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 56.34641647338867, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "list", + [ + 1, + "two", + "3", + 4 + ], + 1727640743 + ], + "asctime": "2024-09-29 22:12:23,274", + "created": 1727640743.274425, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=list, value=[1, 'two', '3', 4] with timestamp=1727640743 to chache", + "module": "__init__", + "msecs": 274.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 56.38575553894043, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" + ], + "asctime": "2024-09-29 22:12:23,275", + "created": 1727640743.2753513, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", + "module": "__init__", + "msecs": 275.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 57.31201171875, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "dict" + ], + "asctime": "2024-09-29 22:12:23,275", + "created": 1727640743.2754543, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='dict' from source instance", + "module": "__init__", + "msecs": 275.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 57.415008544921875, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "dict", + { + "1": 1, + "2": "two", + "3": "3", + "4": 4 + }, + 1727640743 + ], + "asctime": "2024-09-29 22:12:23,275", + "created": 1727640743.2754972, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=dict, value={'1': 1, '2': 'two', '3': '3', '4': 4} with timestamp=1727640743 to chache", + "module": "__init__", + "msecs": 275.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 57.457923889160156, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" + ], + "asctime": "2024-09-29 22:12:23,275", + "created": 1727640743.2756968, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", + "module": "__init__", + "msecs": 275.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 57.657480239868164, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "none" + ], + "asctime": "2024-09-29 22:12:23,275", + "created": 1727640743.275787, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='none' from source instance", + "module": "__init__", + "msecs": 275.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 57.747840881347656, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "none", + null, + 1727640743 + ], + "asctime": "2024-09-29 22:12:23,275", + "created": 1727640743.275834, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=none, value=None with timestamp=1727640743 to chache", + "module": "__init__", + "msecs": 275.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 57.794809341430664, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.276011, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", + "module": "__init__", + "msecs": 276.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 57.97171592712402, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 276.0, + "msg": "Prepare: First usage of %s with a class holding the data to be cached", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_cached_data.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.0904483795166, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00011873245239257812 + }, + { + "args": [ + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.2764964, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=str is correct (Content 'string' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.2763157, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 286, + "message": "Loading properties from cache (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", + "module": "__init__", + "msecs": 276.0, + "msg": "Loading properties from cache (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.27641487121582, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.276373, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'str' from cache", + "module": "__init__", + "msecs": 276.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.333635330200195, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.276423, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=str): 'string' ()", + "module": "test", + "msecs": 276.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.38370323181152, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "=", + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.2764602, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=str): result = 'string' ()", + "module": "test", + "msecs": 276.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.42089653015137, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 276.0, + "msg": "Data from cached instance with key=str is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.457136154174805, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.62396240234375e-05 + }, + { + "args": [ + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.2770095, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=unicode is correct (Content '__unicode__' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "unicode" + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.2765813, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='unicode' from source instance", + "module": "__init__", + "msecs": 276.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.54201316833496, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "unicode", + "__unicode__", + 1727640743 + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.2766197, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=unicode, value=__unicode__ with timestamp=1727640743 to chache", + "module": "__init__", + "msecs": 276.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.58039855957031, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.2768226, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", + "module": "__init__", + "msecs": 276.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.78329277038574, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.2769163, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=unicode): '__unicode__' ()", + "module": "test", + "msecs": 276.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.876991271972656, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "=", + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:23,276", + "created": 1727640743.2769718, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=unicode): result = '__unicode__' ()", + "module": "test", + "msecs": 276.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.93254280090332, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 277.0, + "msg": "Data from cached instance with key=unicode is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 58.97021293640137, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.7670135498046875e-05 + }, + { + "args": [ + "17", + "" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.2771962, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=integer is correct (Content 17 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "integer" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.277082, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'integer' from cache", + "module": "__init__", + "msecs": 277.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.04269218444824, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "17", + "" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.2771258, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=integer): 17 ()", + "module": "test", + "msecs": 277.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.08656120300293, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "=", + "17", + "" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.2771611, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=integer): result = 17 ()", + "module": "test", + "msecs": 277.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.12184715270996, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 277.0, + "msg": "Data from cached instance with key=integer is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.15689468383789, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.504753112792969e-05 + }, + { + "args": [ + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.2777007, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=float is correct (Content 2.71828 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "float" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.2772548, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='float' from source instance", + "module": "__init__", + "msecs": 277.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.215545654296875, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "float", + 2.71828, + 1727640743 + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.277292, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=float, value=2.71828 with timestamp=1727640743 to chache", + "module": "__init__", + "msecs": 277.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.25273895263672, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.277507, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_load_on_init.json)", + "module": "__init__", + "msecs": 277.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.46779251098633, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.2775946, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=float): 2.71828 ()", + "module": "test", + "msecs": 277.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.5552921295166, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "=", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.277653, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=float): result = 2.71828 ()", + "module": "test", + "msecs": 277.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.613704681396484, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 277.0, + "msg": "Data from cached instance with key=float is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.6613883972168, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 4.76837158203125e-05 + }, + { + "args": [ + "[1, 'two', '3', 4]", + "" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.2779074, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=list is correct (Content [1, 'two', '3', 4] and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "list" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.2777667, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'list' from cache", + "module": "__init__", + "msecs": 277.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.72743034362793, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.277815, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=list): [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 277.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.77582931518555, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "=", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:23,277", + "created": 1727640743.2778552, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=list): result = [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 277.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.81588363647461, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 277.0, + "msg": "Data from cached instance with key=list is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 59.86809730529785, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.221366882324219e-05 + }, + { + "args": [ + "{'1': 1, '2': 'two', '3': '3', '4': 4}", + "" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.2782817, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=dict is correct (Content {'1': 1, '2': 'two', '3': '3', '4': 4} and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "dict" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.2781098, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'dict' from cache", + "module": "__init__", + "msecs": 278.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.07051467895508, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", + "" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.2781646, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=dict): { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", + "module": "test", + "msecs": 278.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.12535095214844, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "=", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", + "" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.2782283, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=dict): result = { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", + "module": "test", + "msecs": 278.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.189008712768555, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 278.0, + "msg": "Data from cached instance with key=dict is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.242414474487305, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.340576171875e-05 + }, + { + "args": [ + "None", + "" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.2784612, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=none is correct (Content None and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "none" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.278347, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'none' from cache", + "module": "__init__", + "msecs": 278.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.30774116516113, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "None", + "" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.2783906, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=none): None ()", + "module": "test", + "msecs": 278.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.35137176513672, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "=", + "None", + "" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.2784264, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=none): result = None ()", + "module": "test", + "msecs": 278.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.38713455200195, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 278.0, + "msg": "Data from cached instance with key=none is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.42194366455078, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.4809112548828125e-05 + }, + { + "args": [ + "5", + "" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.2786295, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=unknown_key is correct (Content 5 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "unknown_key" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.27852, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 173, + "message": "Key 'unknown_key' is not in cached_keys. Uncached data will be returned.", + "module": "__init__", + "msecs": 278.0, + "msg": "Key '%s' is not in cached_keys. Uncached data will be returned.", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.48083305358887, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unknown_key", + "5", + "" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.2785602, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=unknown_key): 5 ()", + "module": "test", + "msecs": 278.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.52088737487793, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unknown_key", + "=", + "5", + "" + ], + "asctime": "2024-09-29 22:12:23,278", + "created": 1727640743.278595, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=unknown_key): result = 5 ()", + "module": "test", + "msecs": 278.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.55569648742676, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 278.0, + "msg": "Data from cached instance with key=unknown_key is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 60.590267181396484, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.457069396972656e-05 + } + ], + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.005019187927246094, + "time_finished": "2024-09-29 22:12:23,278", + "time_start": "2024-09-29 22:12:23,273" + }, + "_ivxo8HvLEe-DRNATe61b9w": { + "args": null, + "asctime": "2024-09-29 22:12:31,336", + "created": 1727640751.3369174, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testCase", + "levelname": "INFO", + "levelno": 20, + "lineno": 323, + "message": "_ivxo8HvLEe-DRNATe61b9w", + "module": "__init__", + "moduleLogger": [], + "msecs": 336.0, + "msg": "_ivxo8HvLEe-DRNATe61b9w", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8118.878126144409, + "stack_info": null, + "testcaseLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,337", + "created": 1727640751.3370514, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", + "module": "test_helpers", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,337", + "created": 1727640751.3370137, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "INFO", + "levelno": 20, + "lineno": 20, + "message": "Cache file does not exist on filesystem.", + "module": "test_helpers", + "msecs": 337.0, + "msg": "Cache file does not exist on filesystem.", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8118.974447250366, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 337.0, + "msg": "Prepare: Cleanup before testcase execution", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8119.012117385864, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.7670135498046875e-05 + }, + { + "args": [], + "asctime": "2024-09-29 22:12:31,337", + "created": 1727640751.337941, + "exc_info": null, + "exc_text": null, + "filename": "test_save_callback.py", + "funcName": "save_callback", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 50, + "message": "Installing save_callback and execute full_update.", + "module": "test_save_callback", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,337", + "created": 1727640751.3371255, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 337.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8119.086265563965, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" + ], + "asctime": "2024-09-29 22:12:31,337", + "created": 1727640751.3371813, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 337.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8119.142055511475, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/save_callback_callback.json" + ], + "asctime": "2024-09-29 22:12:31,337", + "created": 1727640751.3378472, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/save_callback_callback.json)", + "module": "__init__", + "msecs": 337.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8119.807958602905, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 337.0, + "msg": "Installing save_callback and execute full_update.", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_save_callback.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8119.901657104492, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 9.369850158691406e-05 + }, + { + "args": [ + "1", + "" + ], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.3380973, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Save callback execution counter is correct (Content 1 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "Save callback execution counter", + "1", + "" + ], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.3380175, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Save callback execution counter): 1 ()", + "module": "test", + "msecs": 338.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8119.978189468384, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Save callback execution counter", + "=", + "1", + "" + ], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.3380585, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Save callback execution counter): result = 1 ()", + "module": "test", + "msecs": 338.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.019197463989, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 338.0, + "msg": "Save callback execution counter is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.058059692383, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.886222839355469e-05 + }, + { + "args": [ + "", + "" + ], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.3382573, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Save callback execution counter is correct (Content and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "Save callback execution counter", + "", + "" + ], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.33816, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Save callback execution counter): ()", + "module": "test", + "msecs": 338.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.1207637786865, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Save callback execution counter", + "=", + "", + "" + ], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.3382201, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Save callback execution counter): result = ()", + "module": "test", + "msecs": 338.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.18084526062, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 338.0, + "msg": "Save callback execution counter is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.21803855896, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.719329833984375e-05 + } + ], + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.0013399124145507812, + "time_finished": "2024-09-29 22:12:31,338", + "time_start": "2024-09-29 22:12:31,336" + }, + "_r2DhcHndEe-Pc-LxwEk-3w": { + "args": null, + "asctime": "2024-09-29 22:12:29,293", + "created": 1727640749.293089, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testCase", + "levelname": "INFO", + "levelno": 20, + "lineno": 323, + "message": "_r2DhcHndEe-Pc-LxwEk-3w", + "module": "__init__", + "moduleLogger": [], + "msecs": 293.0, + "msg": "_r2DhcHndEe-Pc-LxwEk-3w", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6075.049638748169, + "stack_info": null, + "testcaseLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:29,293", + "created": 1727640749.2933254, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", + "module": "test_helpers", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:29,293", + "created": 1727640749.2932124, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "INFO", + "levelno": 20, + "lineno": 17, + "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "module": "test_helpers", + "msecs": 293.0, + "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6075.173139572144, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 293.0, + "msg": "Prepare: Cleanup before testcase execution", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6075.286149978638, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00011301040649414062 + }, + { + "args": [ + "'property_cache_json'" + ], + "asctime": "2024-09-29 22:12:29,294", + "created": 1727640749.2943418, + "exc_info": null, + "exc_text": null, + "filename": "test_dump_cache.py", + "funcName": "dump_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 52, + "message": "Prepare: First usage of 'property_cache_json' with a class holding the data to be cached", + "module": "test_dump_cache", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:29,293", + "created": 1727640749.2934337, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 293.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6075.39439201355, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']" + ], + "asctime": "2024-09-29 22:12:29,293", + "created": 1727640749.2935112, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_source", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 236, + "message": "Loading all data from source - ['str', 'unicode', 'integer', 'float', 'list', 'dict', 'none']", + "module": "__init__", + "msecs": 293.0, + "msg": "Loading all data from source - %s", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6075.471878051758, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:29,294", + "created": 1727640749.2942371, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 294.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6076.197862625122, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 294.0, + "msg": "Prepare: First usage of %s with a class holding the data to be cached", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_dump_cache.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6076.302528381348, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00010466575622558594 + }, + { + "args": [ + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:29,294", + "created": 1727640749.2947843, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=str is correct (Content 'string' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:29,294", + "created": 1727640749.294544, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 286, + "message": "Loading properties from cache (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 294.0, + "msg": "Loading properties from cache (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6076.504707336426, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:29,294", + "created": 1727640749.2946215, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'str' from cache", + "module": "__init__", + "msecs": 294.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6076.582193374634, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:29,294", + "created": 1727640749.2946835, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=str): 'string' ()", + "module": "test", + "msecs": 294.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6076.6441822052, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "=", + "'string'", + "" + ], + "asctime": "2024-09-29 22:12:29,294", + "created": 1727640749.2947345, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=str): result = 'string' ()", + "module": "test", + "msecs": 294.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6076.695203781128, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 294.0, + "msg": "Data from cached instance with key=str is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6076.74503326416, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 4.982948303222656e-05 + }, + { + "args": [ + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.295039, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=unicode is correct (Content 'unicode' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "unicode" + ], + "asctime": "2024-09-29 22:12:29,294", + "created": 1727640749.2948718, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'unicode' from cache", + "module": "__init__", + "msecs": 294.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6076.83253288269, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:29,294", + "created": 1727640749.2949407, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=unicode): 'unicode' ()", + "module": "test", + "msecs": 294.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6076.901435852051, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "=", + "'unicode'", + "" + ], + "asctime": "2024-09-29 22:12:29,294", + "created": 1727640749.2949905, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=unicode): result = 'unicode' ()", + "module": "test", + "msecs": 294.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6076.951265335083, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 295.0, + "msg": "Data from cached instance with key=unicode is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6076.999664306641, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 4.839897155761719e-05 + }, + { + "args": [ + "17", + "" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.295261, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=integer is correct (Content 17 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "integer" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.295118, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'integer' from cache", + "module": "__init__", + "msecs": 295.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.078819274902, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "17", + "" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.2951703, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=integer): 17 ()", + "module": "test", + "msecs": 295.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.131032943726, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "=", + "17", + "" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.2952156, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=integer): result = 17 ()", + "module": "test", + "msecs": 295.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.176332473755, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 295.0, + "msg": "Data from cached instance with key=integer is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.221632003784, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 4.5299530029296875e-05 + }, + { + "args": [ + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.2954986, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=float is correct (Content 3.14159 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "float" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.2953415, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'float' from cache", + "module": "__init__", + "msecs": 295.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.3022174835205, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.295396, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=float): 3.14159 ()", + "module": "test", + "msecs": 295.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.356815338135, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "=", + "3.14159", + "" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.295443, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=float): result = 3.14159 ()", + "module": "test", + "msecs": 295.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.403783798218, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 295.0, + "msg": "Data from cached instance with key=float is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.459335327148, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.555152893066406e-05 + }, + { + "args": [ + "[1, 'two', '3', 4]", + "" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.2959023, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=list is correct (Content [1, 'two', '3', 4] and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "list" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.2956154, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'list' from cache", + "module": "__init__", + "msecs": 295.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.576160430908, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.2957191, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=list): [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 295.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.679872512817, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "=", + "[ 1, 'two', '3', 4 ]", + "" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.2958047, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=list): result = [ 1, 'two', '3', 4 ] ()", + "module": "test", + "msecs": 295.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.765464782715, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 295.0, + "msg": "Data from cached instance with key=list is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.862977981567, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 9.751319885253906e-05 + }, + { + "args": [ + "{'1': 1, '2': 'two', '3': '3', '4': 4}", + "" + ], + "asctime": "2024-09-29 22:12:29,296", + "created": 1727640749.296185, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=dict is correct (Content {'1': 1, '2': 'two', '3': '3', '4': 4} and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "dict" + ], + "asctime": "2024-09-29 22:12:29,295", + "created": 1727640749.2959938, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'dict' from cache", + "module": "__init__", + "msecs": 295.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6077.954530715942, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", + "" + ], + "asctime": "2024-09-29 22:12:29,296", + "created": 1727640749.2960598, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=dict): { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", + "module": "test", + "msecs": 296.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6078.0205726623535, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "=", + "{ '1': 1, '2': 'two', '3': '3', '4': 4 }", + "" + ], + "asctime": "2024-09-29 22:12:29,296", + "created": 1727640749.2961147, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=dict): result = { '1': 1, '2': 'two', '3': '3', '4': 4 } ()", + "module": "test", + "msecs": 296.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6078.075408935547, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 296.0, + "msg": "Data from cached instance with key=dict is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6078.145742416382, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 7.033348083496094e-05 + }, + { + "args": [ + "None", + "" + ], + "asctime": "2024-09-29 22:12:29,296", + "created": 1727640749.296451, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=none is correct (Content None and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "none" + ], + "asctime": "2024-09-29 22:12:29,296", + "created": 1727640749.2962713, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 166, + "message": "Providing property for 'none' from cache", + "module": "__init__", + "msecs": 296.0, + "msg": "Providing property for '%s' from cache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6078.232049942017, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "None", + "" + ], + "asctime": "2024-09-29 22:12:29,296", + "created": 1727640749.2963278, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=none): None ()", + "module": "test", + "msecs": 296.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6078.288555145264, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "=", + "None", + "" + ], + "asctime": "2024-09-29 22:12:29,296", + "created": 1727640749.296375, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=none): result = None ()", + "module": "test", + "msecs": 296.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6078.335762023926, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 296.0, + "msg": "Data from cached instance with key=none is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 6078.411817550659, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 7.605552673339844e-05 + }, + { + "args": [ + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,300", + "created": 1727640751.3001301, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=str is correct (Content '__string__' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,297", + "created": 1727640751.2978306, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 153, + "message": "The cached value is old, cached value will be ignored", + "module": "__init__", + "msecs": 297.0, + "msg": "The cached value is old, cached value will be ignored", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8079.791307449341, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:31,298", + "created": 1727640751.2981043, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='str' from source instance", + "module": "__init__", + "msecs": 298.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8080.065011978149, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str", + "__string__", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,298", + "created": 1727640751.2983286, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=str, value=__string__ with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 298.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8080.289363861084, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,299", + "created": 1727640751.2992375, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 299.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8081.198215484619, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,299", + "created": 1727640751.2997012, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=str): '__string__' ()", + "module": "test", + "msecs": 299.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8081.661939620972, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=str", + "=", + "'__string__'", + "" + ], + "asctime": "2024-09-29 22:12:31,299", + "created": 1727640751.2999642, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=str): result = '__string__' ()", + "module": "test", + "msecs": 299.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8081.924915313721, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 300.0, + "msg": "Data from cached instance with key=str is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8082.090854644775, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.0001659393310546875 + }, + { + "args": [ + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,302", + "created": 1727640751.3022184, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=unicode is correct (Content '__unicode__' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,300", + "created": 1727640751.3004608, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 153, + "message": "The cached value is old, cached value will be ignored", + "module": "__init__", + "msecs": 300.0, + "msg": "The cached value is old, cached value will be ignored", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8082.421541213989, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "unicode" + ], + "asctime": "2024-09-29 22:12:31,300", + "created": 1727640751.3006098, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='unicode' from source instance", + "module": "__init__", + "msecs": 300.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8082.570552825928, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "unicode", + "__unicode__", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,300", + "created": 1727640751.3007555, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=unicode, value=__unicode__ with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 300.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8082.716226577759, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,301", + "created": 1727640751.3015091, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 301.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8083.469867706299, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,301", + "created": 1727640751.3018625, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=unicode): '__unicode__' ()", + "module": "test", + "msecs": 301.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8083.823204040527, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=unicode", + "=", + "'__unicode__'", + "" + ], + "asctime": "2024-09-29 22:12:31,302", + "created": 1727640751.3020434, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=unicode): result = '__unicode__' ()", + "module": "test", + "msecs": 302.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8084.004163742065, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 302.0, + "msg": "Data from cached instance with key=unicode is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8084.179162979126, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.00017499923706054688 + }, + { + "args": [ + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,303", + "created": 1727640751.3033197, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=integer is correct (Content 34 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,302", + "created": 1727640751.3024852, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 153, + "message": "The cached value is old, cached value will be ignored", + "module": "__init__", + "msecs": 302.0, + "msg": "The cached value is old, cached value will be ignored", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8084.445953369141, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "integer" + ], + "asctime": "2024-09-29 22:12:31,302", + "created": 1727640751.3026297, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='integer' from source instance", + "module": "__init__", + "msecs": 302.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8084.590435028076, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "integer", + 34, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,302", + "created": 1727640751.302783, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=integer, value=34 with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 302.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8084.7437381744385, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,303", + "created": 1727640751.3030877, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 303.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8085.04843711853, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,303", + "created": 1727640751.3032086, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=integer): 34 ()", + "module": "test", + "msecs": 303.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8085.169315338135, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=integer", + "=", + "34", + "" + ], + "asctime": "2024-09-29 22:12:31,303", + "created": 1727640751.3032684, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=integer): result = 34 ()", + "module": "test", + "msecs": 303.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8085.229158401489, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 303.0, + "msg": "Data from cached instance with key=integer is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8085.280418395996, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.125999450683594e-05 + }, + { + "args": [ + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,304", + "created": 1727640751.3040187, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=float is correct (Content 2.71828 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,303", + "created": 1727640751.3034124, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 153, + "message": "The cached value is old, cached value will be ignored", + "module": "__init__", + "msecs": 303.0, + "msg": "The cached value is old, cached value will be ignored", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8085.373163223267, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "float" + ], + "asctime": "2024-09-29 22:12:31,303", + "created": 1727640751.303463, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='float' from source instance", + "module": "__init__", + "msecs": 303.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8085.423707962036, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "float", + 2.71828, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,303", + "created": 1727640751.3035133, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=float, value=2.71828 with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 303.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8085.474014282227, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,303", + "created": 1727640751.3037856, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 303.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8085.746288299561, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,303", + "created": 1727640751.3039055, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=float): 2.71828 ()", + "module": "test", + "msecs": 303.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8085.866212844849, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=float", + "=", + "2.71828", + "" + ], + "asctime": "2024-09-29 22:12:31,303", + "created": 1727640751.3039663, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=float): result = 2.71828 ()", + "module": "test", + "msecs": 303.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8085.9270095825195, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 304.0, + "msg": "Data from cached instance with key=float is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8085.979461669922, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 5.245208740234375e-05 + }, + { + "args": [ + "['one', 2, 3, '4']", + "" + ], + "asctime": "2024-09-29 22:12:31,304", + "created": 1727640751.304867, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=list is correct (Content ['one', 2, 3, '4'] and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,304", + "created": 1727640751.30411, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 153, + "message": "The cached value is old, cached value will be ignored", + "module": "__init__", + "msecs": 304.0, + "msg": "The cached value is old, cached value will be ignored", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8086.070775985718, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "list" + ], + "asctime": "2024-09-29 22:12:31,304", + "created": 1727640751.3041606, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='list' from source instance", + "module": "__init__", + "msecs": 304.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8086.121320724487, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "list", + [ + "one", + 2, + 3, + "4" + ], + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,304", + "created": 1727640751.3042104, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=list, value=['one', 2, 3, '4'] with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 304.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8086.1711502075195, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,304", + "created": 1727640751.3044858, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 304.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8086.446523666382, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "[ 'one', 2, 3, '4' ]", + "" + ], + "asctime": "2024-09-29 22:12:31,304", + "created": 1727640751.3047192, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=list): [ 'one', 2, 3, '4' ] ()", + "module": "test", + "msecs": 304.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8086.679935455322, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=list", + "=", + "[ 'one', 2, 3, '4' ]", + "" + ], + "asctime": "2024-09-29 22:12:31,304", + "created": 1727640751.3047876, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=list): result = [ 'one', 2, 3, '4' ] ()", + "module": "test", + "msecs": 304.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8086.748361587524, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 304.0, + "msg": "Data from cached instance with key=list is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8086.827754974365, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 7.939338684082031e-05 + }, + { + "args": [ + "{'1': '1', '2': 2, '3': 'three', '4': '4'}", + "" + ], + "asctime": "2024-09-29 22:12:31,305", + "created": 1727640751.3056066, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=dict is correct (Content {'1': '1', '2': 2, '3': 'three', '4': '4'} and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,304", + "created": 1727640751.304974, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 153, + "message": "The cached value is old, cached value will be ignored", + "module": "__init__", + "msecs": 304.0, + "msg": "The cached value is old, cached value will be ignored", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8086.934804916382, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "dict" + ], + "asctime": "2024-09-29 22:12:31,305", + "created": 1727640751.305024, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='dict' from source instance", + "module": "__init__", + "msecs": 305.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8086.984634399414, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "dict", + { + "1": "1", + "2": 2, + "3": "three", + "4": "4" + }, + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,305", + "created": 1727640751.3050768, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=dict, value={'1': '1', '2': 2, '3': 'three', '4': '4'} with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 305.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8087.037563323975, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,305", + "created": 1727640751.3053398, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 305.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8087.300539016724, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "{ '1': '1', '2': 2, '3': 'three', '4': '4' }", + "" + ], + "asctime": "2024-09-29 22:12:31,305", + "created": 1727640751.3054695, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=dict): { '1': '1', '2': 2, '3': 'three', '4': '4' } ()", + "module": "test", + "msecs": 305.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8087.430238723755, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=dict", + "=", + "{ '1': '1', '2': 2, '3': 'three', '4': '4' }", + "" + ], + "asctime": "2024-09-29 22:12:31,305", + "created": 1727640751.3055363, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=dict): result = { '1': '1', '2': 2, '3': 'three', '4': '4' } ()", + "module": "test", + "msecs": 305.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8087.496995925903, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 305.0, + "msg": "Data from cached instance with key=dict is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8087.567329406738, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 7.033348083496094e-05 + }, + { + "args": [ + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,306", + "created": 1727640751.3062894, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Data from cached instance with key=none is correct (Content 'not None' and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,305", + "created": 1727640751.3056982, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 153, + "message": "The cached value is old, cached value will be ignored", + "module": "__init__", + "msecs": 305.0, + "msg": "The cached value is old, cached value will be ignored", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8087.658882141113, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "none" + ], + "asctime": "2024-09-29 22:12:31,305", + "created": 1727640751.3057477, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='none' from source instance", + "module": "__init__", + "msecs": 305.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8087.708473205566, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "none", + "not None", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,305", + "created": 1727640751.305797, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=none, value=not None with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 305.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8087.75782585144, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json" + ], + "asctime": "2024-09-29 22:12:31,306", + "created": 1727640751.3060594, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/cache_data_test_dump_cache.json)", + "module": "__init__", + "msecs": 306.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8088.020086288452, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,306", + "created": 1727640751.3061817, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Data from cached instance with key=none): 'not None' ()", + "module": "test", + "msecs": 306.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8088.142395019531, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Data from cached instance with key=none", + "=", + "'not None'", + "" + ], + "asctime": "2024-09-29 22:12:31,306", + "created": 1727640751.30624, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Data from cached instance with key=none): result = 'not None' ()", + "module": "test", + "msecs": 306.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8088.200807571411, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 306.0, + "msg": "Data from cached instance with key=none is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8088.250160217285, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 4.935264587402344e-05 + } + ], + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 2.013200521469116, + "time_finished": "2024-09-29 22:12:31,306", + "time_start": "2024-09-29 22:12:29,293" + }, + "_ty_ewHvLEe-DRNATe61b9w": { + "args": null, + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.3383899, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testCase", + "levelname": "INFO", + "levelno": 20, + "lineno": 323, + "message": "_ty_ewHvLEe-DRNATe61b9w", + "module": "__init__", + "moduleLogger": [], + "msecs": 338.0, + "msg": "_ty_ewHvLEe-DRNATe61b9w", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/report/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.35059928894, + "stack_info": null, + "testcaseLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.3385725, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 21, + "message": "Prepare: Cleanup before testcase execution", + "module": "test_helpers", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.3384907, + "exc_info": null, + "exc_text": null, + "filename": "test_helpers.py", + "funcName": "clean", + "levelname": "INFO", + "levelno": 20, + "lineno": 17, + "message": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "module": "test_helpers", + "msecs": 338.0, + "msg": "Deleting cache file from filesystem to ensure identical conditions for each test run.", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.4514503479, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 338.0, + "msg": "Prepare: Cleanup before testcase execution", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_helpers.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.533227920532, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 8.177757263183594e-05 + }, + { + "args": [], + "asctime": "2024-09-29 22:12:31,339", + "created": 1727640751.3390005, + "exc_info": null, + "exc_text": null, + "filename": "test_save_callback.py", + "funcName": "save_callback", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 56, + "message": "Installing save_callback and execute a single get.", + "module": "test_save_callback", + "moduleLogger": [ + { + "args": [], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.3386617, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_load_cache", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 227, + "message": "Cache file does not exists (yet).", + "module": "__init__", + "msecs": 338.0, + "msg": "Cache file does not exists (yet).", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.622396469116, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str" + ], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.3387158, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='str' from source instance", + "module": "__init__", + "msecs": 338.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.676517486572, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "str", + "string", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.338762, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=str, value=string with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 338.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.722770690918, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/save_callback_callback.json" + ], + "asctime": "2024-09-29 22:12:31,338", + "created": 1727640751.3389223, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/save_callback_callback.json)", + "module": "__init__", + "msecs": 338.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.882987976074, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 339.0, + "msg": "Installing save_callback and execute a single get.", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_save_callback.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8120.9611892700195, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 7.82012939453125e-05 + }, + { + "args": [], + "asctime": "2024-09-29 22:12:31,339", + "created": 1727640751.339353, + "exc_info": null, + "exc_text": null, + "filename": "test_save_callback.py", + "funcName": "save_callback", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 56, + "message": "Installing save_callback and execute a single get.", + "module": "test_save_callback", + "moduleLogger": [ + { + "args": [ + "unicode" + ], + "asctime": "2024-09-29 22:12:31,339", + "created": 1727640751.3390696, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 155, + "message": "Loading property for key='unicode' from source instance", + "module": "__init__", + "msecs": 339.0, + "msg": "Loading property for key='%s' from source instance", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8121.030330657959, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "unicode", + "unicode", + 1727640751 + ], + "asctime": "2024-09-29 22:12:31,339", + "created": 1727640751.339112, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "get", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 159, + "message": "Adding key=unicode, value=unicode with timestamp=1727640751 to chache", + "module": "__init__", + "msecs": 339.0, + "msg": "Adding key=%s, value=%s with timestamp=%d to chache", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8121.072769165039, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "/home/dirk/my_repositories/unittest/caching/unittest/output_data/save_callback_callback.json" + ], + "asctime": "2024-09-29 22:12:31,339", + "created": 1727640751.33925, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "_save_only", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 291, + "message": "cache-file stored (/home/dirk/my_repositories/unittest/caching/unittest/output_data/save_callback_callback.json)", + "module": "__init__", + "msecs": 339.0, + "msg": "cache-file stored (%s)", + "name": "caching", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/caching/__init__.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8121.210813522339, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 339.0, + "msg": "Installing save_callback and execute a single get.", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/tests/test_save_callback.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8121.313810348511, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.000102996826171875 + }, + { + "args": [ + "2", + "" + ], + "asctime": "2024-09-29 22:12:31,339", + "created": 1727640751.3395228, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Save callback execution counter is correct (Content 2 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "Save callback execution counter", + "2", + "" + ], + "asctime": "2024-09-29 22:12:31,339", + "created": 1727640751.3394446, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Save callback execution counter): 2 ()", + "module": "test", + "msecs": 339.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8121.405363082886, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Save callback execution counter", + "=", + "2", + "" + ], + "asctime": "2024-09-29 22:12:31,339", + "created": 1727640751.339485, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Save callback execution counter): result = 2 ()", + "module": "test", + "msecs": 339.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8121.445655822754, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 339.0, + "msg": "Save callback execution counter is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8121.483564376831, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.790855407714844e-05 + }, + { + "args": [ + "", + "" + ], + "asctime": "2024-09-29 22:12:31,339", + "created": 1727640751.339658, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 184, + "message": "Save callback execution counter is correct (Content and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "Save callback execution counter", + "", + "" + ], + "asctime": "2024-09-29 22:12:31,339", + "created": 1727640751.339583, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Save callback execution counter): ()", + "module": "test", + "msecs": 339.0, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8121.543645858765, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + }, + { + "args": [ + "Save callback execution counter", + "=", + "", + "" + ], + "asctime": "2024-09-29 22:12:31,339", + "created": 1727640751.3396213, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Save callback execution counter): result = ()", + "module": "test", + "msecs": 339.0, + "msg": "Expectation (%s): result %s %s (%s)", + "name": "__unittest__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8121.58203125, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread" + } + ], + "msecs": 339.0, + "msg": "Save callback execution counter is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "/home/dirk/my_repositories/unittest/caching/unittest/src/unittest/test.py", + "process": 536234, + "processName": "MainProcess", + "relativeCreated": 8121.618747711182, + "stack_info": null, + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 3.6716461181640625e-05 + } + ], + "thread": 140143461883968, + "threadName": "MainThread", + "time_consumption": 0.001268148422241211, + "time_finished": "2024-09-29 22:12:31,339", + "time_start": "2024-09-29 22:12:31,338" } }, "testrun_id": "p3", - "time_consumption": 0.025263071060180664, + "time_consumption": 8.067632913589478, "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" + "_3wIiEHnCEe-IT79pgSFFDQ", + "_XzMFcHYZEem_kd-7nxt1sg", + "_eAYLEHndEe-Pc-LxwEk-3w", + "_KoUosHnGEe-IT79pgSFFDQ", + "_2lVAAHm7Ee-IT79pgSFFDQ", + "_r2DhcHndEe-Pc-LxwEk-3w", + "_Ak9lcHvLEe-DRNATe61b9w", + "_FX360HvLEe-DRNATe61b9w", + "_JH4owHvLEe-DRNATe61b9w", + "_7sFo0H55Ee-p0KSarwgncw", + "_SVQXQHvLEe-DRNATe61b9w", + "_e-ehkHvLEe-DRNATe61b9w", + "_ivxo8HvLEe-DRNATe61b9w", + "_ty_ewHvLEe-DRNATe61b9w" ] } ], "unittest_information": { - "Version": "ac6e9667753d32025048abc5366ddb10" + "Version": "0d25a9eaf8f326b4757227f4aa618b05" } } \ No newline at end of file diff --git a/_testresults_/unittest.pdf b/_testresults_/unittest.pdf index 4fb8c19..31109a6 100644 Binary files a/_testresults_/unittest.pdf and b/_testresults_/unittest.pdf differ