diff --git a/__init__.py b/__init__.py index 8a462b0..b2cb05a 100644 --- a/__init__.py +++ b/__init__.py @@ -24,8 +24,9 @@ media (Media Tools) """ __DEPENDENCIES__ = [] +import io import logging -from PIL import Image, ImageEnhance +from PIL import Image, ImageEnhance, ExifTags logger_name = 'MEDIA' logger = logging.getLogger(logger_name) @@ -106,6 +107,13 @@ class image(object): self._im = get_pil_image(media_instance) if self._im is None: return False + try: + self._exif = dict(self._im._getexif().items()) + except AttributeError: + self._exif = {} + if type(self._im) is not Image.Image: + self._im = self._im.copy() + logger.debug('loading image from %s', repr(media_instance)) return True def save(self, full_path): @@ -119,6 +127,12 @@ class image(object): im.save(fh, 'JPEG') return True + def image_data(self): + im = self._im.copy().convert('RGB') + output = io.BytesIO() + im.save(output, format='JPEG') + return output.getvalue() + def resize(self, max_size): if self._im is None: logger.warning('No image available to be resized') @@ -130,11 +144,19 @@ class image(object): self._im = self._im.resize((int(x * float(max_size) / xy_max), int(y * float(max_size) / xy_max)), Image.NEAREST).rotate(0) return True - def rotate_by_orientation(self, orientation): + def rotate_by_orientation(self, orientation=None): if self._im is None: logger.warning('No image available, rotation not possible') return False + if orientation is None: + exif_tags = dict((v, k) for k, v in ExifTags.TAGS.items()) + try: + orientation = self._exif[exif_tags['Orientation']] + logger.debug("No orientation given, orientation %s extract from exif data", repr(orientation)) + except KeyError: + return False + if orientation == ORIENTATION_HALF_ROTATED: angle = 180 elif orientation == ORIENTATION_LEFT_ROTATED: diff --git a/_testresults_/coverage.xml b/_testresults_/coverage.xml index 6032fa0..15b4d51 100644 --- a/_testresults_/coverage.xml +++ b/_testresults_/coverage.xml @@ -1,23 +1,23 @@ - + - + - + - + - - - + + + @@ -40,106 +40,126 @@ - + - - - - - - - - - + + + + + + + + + - + - + - - - - + + + + - - - + + + + - + - + + - - + + - + - + - - + - + + - - + + - - + - - + + + - + - + + - + + + - + - + - - - - + + + + + - - - - - + + + - + + + + + + + + + + + + + + + + + @@ -197,7 +217,7 @@ - + @@ -334,28 +354,31 @@ + + - - + + - - - + - + - + - + + + - - + + + diff --git a/_testresults_/unittest.json b/_testresults_/unittest.json index fa62312..0d3c9e1 100644 --- a/_testresults_/unittest.json +++ b/_testresults_/unittest.json @@ -1,11 +1,11 @@ { "coverage_information": [ { - "branch_coverage": 96.43, + "branch_coverage": 96.67, "filepath": "/user_data/data/dirk/prj/unittest/media/pylibs/media", "files": [ { - "branch_coverage": 96.43, + "branch_coverage": 96.67, "filepath": "/user_data/data/dirk/prj/unittest/media/pylibs/media/__init__.py", "fragments": [ { @@ -35,258 +35,218 @@ }, { "coverage_state": "covered", - "end": 28, + "end": 29, "start": 27 }, { "coverage_state": "clean", - "end": 29, - "start": 29 - }, - { - "coverage_state": "covered", - "end": 31, + "end": 30, "start": 30 }, + { + "coverage_state": "covered", + "end": 32, + "start": 31 + }, { "coverage_state": "clean", - "end": 33, - "start": 32 + "end": 34, + "start": 33 }, { "coverage_state": "covered", - "end": 34, - "start": 34 - }, - { - "coverage_state": "clean", - "end": 36, + "end": 35, "start": 35 }, { - "coverage_state": "covered", + "coverage_state": "clean", "end": 37, - "start": 37 + "start": 36 }, { - "coverage_state": "clean", - "end": 40, + "coverage_state": "covered", + "end": 38, "start": 38 }, - { - "coverage_state": "covered", - "end": 63, - "start": 41 - }, { "coverage_state": "clean", - "end": 65, - "start": 64 + "end": 41, + "start": 39 }, { "coverage_state": "covered", - "end": 68, - "start": 66 + "end": 64, + "start": 42 }, { "coverage_state": "clean", + "end": 66, + "start": 65 + }, + { + "coverage_state": "covered", "end": 69, - "start": 69 + "start": 67 }, { - "coverage_state": "covered", + "coverage_state": "clean", "end": 70, "start": 70 }, { - "coverage_state": "clean", + "coverage_state": "covered", "end": 71, "start": 71 }, { - "coverage_state": "covered", - "end": 77, + "coverage_state": "clean", + "end": 72, "start": 72 }, { - "coverage_state": "clean", + "coverage_state": "covered", "end": 78, - "start": 78 + "start": 73 }, { - "coverage_state": "covered", + "coverage_state": "clean", "end": 79, "start": 79 }, { - "coverage_state": "clean", - "end": 81, + "coverage_state": "covered", + "end": 80, "start": 80 }, + { + "coverage_state": "clean", + "end": 82, + "start": 81 + }, { "coverage_state": "covered", - "end": 87, - "start": 82 + "end": 88, + "start": 83 }, { "coverage_state": "clean", - "end": 88, - "start": 88 - }, - { - "coverage_state": "covered", - "end": 93, + "end": 89, "start": 89 }, + { + "coverage_state": "covered", + "end": 94, + "start": 90 + }, { "coverage_state": "clean", - "end": 95, - "start": 94 + "end": 96, + "start": 95 }, { "coverage_state": "covered", - "end": 99, - "start": 96 - }, - { - "coverage_state": "clean", "end": 100, - "start": 100 + "start": 97 }, { - "coverage_state": "covered", + "coverage_state": "clean", "end": 101, "start": 101 }, { - "coverage_state": "clean", + "coverage_state": "covered", "end": 102, "start": 102 }, { - "coverage_state": "covered", - "end": 104, + "coverage_state": "clean", + "end": 103, "start": 103 }, { - "coverage_state": "clean", + "coverage_state": "covered", "end": 105, - "start": 105 + "start": 104 }, { - "coverage_state": "covered", - "end": 109, + "coverage_state": "clean", + "end": 106, "start": 106 }, + { + "coverage_state": "covered", + "end": 117, + "start": 107 + }, { "coverage_state": "clean", - "end": 110, - "start": 110 + "end": 118, + "start": 118 }, { "coverage_state": "covered", - "end": 114, - "start": 111 + "end": 122, + "start": 119 }, { "coverage_state": "clean", - "end": 115, - "start": 115 + "end": 123, + "start": 123 }, { "coverage_state": "covered", - "end": 120, - "start": 116 + "end": 128, + "start": 124 }, { "coverage_state": "clean", - "end": 121, - "start": 121 + "end": 129, + "start": 129 }, { "coverage_state": "covered", - "end": 125, - "start": 122 + "end": 134, + "start": 130 }, { "coverage_state": "clean", - "end": 126, - "start": 126 + "end": 135, + "start": 135 }, { "coverage_state": "covered", - "end": 131, - "start": 127 + "end": 139, + "start": 136 }, { "coverage_state": "clean", - "end": 132, - "start": 132 + "end": 140, + "start": 140 }, { "coverage_state": "covered", - "end": 136, - "start": 133 + "end": 145, + "start": 141 }, { "coverage_state": "clean", - "end": 137, - "start": 137 + "end": 146, + "start": 146 }, { "coverage_state": "covered", - "end": 143, - "start": 138 - }, - { - "coverage_state": "clean", - "end": 144, - "start": 144 - }, - { - "coverage_state": "covered", - "end": 149, - "start": 145 - }, - { - "coverage_state": "clean", "end": 150, - "start": 150 + "start": 147 }, { - "coverage_state": "covered", - "end": 152, + "coverage_state": "clean", + "end": 151, "start": 151 }, - { - "coverage_state": "clean", - "end": 153, - "start": 153 - }, { "coverage_state": "covered", - "end": 154, - "start": 154 - }, - { - "coverage_state": "partially-covered", - "end": 155, - "start": 155 - }, - { - "coverage_state": "covered", - "end": 156, - "start": 156 - }, - { - "coverage_state": "clean", - "end": 157, - "start": 157 - }, - { - "coverage_state": "uncovered", "end": 158, - "start": 158 + "start": 152 }, { "coverage_state": "clean", @@ -295,38 +255,28 @@ }, { "coverage_state": "covered", - "end": 162, + "end": 165, "start": 160 }, { "coverage_state": "clean", - "end": 164, - "start": 163 + "end": 166, + "start": 166 }, { "coverage_state": "covered", - "end": 168, - "start": 165 - }, - { - "coverage_state": "clean", - "end": 169, - "start": 169 - }, - { - "coverage_state": "covered", - "end": 170, - "start": 170 - }, - { - "coverage_state": "clean", "end": 171, - "start": 171 + "start": 167 + }, + { + "coverage_state": "clean", + "end": 172, + "start": 172 }, { "coverage_state": "covered", "end": 174, - "start": 172 + "start": 173 }, { "coverage_state": "clean", @@ -339,24 +289,44 @@ "start": 176 }, { - "coverage_state": "clean", - "end": 178, + "coverage_state": "partially-covered", + "end": 177, "start": 177 }, { "coverage_state": "covered", + "end": 178, + "start": 178 + }, + { + "coverage_state": "clean", "end": 179, "start": 179 }, { - "coverage_state": "clean", + "coverage_state": "uncovered", "end": 180, "start": 180 }, + { + "coverage_state": "clean", + "end": 181, + "start": 181 + }, + { + "coverage_state": "covered", + "end": 184, + "start": 182 + }, + { + "coverage_state": "clean", + "end": 186, + "start": 185 + }, { "coverage_state": "covered", "end": 190, - "start": 181 + "start": 187 }, { "coverage_state": "clean", @@ -365,18 +335,18 @@ }, { "coverage_state": "covered", - "end": 193, + "end": 192, "start": 192 }, { "coverage_state": "clean", - "end": 194, - "start": 194 + "end": 193, + "start": 193 }, { "coverage_state": "covered", "end": 196, - "start": 195 + "start": 194 }, { "coverage_state": "clean", @@ -390,15 +360,65 @@ }, { "coverage_state": "clean", - "end": null, + "end": 200, "start": 199 + }, + { + "coverage_state": "covered", + "end": 201, + "start": 201 + }, + { + "coverage_state": "clean", + "end": 202, + "start": 202 + }, + { + "coverage_state": "covered", + "end": 212, + "start": 203 + }, + { + "coverage_state": "clean", + "end": 213, + "start": 213 + }, + { + "coverage_state": "covered", + "end": 215, + "start": 214 + }, + { + "coverage_state": "clean", + "end": 216, + "start": 216 + }, + { + "coverage_state": "covered", + "end": 218, + "start": 217 + }, + { + "coverage_state": "clean", + "end": 219, + "start": 219 + }, + { + "coverage_state": "covered", + "end": 220, + "start": 220 + }, + { + "coverage_state": "clean", + "end": null, + "start": 221 } ], - "line_coverage": 99.24, + "line_coverage": 99.33999999999999, "name": "media.__init__.py" }, { - "branch_coverage": 96.43, + "branch_coverage": 96.67, "filepath": "/user_data/data/dirk/prj/unittest/media/pylibs/media/common.py", "fragments": [ { @@ -446,7 +466,7 @@ "name": "media.common.py" }, { - "branch_coverage": 96.43, + "branch_coverage": 96.67, "filepath": "/user_data/data/dirk/prj/unittest/media/pylibs/media/convert.py", "fragments": [ { @@ -529,7 +549,7 @@ "name": "media.convert.py" }, { - "branch_coverage": 96.43, + "branch_coverage": 96.67, "filepath": "/user_data/data/dirk/prj/unittest/media/pylibs/media/metadata.py", "fragments": [ { @@ -779,76 +799,115 @@ }, { "coverage_state": "covered", - "end": 196, + "end": 199, "start": 188 }, { "coverage_state": "clean", - "end": 198, - "start": 197 + "end": 201, + "start": 200 }, { "coverage_state": "covered", - "end": 201, - "start": 199 - }, - { - "coverage_state": "clean", - "end": 203, + "end": 204, "start": 202 }, + { + "coverage_state": "clean", + "end": 206, + "start": 205 + }, { "coverage_state": "covered", - "end": 214, - "start": 204 + "end": 217, + "start": 207 }, { "coverage_state": "partially-covered", - "end": 215, - "start": 215 + "end": 218, + "start": 218 }, { "coverage_state": "covered", - "end": 218, - "start": 216 - }, - { - "coverage_state": "clean", - "end": 220, + "end": 221, "start": 219 }, + { + "coverage_state": "clean", + "end": 223, + "start": 222 + }, { "coverage_state": "covered", - "end": 224, - "start": 221 + "end": 227, + "start": 224 }, { "coverage_state": "clean", "end": null, - "start": 225 + "start": 228 } ], - "line_coverage": 98.08, + "line_coverage": 98.11, "name": "media.metadata.py" } ], - "line_coverage": 97.59, + "line_coverage": 97.75, "name": "media" } ], "lost_souls": { "item_list": [], - "testcase_list": [ - "Initialisation", - "Join", - "Resize", - "Rotate", - "Save" - ] + "testcase_list": [] }, "specification": { "comment": "Comment", "item_dict": { + "_AdR7EEYDEequ74M7usLaPw": { + "Description": "The class {\\tt image} shall have a method {\\tt rotate\\_by\\_orientation}, which rotates the image by an exif orientation. If no parameter is given, the orientation will be taken out of the loaded image. The method returns {\\tt True} on success and {\\tt False} on failures.", + "Fitcriterion": "", + "Heading": "Rotate", + "ID": "REQ-6", + "last_change": "2020-02-02T23:47:29.986+01:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_AdR7EEYDEequ74M7usLaPw", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_CBaAQEYDEequ74M7usLaPw": { + "Description": "The class {\\tt image} shall have a method {\\tt join}, which joins an image to the loaded image. The method returns {\\tt True} on success and {\\tt False} on failures.", + "Heading": "Join", + "ID": "REQ-7", + "last_change": "2020-02-02T23:47:36.859+01:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_CBaAQEYDEequ74M7usLaPw", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_DBCGsEYCEequ74M7usLaPw": { + "Description": "The library {\\tt media} shall have a class {\\tt image}. This class shall be able to read from image or video files, pil image instances or from {\\tt media.image} instances itself. The class shall help by some common tasks like rotating, resizing, \\ldots", + "Heading": "Image", + "last_change": "2020-02-02T23:46:21.153+01:00", + "system_type_uid": "_4-K5EHYYEem_kd-7nxt1sg", + "system_uid": "_DBCGsEYCEequ74M7usLaPw", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_Fv7V4EYCEequ74M7usLaPw": { + "Description": "The class {\\tt image} shall have a method {\\tt load\\_from\\_file}, which creates a copy of an image to the instance. Load from file can handle a filename, but also pil images and media images. The method returns {\\tt True} on success and {\\tt False} on failures.", + "Heading": "Load from File", + "ID": "REQ-2", + "last_change": "2020-02-02T23:47:07.229+01:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_Fv7V4EYCEequ74M7usLaPw", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_HGpRMEYCEequ74M7usLaPw": { + "Description": "The class {\\tt image} shall have a method {\\tt save}, which stores the modified image to a given filename. The method returns {\\tt True} on success and {\\tt False} on failures.", + "Heading": "Save", + "ID": "REQ-3", + "last_change": "2020-02-02T23:47:14.322+01:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_HGpRMEYCEequ74M7usLaPw", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, "_MR7eOHYYEem_kd-7nxt1sg": { "Heading": "Metadata", "last_change": "2020-01-30T20:32:07.705+01:00", @@ -866,12 +925,37 @@ "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", "system_uid": "_XzMFcHYZEem_kd-7nxt1sg", "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_wvLDcEYCEequ74M7usLaPw": { + "Description": "The class {\\tt image} shall have a method {\\tt image\\_data}, which returns the raw data of the modified image.", + "Heading": "Image data", + "ID": "REQ-4", + "last_change": "2020-02-02T23:44:49.710+01:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_wvLDcEYCEequ74M7usLaPw", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" + }, + "_zQ29EEYCEequ74M7usLaPw": { + "Description": "The class {\\tt image} shall have a method {\\tt resize}, which resizes the image. The method returns {\\tt True} on success and {\\tt False} on failures.", + "Heading": "Resize", + "ID": "REQ-5", + "last_change": "2020-02-02T23:47:23.563+01:00", + "system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg", + "system_uid": "_zQ29EEYCEequ74M7usLaPw", + "xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT" } }, "titel": "Title", "uid_list_sorted": [ "_MR7eOHYYEem_kd-7nxt1sg", - "_XzMFcHYZEem_kd-7nxt1sg" + "_XzMFcHYZEem_kd-7nxt1sg", + "_DBCGsEYCEequ74M7usLaPw", + "_Fv7V4EYCEequ74M7usLaPw", + "_HGpRMEYCEequ74M7usLaPw", + "_wvLDcEYCEequ74M7usLaPw", + "_zQ29EEYCEequ74M7usLaPw", + "_AdR7EEYDEequ74M7usLaPw", + "_CBaAQEYDEequ74M7usLaPw" ] }, "system_information": { @@ -890,20 +974,27 @@ "Name": "media", "State": "Released", "Supported Interpreters": "python3", - "Version": "d4bf62e70e70b47431f7471f25637ecf" + "Version": "8ad0730237b133d3d03c875bf7f97bba" }, "testrun_list": [ { "heading_dict": { + "_AdR7EEYDEequ74M7usLaPw": "Rotate", + "_CBaAQEYDEequ74M7usLaPw": "Join", + "_DBCGsEYCEequ74M7usLaPw": "Image", + "_Fv7V4EYCEequ74M7usLaPw": "Load from File", + "_HGpRMEYCEequ74M7usLaPw": "Save", "_MR7eOHYYEem_kd-7nxt1sg": "Metadata", - "_XzMFcHYZEem_kd-7nxt1sg": "Method to get Metadata" + "_XzMFcHYZEem_kd-7nxt1sg": "Method to get Metadata", + "_wvLDcEYCEequ74M7usLaPw": "Image data", + "_zQ29EEYCEequ74M7usLaPw": "Resize" }, "interpreter": "python 3.6.9 (final)", "name": "Default Testsession name", "number_of_failed_tests": 0, "number_of_possibly_failed_tests": 0, - "number_of_successfull_tests": 6, - "number_of_tests": 6, + "number_of_successfull_tests": 7, + "number_of_tests": 7, "testcase_execution_level": 90, "testcase_names": { "0": "Single Test", @@ -912,537 +1003,27 @@ "90": "Full Test (all defined tests)" }, "testcases": { - "Initialisation": { + "_AdR7EEYDEequ74M7usLaPw": { "args": null, - "asctime": "2020-02-01 20:09:30,583", - "created": 1580584170.5836282, + "asctime": "2020-02-02 23:50:09,701", + "created": 1580683809.7010374, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, - "lineno": 30, - "message": "Initialisation", + "lineno": 35, + "message": "_AdR7EEYDEequ74M7usLaPw", "module": "__init__", "moduleLogger": [], - "msecs": 583.6281776428223, - "msg": "Initialisation", + "msecs": 701.0374069213867, + "msg": "_AdR7EEYDEequ74M7usLaPw", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 571.4917182922363, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "", - "" - ], - "asctime": "2020-02-01 20:09:30,583", - "created": 1580584170.5838015, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Type of image stored in instance is correct (Content and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "Type of image stored in instance", - "", - "" - ], - "asctime": "2020-02-01 20:09:30,583", - "created": 1580584170.5837142, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Type of image stored in instance): ()", - "module": "test", - "msecs": 583.7142467498779, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 571.577787399292, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Type of image stored in instance", - "", - "" - ], - "asctime": "2020-02-01 20:09:30,583", - "created": 1580584170.583761, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Type of image stored in instance): result = ()", - "module": "test", - "msecs": 583.7609767913818, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 571.6245174407959, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 583.8015079498291, - "msg": "Type of image stored in instance is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 571.6650485992432, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 4.0531158447265625e-05 - }, - { - "args": [ - "", - "" - ], - "asctime": "2020-02-01 20:09:30,584", - "created": 1580584170.584616, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Type of image stored in instance is correct (Content and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [], - "asctime": "2020-02-01 20:09:30,584", - "created": 1580584170.5844684, - "exc_info": null, - "exc_text": null, - "filename": "convert.py", - "funcName": "get_pil_image", - "levelname": "WARNING", - "levelno": 30, - "lineno": 35, - "message": "Instance type is not supported: ", - "module": "convert", - "msecs": 584.4683647155762, - "msg": "Instance type is not supported: ", - "name": "MEDIA", - "pathname": "src/media/convert.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 572.3319053649902, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Type of image stored in instance", - "", - "" - ], - "asctime": "2020-02-01 20:09:30,584", - "created": 1580584170.5845308, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Type of image stored in instance): ()", - "module": "test", - "msecs": 584.5308303833008, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 572.3943710327148, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Type of image stored in instance", - "", - "" - ], - "asctime": "2020-02-01 20:09:30,584", - "created": 1580584170.5845745, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Type of image stored in instance): result = ()", - "module": "test", - "msecs": 584.5744609832764, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 572.4380016326904, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 584.61594581604, - "msg": "Type of image stored in instance is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 572.4794864654541, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 4.1484832763671875e-05 - }, - { - "args": [ - "", - "" - ], - "asctime": "2020-02-01 20:09:30,584", - "created": 1580584170.5848744, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Type of image stored in instance is correct (Content and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "/user_data/data/dirk/prj/unittest/media/unittest/input_data/unknown.txt" - ], - "asctime": "2020-02-01 20:09:30,584", - "created": 1580584170.5847173, - "exc_info": null, - "exc_text": null, - "filename": "convert.py", - "funcName": "get_pil_image", - "levelname": "WARNING", - "levelno": 30, - "lineno": 31, - "message": "Filetype is not supported (/user_data/data/dirk/prj/unittest/media/unittest/input_data/unknown.txt)", - "module": "convert", - "msecs": 584.7172737121582, - "msg": "Filetype is not supported (%s)", - "name": "MEDIA", - "pathname": "src/media/convert.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 572.5808143615723, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Type of image stored in instance", - "", - "" - ], - "asctime": "2020-02-01 20:09:30,584", - "created": 1580584170.5847898, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Type of image stored in instance): ()", - "module": "test", - "msecs": 584.7897529602051, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 572.6532936096191, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Type of image stored in instance", - "", - "" - ], - "asctime": "2020-02-01 20:09:30,584", - "created": 1580584170.584838, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Type of image stored in instance): result = ()", - "module": "test", - "msecs": 584.8379135131836, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 572.7014541625977, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 584.8743915557861, - "msg": "Type of image stored in instance is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 572.7379322052002, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 3.647804260253906e-05 - }, - { - "args": [ - "", - "" - ], - "asctime": "2020-02-01 20:09:30,694", - "created": 1580584170.6949663, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Type of image stored in instance is correct (Content and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "Type of image stored in instance", - "", - "" - ], - "asctime": "2020-02-01 20:09:30,694", - "created": 1580584170.6947854, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Type of image stored in instance): ()", - "module": "test", - "msecs": 694.7853565216064, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 682.6488971710205, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Type of image stored in instance", - "", - "" - ], - "asctime": "2020-02-01 20:09:30,694", - "created": 1580584170.694898, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Type of image stored in instance): result = ()", - "module": "test", - "msecs": 694.8978900909424, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 682.7614307403564, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 694.9663162231445, - "msg": "Type of image stored in instance is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 682.8298568725586, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 6.842613220214844e-05 - }, - { - "args": [ - "", - "" - ], - "asctime": "2020-02-01 20:09:30,980", - "created": 1580584170.9809246, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Type of image stored in instance is correct (Content and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "Type of image stored in instance", - "", - "" - ], - "asctime": "2020-02-01 20:09:30,980", - "created": 1580584170.9806376, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Type of image stored in instance): ()", - "module": "test", - "msecs": 980.6375503540039, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 968.501091003418, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Type of image stored in instance", - "", - "" - ], - "asctime": "2020-02-01 20:09:30,980", - "created": 1580584170.9808495, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Type of image stored in instance): result = ()", - "module": "test", - "msecs": 980.8495044708252, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 968.7130451202393, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 980.9246063232422, - "msg": "Type of image stored in instance is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 968.7881469726562, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 7.510185241699219e-05 - } - ], - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 0.3972964286804199, - "time_finished": "2020-02-01 20:09:30,980", - "time_start": "2020-02-01 20:09:30,583" - }, - "Join": { - "args": null, - "asctime": "2020-02-01 20:09:32,061", - "created": 1580584172.061742, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testrun", - "levelname": "INFO", - "levelno": 20, - "lineno": 34, - "message": "Join", - "module": "__init__", - "moduleLogger": [], - "msecs": 61.74206733703613, - "msg": "Join", - "name": "__tLogger__", - "pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2049.60560798645, + "relativeCreated": 4886.832237243652, "stack_info": null, "testcaseLogger": [ { @@ -1450,1700 +1031,8 @@ "False", "" ], - "asctime": "2020-02-01 20:09:32,061", - "created": 1580584172.061956, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Returnvalue of join method without loading an image is correct (Content False and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [], - "asctime": "2020-02-01 20:09:32,061", - "created": 1580584172.0618377, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "join", - "levelname": "WARNING", - "levelno": 30, - "lineno": 161, - "message": "No image available, joining not possible", - "module": "__init__", - "msecs": 61.83767318725586, - "msg": "No image available, joining not possible", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2049.70121383667, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Returnvalue of join method without loading an image", - "False", - "" - ], - "asctime": "2020-02-01 20:09:32,061", - "created": 1580584172.0618815, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Returnvalue of join method without loading an image): False ()", - "module": "test", - "msecs": 61.88154220581055, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2049.7450828552246, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Returnvalue of join method without loading an image", - "False", - "" - ], - "asctime": "2020-02-01 20:09:32,061", - "created": 1580584172.0619197, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Returnvalue of join method without loading an image): result = False ()", - "module": "test", - "msecs": 61.9196891784668, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2049.783229827881, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 61.955928802490234, - "msg": "Returnvalue of join method without loading an image is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2049.8194694519043, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 3.62396240234375e-05 - }, - { - "args": [ - "False", - "" - ], - "asctime": "2020-02-01 20:09:32,361", - "created": 1580584172.3616211, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Returnvalue of join method with invalid join position is correct (Content False and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - 17 - ], - "asctime": "2020-02-01 20:09:32,361", - "created": 1580584172.3613942, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "join", - "levelname": "WARNING", - "levelno": 30, - "lineno": 192, - "message": "Join position value 17 is not supported", - "module": "__init__", - "msecs": 361.39416694641113, - "msg": "Join position value %s is not supported", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2349.257707595825, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Returnvalue of join method with invalid join position", - "False", - "" - ], - "asctime": "2020-02-01 20:09:32,361", - "created": 1580584172.361534, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Returnvalue of join method with invalid join position): False ()", - "module": "test", - "msecs": 361.53411865234375, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2349.397659301758, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Returnvalue of join method with invalid join position", - "False", - "" - ], - "asctime": "2020-02-01 20:09:32,361", - "created": 1580584172.3615794, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Returnvalue of join method with invalid join position): result = False ()", - "module": "test", - "msecs": 361.57941818237305, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2349.442958831787, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 361.6211414337158, - "msg": "Returnvalue of join method with invalid join position is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2349.48468208313, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 4.172325134277344e-05 - }, - { - "args": [ - "False", - "" - ], - "asctime": "2020-02-01 20:09:32,452", - "created": 1580584172.4528487, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Returnvalue of join method with unknown join file is correct (Content False and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [], - "asctime": "2020-02-01 20:09:32,452", - "created": 1580584172.4526198, - "exc_info": null, - "exc_text": null, - "filename": "convert.py", - "funcName": "get_pil_image", - "levelname": "WARNING", - "levelno": 30, - "lineno": 35, - "message": "Instance type is not supported: ", - "module": "convert", - "msecs": 452.6197910308838, - "msg": "Instance type is not supported: ", - "name": "MEDIA", - "pathname": "src/media/convert.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2440.483331680298, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "None" - ], - "asctime": "2020-02-01 20:09:32,452", - "created": 1580584172.4527113, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "join", - "levelname": "WARNING", - "levelno": 30, - "lineno": 167, - "message": "Image to be joined is not supported None", - "module": "__init__", - "msecs": 452.7113437652588, - "msg": "Image to be joined is not supported %s", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2440.574884414673, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Returnvalue of join method with unknown join file", - "False", - "" - ], - "asctime": "2020-02-01 20:09:32,452", - "created": 1580584172.4527707, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Returnvalue of join method with unknown join file): False ()", - "module": "test", - "msecs": 452.7707099914551, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2440.634250640869, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Returnvalue of join method with unknown join file", - "False", - "" - ], - "asctime": "2020-02-01 20:09:32,452", - "created": 1580584172.45281, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Returnvalue of join method with unknown join file): result = False ()", - "module": "test", - "msecs": 452.81004905700684, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2440.673589706421, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 452.8486728668213, - "msg": "Returnvalue of join method with unknown join file is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2440.7122135162354, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 3.8623809814453125e-05 - }, - { - "args": [ - "True", - "" - ], - "asctime": "2020-02-01 20:09:32,793", - "created": 1580584172.793418, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Filecompare is correct (Content True and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - 3 - ], - "asctime": "2020-02-01 20:09:32,452", - "created": 1580584172.4529128, - "exc_info": null, - "exc_text": null, - "filename": "test_image.py", - "funcName": "join", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 98, - "message": "Join with position 3", - "module": "test_image", - "msecs": 452.9128074645996, - "msg": "Join with position %d", - "name": "__unittest__", - "pathname": "src/tests/test_image.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2440.7763481140137, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - 300 - ], - "asctime": "2020-02-01 20:09:32,644", - "created": 1580584172.6443245, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "resize", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 127, - "message": "Resizing picture to max 300 pixel in whatever direction", - "module": "__init__", - "msecs": 644.324541091919, - "msg": "Resizing picture to max %d pixel in whatever direction", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2632.188081741333, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [], - "asctime": "2020-02-01 20:09:32,675", - "created": 1580584172.6753554, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "join", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 195, - "message": "Joining two images", - "module": "__init__", - "msecs": 675.3554344177246, - "msg": "Joining two images", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2663.2189750671387, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_3.jpg'" - ], - "asctime": "2020-02-01 20:09:32,725", - "created": 1580584172.7258537, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "save", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 116, - "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_3.jpg'", - "module": "__init__", - "msecs": 725.853681564331, - "msg": "Saving image to %s", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2713.717222213745, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Filecompare", - "True", - "" - ], - "asctime": "2020-02-01 20:09:32,793", - "created": 1580584172.7932827, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Filecompare): True ()", - "module": "test", - "msecs": 793.2827472686768, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2781.146287918091, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Filecompare", - "True", - "" - ], - "asctime": "2020-02-01 20:09:32,793", - "created": 1580584172.7933729, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Filecompare): result = True ()", - "module": "test", - "msecs": 793.3728694915771, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2781.236410140991, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 793.4179306030273, - "msg": "Filecompare is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2781.2814712524414, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 4.506111145019531e-05 - }, - { - "args": [ - "True", - "" - ], - "asctime": "2020-02-01 20:09:33,142", - "created": 1580584173.142833, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Filecompare is correct (Content True and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - 4 - ], - "asctime": "2020-02-01 20:09:32,793", - "created": 1580584172.793484, - "exc_info": null, - "exc_text": null, - "filename": "test_image.py", - "funcName": "join", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 98, - "message": "Join with position 4", - "module": "test_image", - "msecs": 793.4839725494385, - "msg": "Join with position %d", - "name": "__unittest__", - "pathname": "src/tests/test_image.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2781.3475131988525, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - 300 - ], - "asctime": "2020-02-01 20:09:32,993", - "created": 1580584172.9933403, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "resize", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 127, - "message": "Resizing picture to max 300 pixel in whatever direction", - "module": "__init__", - "msecs": 993.340253829956, - "msg": "Resizing picture to max %d pixel in whatever direction", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 2981.20379447937, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [], - "asctime": "2020-02-01 20:09:33,024", - "created": 1580584173.0246189, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "join", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 195, - "message": "Joining two images", - "module": "__init__", - "msecs": 24.618864059448242, - "msg": "Joining two images", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3012.4824047088623, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_4.jpg'" - ], - "asctime": "2020-02-01 20:09:33,075", - "created": 1580584173.0753677, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "save", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 116, - "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_4.jpg'", - "module": "__init__", - "msecs": 75.36768913269043, - "msg": "Saving image to %s", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3063.2312297821045, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Filecompare", - "True", - "" - ], - "asctime": "2020-02-01 20:09:33,142", - "created": 1580584173.1427, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Filecompare): True ()", - "module": "test", - "msecs": 142.6999568939209, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3130.563497543335, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Filecompare", - "True", - "" - ], - "asctime": "2020-02-01 20:09:33,142", - "created": 1580584173.142788, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Filecompare): result = True ()", - "module": "test", - "msecs": 142.78793334960938, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3130.6514739990234, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 142.83299446105957, - "msg": "Filecompare is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3130.6965351104736, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 4.506111145019531e-05 - }, - { - "args": [ - "True", - "" - ], - "asctime": "2020-02-01 20:09:33,488", - "created": 1580584173.4889648, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Filecompare is correct (Content True and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - 5 - ], - "asctime": "2020-02-01 20:09:33,142", - "created": 1580584173.1428988, - "exc_info": null, - "exc_text": null, - "filename": "test_image.py", - "funcName": "join", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 98, - "message": "Join with position 5", - "module": "test_image", - "msecs": 142.8987979888916, - "msg": "Join with position %d", - "name": "__unittest__", - "pathname": "src/tests/test_image.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3130.7623386383057, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - 300 - ], - "asctime": "2020-02-01 20:09:33,338", - "created": 1580584173.3383312, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "resize", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 127, - "message": "Resizing picture to max 300 pixel in whatever direction", - "module": "__init__", - "msecs": 338.3312225341797, - "msg": "Resizing picture to max %d pixel in whatever direction", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3326.1947631835938, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [], - "asctime": "2020-02-01 20:09:33,369", - "created": 1580584173.3696501, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "join", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 195, - "message": "Joining two images", - "module": "__init__", - "msecs": 369.65012550354004, - "msg": "Joining two images", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3357.513666152954, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_5.jpg'" - ], - "asctime": "2020-02-01 20:09:33,420", - "created": 1580584173.4202309, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "save", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 116, - "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_5.jpg'", - "module": "__init__", - "msecs": 420.2308654785156, - "msg": "Saving image to %s", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3408.0944061279297, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Filecompare", - "True", - "" - ], - "asctime": "2020-02-01 20:09:33,488", - "created": 1580584173.4888318, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Filecompare): True ()", - "module": "test", - "msecs": 488.8317584991455, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3476.6952991485596, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Filecompare", - "True", - "" - ], - "asctime": "2020-02-01 20:09:33,488", - "created": 1580584173.4889195, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Filecompare): result = True ()", - "module": "test", - "msecs": 488.9194965362549, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3476.783037185669, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 488.9647960662842, - "msg": "Filecompare is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3476.8283367156982, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 4.5299530029296875e-05 - }, - { - "args": [ - "True", - "" - ], - "asctime": "2020-02-01 20:09:33,837", - "created": 1580584173.8376875, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Filecompare is correct (Content True and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - 1 - ], - "asctime": "2020-02-01 20:09:33,489", - "created": 1580584173.4890332, - "exc_info": null, - "exc_text": null, - "filename": "test_image.py", - "funcName": "join", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 98, - "message": "Join with position 1", - "module": "test_image", - "msecs": 489.0332221984863, - "msg": "Join with position %d", - "name": "__unittest__", - "pathname": "src/tests/test_image.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3476.8967628479004, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - 300 - ], - "asctime": "2020-02-01 20:09:33,685", - "created": 1580584173.6854477, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "resize", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 127, - "message": "Resizing picture to max 300 pixel in whatever direction", - "module": "__init__", - "msecs": 685.4476928710938, - "msg": "Resizing picture to max %d pixel in whatever direction", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3673.311233520508, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [], - "asctime": "2020-02-01 20:09:33,716", - "created": 1580584173.7166605, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "join", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 195, - "message": "Joining two images", - "module": "__init__", - "msecs": 716.6604995727539, - "msg": "Joining two images", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3704.524040222168, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_1.jpg'" - ], - "asctime": "2020-02-01 20:09:33,767", - "created": 1580584173.7675517, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "save", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 116, - "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_1.jpg'", - "module": "__init__", - "msecs": 767.5516605377197, - "msg": "Saving image to %s", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3755.415201187134, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Filecompare", - "True", - "" - ], - "asctime": "2020-02-01 20:09:33,837", - "created": 1580584173.8375463, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Filecompare): True ()", - "module": "test", - "msecs": 837.5463485717773, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3825.4098892211914, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Filecompare", - "True", - "" - ], - "asctime": "2020-02-01 20:09:33,837", - "created": 1580584173.8376412, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Filecompare): result = True ()", - "module": "test", - "msecs": 837.6412391662598, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3825.504779815674, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 837.6874923706055, - "msg": "Filecompare is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3825.5510330200195, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 4.6253204345703125e-05 - }, - { - "args": [ - "True", - "" - ], - "asctime": "2020-02-01 20:09:34,202", - "created": 1580584174.202088, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Filecompare is correct (Content True and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - 2 - ], - "asctime": "2020-02-01 20:09:33,837", - "created": 1580584173.8377557, - "exc_info": null, - "exc_text": null, - "filename": "test_image.py", - "funcName": "join", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 98, - "message": "Join with position 2", - "module": "test_image", - "msecs": 837.7556800842285, - "msg": "Join with position %d", - "name": "__unittest__", - "pathname": "src/tests/test_image.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 3825.6192207336426, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - 300 - ], - "asctime": "2020-02-01 20:09:34,039", - "created": 1580584174.0395095, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "resize", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 127, - "message": "Resizing picture to max 300 pixel in whatever direction", - "module": "__init__", - "msecs": 39.50953483581543, - "msg": "Resizing picture to max %d pixel in whatever direction", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 4027.3730754852295, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [], - "asctime": "2020-02-01 20:09:34,077", - "created": 1580584174.0770307, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "join", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 195, - "message": "Joining two images", - "module": "__init__", - "msecs": 77.03065872192383, - "msg": "Joining two images", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 4064.894199371338, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_2.jpg'" - ], - "asctime": "2020-02-01 20:09:34,134", - "created": 1580584174.1344082, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "save", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 116, - "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_2.jpg'", - "module": "__init__", - "msecs": 134.40823554992676, - "msg": "Saving image to %s", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 4122.271776199341, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Filecompare", - "True", - "" - ], - "asctime": "2020-02-01 20:09:34,201", - "created": 1580584174.2019513, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Filecompare): True ()", - "module": "test", - "msecs": 201.951265335083, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 4189.814805984497, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Filecompare", - "True", - "" - ], - "asctime": "2020-02-01 20:09:34,202", - "created": 1580584174.202042, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Filecompare): result = True ()", - "module": "test", - "msecs": 202.0421028137207, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 4189.905643463135, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 202.0881175994873, - "msg": "Filecompare is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 4189.951658248901, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 4.601478576660156e-05 - } - ], - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 2.140346050262451, - "time_finished": "2020-02-01 20:09:34,202", - "time_start": "2020-02-01 20:09:32,061" - }, - "Resize": { - "args": null, - "asctime": "2020-02-01 20:09:31,275", - "created": 1580584171.2757187, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testrun", - "levelname": "INFO", - "levelno": 20, - "lineno": 32, - "message": "Resize", - "module": "__init__", - "moduleLogger": [], - "msecs": 275.71868896484375, - "msg": "Resize", - "name": "__tLogger__", - "pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1263.5822296142578, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "True", - "" - ], - "asctime": "2020-02-01 20:09:31,382", - "created": 1580584171.3824558, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Returnvalue of successful resize method is correct (Content True and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - 300 - ], - "asctime": "2020-02-01 20:09:31,379", - "created": 1580584171.3791893, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "resize", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 127, - "message": "Resizing picture to max 300 pixel in whatever direction", - "module": "__init__", - "msecs": 379.18925285339355, - "msg": "Resizing picture to max %d pixel in whatever direction", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1367.0527935028076, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Returnvalue of successful resize method", - "True", - "" - ], - "asctime": "2020-02-01 20:09:31,382", - "created": 1580584171.3823195, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Returnvalue of successful resize method): True ()", - "module": "test", - "msecs": 382.31945037841797, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1370.182991027832, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Returnvalue of successful resize method", - "True", - "" - ], - "asctime": "2020-02-01 20:09:31,382", - "created": 1580584171.382399, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Returnvalue of successful resize method): result = True ()", - "module": "test", - "msecs": 382.3990821838379, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1370.262622833252, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 382.45582580566406, - "msg": "Returnvalue of successful resize method is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1370.3193664550781, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 5.6743621826171875e-05 - }, - { - "args": [ - "300", - "" - ], - "asctime": "2020-02-01 20:09:31,383", - "created": 1580584171.3834875, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Resulution of resized image is correct (Content 300 and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [ - "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/resized_image.jpg'" - ], - "asctime": "2020-02-01 20:09:31,382", - "created": 1580584171.3825338, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "save", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 116, - "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/resized_image.jpg'", - "module": "__init__", - "msecs": 382.5337886810303, - "msg": "Saving image to %s", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1370.3973293304443, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Resulution of resized image", - "300", - "" - ], - "asctime": "2020-02-01 20:09:31,383", - "created": 1580584171.3833785, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Resulution of resized image): 300 ()", - "module": "test", - "msecs": 383.3785057067871, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1371.2420463562012, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Resulution of resized image", - "300", - "" - ], - "asctime": "2020-02-01 20:09:31,383", - "created": 1580584171.3834407, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Resulution of resized image): result = 300 ()", - "module": "test", - "msecs": 383.4407329559326, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1371.3042736053467, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 383.4874629974365, - "msg": "Resulution of resized image is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1371.3510036468506, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 4.673004150390625e-05 - }, - { - "args": [ - "False", - "" - ], - "asctime": "2020-02-01 20:09:31,383", - "created": 1580584171.3837013, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "equivalency_chk", - "levelname": "INFO", - "levelno": 20, - "lineno": 142, - "message": "Returnvalue of failed resize method is correct (Content False and Type is ).", - "module": "test", - "moduleLogger": [ - { - "args": [], - "asctime": "2020-02-01 20:09:31,383", - "created": 1580584171.3835638, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "resize", - "levelname": "WARNING", - "levelno": 30, - "lineno": 124, - "message": "No image available to be resized", - "module": "__init__", - "msecs": 383.563756942749, - "msg": "No image available to be resized", - "name": "MEDIA", - "pathname": "src/media/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1371.427297592163, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Returnvalue of failed resize method", - "False", - "" - ], - "asctime": "2020-02-01 20:09:31,383", - "created": 1580584171.383608, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_result__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 22, - "message": "Result (Returnvalue of failed resize method): False ()", - "module": "test", - "msecs": 383.6081027984619, - "msg": "Result (%s): %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1371.471643447876, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, - { - "args": [ - "Returnvalue of failed resize method", - "False", - "" - ], - "asctime": "2020-02-01 20:09:31,383", - "created": 1580584171.3836484, - "exc_info": null, - "exc_text": null, - "filename": "test.py", - "funcName": "__report_expectation_equivalency__", - "levelname": "DEBUG", - "levelno": 10, - "lineno": 26, - "message": "Expectation (Returnvalue of failed resize method): result = False ()", - "module": "test", - "msecs": 383.6483955383301, - "msg": "Expectation (%s): result = %s (%s)", - "name": "__unittest__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1371.5119361877441, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - } - ], - "msecs": 383.7013244628906, - "msg": "Returnvalue of failed resize method is correct (Content %s and Type is %s).", - "name": "__tLogger__", - "pathname": "src/unittest/test.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1371.5648651123047, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 5.2928924560546875e-05 - } - ], - "thread": 140094293296960, - "threadName": "MainThread", - "time_consumption": 0.10798263549804688, - "time_finished": "2020-02-01 20:09:31,383", - "time_start": "2020-02-01 20:09:31,275" - }, - "Rotate": { - "args": null, - "asctime": "2020-02-01 20:09:31,383", - "created": 1580584171.3838365, - "exc_info": null, - "exc_text": null, - "filename": "__init__.py", - "funcName": "testrun", - "levelname": "INFO", - "levelno": 20, - "lineno": 33, - "message": "Rotate", - "module": "__init__", - "moduleLogger": [], - "msecs": 383.8365077972412, - "msg": "Rotate", - "name": "__tLogger__", - "pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 1371.7000484466553, - "stack_info": null, - "testcaseLogger": [ - { - "args": [ - "False", - "" - ], - "asctime": "2020-02-01 20:09:31,384", - "created": 1580584171.3840265, + "asctime": "2020-02-02 23:50:09,701", + "created": 1580683809.7012637, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3156,26 +1045,26 @@ "moduleLogger": [ { "args": [], - "asctime": "2020-02-01 20:09:31,383", - "created": 1580584171.3839104, + "asctime": "2020-02-02 23:50:09,701", + "created": 1580683809.7011278, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "rotate_by_orientation", "levelname": "WARNING", "levelno": 30, - "lineno": 135, + "lineno": 149, "message": "No image available, rotation not possible", "module": "__init__", - "msecs": 383.9104175567627, + "msecs": 701.1277675628662, "msg": "No image available, rotation not possible", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1371.7739582061768, + "relativeCreated": 4886.922597885132, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -3184,8 +1073,8 @@ "False", "" ], - "asctime": "2020-02-01 20:09:31,383", - "created": 1580584171.383953, + "asctime": "2020-02-02 23:50:09,701", + "created": 1580683809.70118, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3195,15 +1084,15 @@ "lineno": 22, "message": "Result (Returnvalue of rotate method without loading an image): False ()", "module": "test", - "msecs": 383.9530944824219, + "msecs": 701.1799812316895, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1371.816635131836, + "relativeCreated": 4886.974811553955, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -3212,8 +1101,8 @@ "False", "" ], - "asctime": "2020-02-01 20:09:31,383", - "created": 1580584171.3839903, + "asctime": "2020-02-02 23:50:09,701", + "created": 1580683809.7012227, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3223,37 +1112,37 @@ "lineno": 26, "message": "Expectation (Returnvalue of rotate method without loading an image): result = False ()", "module": "test", - "msecs": 383.9902877807617, + "msecs": 701.2226581573486, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1371.8538284301758, + "relativeCreated": 4887.017488479614, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 384.02652740478516, + "msecs": 701.2636661529541, "msg": "Returnvalue of rotate method without loading an image is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1371.8900680541992, + "relativeCreated": 4887.05849647522, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 3.62396240234375e-05 + "time_consumption": 4.100799560546875e-05 }, { "args": [ "False", "" ], - "asctime": "2020-02-01 20:09:31,491", - "created": 1580584171.4913478, + "asctime": "2020-02-02 23:50:09,989", + "created": 1580683809.9893398, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3264,30 +1153,56 @@ "message": "Returnvalue of rotate method with invalid orientation is correct (Content False and Type is ).", "module": "test", "moduleLogger": [ + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:09,988", + "created": 1580683809.9888182, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 988.8181686401367, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 5174.612998962402, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, { "args": [ "17" ], - "asctime": "2020-02-01 20:09:31,491", - "created": 1580584171.491096, + "asctime": "2020-02-02 23:50:09,988", + "created": 1580683809.9889963, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "rotate_by_orientation", "levelname": "WARNING", "levelno": 30, - "lineno": 145, + "lineno": 167, "message": "Orientation 17 unknown for rotation", "module": "__init__", - "msecs": 491.09601974487305, + "msecs": 988.9962673187256, "msg": "Orientation %s unknown for rotation", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1478.959560394287, + "relativeCreated": 5174.791097640991, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -3296,8 +1211,8 @@ "False", "" ], - "asctime": "2020-02-01 20:09:31,491", - "created": 1580584171.4912276, + "asctime": "2020-02-02 23:50:09,989", + "created": 1580683809.9890995, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3307,15 +1222,15 @@ "lineno": 22, "message": "Result (Returnvalue of rotate method with invalid orientation): False ()", "module": "test", - "msecs": 491.2276268005371, + "msecs": 989.0995025634766, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1479.0911674499512, + "relativeCreated": 5174.894332885742, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -3324,8 +1239,8 @@ "False", "" ], - "asctime": "2020-02-01 20:09:31,491", - "created": 1580584171.4912934, + "asctime": "2020-02-02 23:50:09,989", + "created": 1580683809.989179, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3335,37 +1250,37 @@ "lineno": 26, "message": "Expectation (Returnvalue of rotate method with invalid orientation): result = False ()", "module": "test", - "msecs": 491.29343032836914, + "msecs": 989.1788959503174, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1479.1569709777832, + "relativeCreated": 5174.973726272583, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 491.3477897644043, + "msecs": 989.3398284912109, "msg": "Returnvalue of rotate method with invalid orientation is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1479.2113304138184, + "relativeCreated": 5175.134658813477, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 5.435943603515625e-05 + "time_consumption": 0.0001609325408935547 }, { "args": [ - "True", + "False", "" ], - "asctime": "2020-02-01 20:09:31,679", - "created": 1580584171.679181, + "asctime": "2020-02-02 23:50:10,357", + "created": 1580683810.3579316, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3373,95 +1288,449 @@ "levelname": "INFO", "levelno": 20, "lineno": 142, - "message": "Filecompare is correct (Content True and Type is ).", + "message": "Returnvalue of rotate method with no orientation in method call and exif is correct (Content False and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - 6 + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_non_exif.jpg'" ], - "asctime": "2020-02-01 20:09:31,491", - "created": 1580584171.4914298, + "asctime": "2020-02-02 23:50:10,353", + "created": 1580683810.3538203, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_non_exif.jpg'", + "module": "__init__", + "msecs": 353.8203239440918, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 5539.615154266357, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of rotate method with no orientation in method call and exif", + "False", + "" + ], + "asctime": "2020-02-02 23:50:10,357", + "created": 1580683810.3575313, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Returnvalue of rotate method with no orientation in method call and exif): False ()", + "module": "test", + "msecs": 357.5313091278076, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 5543.326139450073, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of rotate method with no orientation in method call and exif", + "False", + "" + ], + "asctime": "2020-02-02 23:50:10,357", + "created": 1580683810.3577821, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Returnvalue of rotate method with no orientation in method call and exif): result = False ()", + "module": "test", + "msecs": 357.78212547302246, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 5543.576955795288, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 357.93161392211914, + "msg": "Returnvalue of rotate method with no orientation in method call and exif is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 5543.726444244385, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.0001494884490966797 + }, + { + "args": [ + "True", + "" + ], + "asctime": "2020-02-02 23:50:11,097", + "created": 1580683811.097733, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Filecompare for rotated_image_none.jpg is correct (Content True and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "None" + ], + "asctime": "2020-02-02 23:50:10,358", + "created": 1580683810.3581328, "exc_info": null, "exc_text": null, "filename": "test_image.py", "funcName": "rotate_by_orientation", "levelname": "DEBUG", "levelno": 10, - "lineno": 74, - "message": "Rotate with orientation 6", + "lineno": 78, + "message": "Rotate with orientation None", "module": "test_image", - "msecs": 491.42980575561523, - "msg": "Rotate with orientation %d", + "msecs": 358.13283920288086, + "msg": "Rotate with orientation %s", "name": "__unittest__", "pathname": "src/tests/test_image.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1479.2933464050293, + "relativeCreated": 5543.9276695251465, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:10,737", + "created": 1580683810.7379732, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 737.9732131958008, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 5923.768043518066, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "6" + ], + "asctime": "2020-02-02 23:50:10,740", + "created": 1580683810.740023, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "rotate_by_orientation", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 156, + "message": "No orientation given, orientation 6 extract from exif data", + "module": "__init__", + "msecs": 740.0228977203369, + "msg": "No orientation given, orientation %s extract from exif data", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 5925.8177280426025, + "stack_info": null, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ 270 ], - "asctime": "2020-02-01 20:09:31,590", - "created": 1580584171.5903833, + "asctime": "2020-02-02 23:50:10,741", + "created": 1580683810.7410893, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "rotate_by_orientation", "levelname": "DEBUG", "levelno": 10, - "lineno": 147, + "lineno": 169, "message": "Rotating picture by 270\u00b0", "module": "__init__", - "msecs": 590.3832912445068, + "msecs": 741.0893440246582, "msg": "Rotating picture by %d\u00b0", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1578.246831893921, + "relativeCreated": 5926.884174346924, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_none.jpg'" + ], + "asctime": "2020-02-02 23:50:10,864", + "created": 1580683810.8643143, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "save", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 124, + "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_none.jpg'", + "module": "__init__", + "msecs": 864.3143177032471, + "msg": "Saving image to %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 6050.109148025513, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for rotated_image_none.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:11,097", + "created": 1580683811.0975578, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Filecompare for rotated_image_none.jpg): True ()", + "module": "test", + "msecs": 97.55778312683105, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 6283.352613449097, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for rotated_image_none.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:11,097", + "created": 1580683811.0976717, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Filecompare for rotated_image_none.jpg): result = True ()", + "module": "test", + "msecs": 97.6717472076416, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 6283.466577529907, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 97.7330207824707, + "msg": "Filecompare for rotated_image_none.jpg is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 6283.527851104736, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 6.127357482910156e-05 + }, + { + "args": [ + "True", + "" + ], + "asctime": "2020-02-02 23:50:11,767", + "created": 1580683811.7673988, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Filecompare for rotated_image_6.jpg is correct (Content True and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "6" + ], + "asctime": "2020-02-02 23:50:11,097", + "created": 1580683811.0978332, + "exc_info": null, + "exc_text": null, + "filename": "test_image.py", + "funcName": "rotate_by_orientation", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 78, + "message": "Rotate with orientation 6", + "module": "test_image", + "msecs": 97.83315658569336, + "msg": "Rotate with orientation %s", + "name": "__unittest__", + "pathname": "src/tests/test_image.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 6283.627986907959, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:11,462", + "created": 1580683811.4628422, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 462.8422260284424, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 6648.637056350708, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + 270 + ], + "asctime": "2020-02-02 23:50:11,463", + "created": 1580683811.4639235, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "rotate_by_orientation", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 169, + "message": "Rotating picture by 270\u00b0", + "module": "__init__", + "msecs": 463.92345428466797, + "msg": "Rotating picture by %d\u00b0", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 6649.718284606934, + "stack_info": null, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_6.jpg'" ], - "asctime": "2020-02-01 20:09:31,606", - "created": 1580584171.60636, + "asctime": "2020-02-02 23:50:11,536", + "created": 1580683811.5369446, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "save", "levelname": "DEBUG", "levelno": 10, - "lineno": 116, + "lineno": 124, "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_6.jpg'", "module": "__init__", - "msecs": 606.3599586486816, + "msecs": 536.9446277618408, "msg": "Saving image to %s", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1594.2234992980957, + "relativeCreated": 6722.739458084106, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ - "Filecompare", + "Filecompare for rotated_image_6.jpg", "True", "" ], - "asctime": "2020-02-01 20:09:31,679", - "created": 1580584171.6790442, + "asctime": "2020-02-02 23:50:11,767", + "created": 1580683811.7671282, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3469,27 +1738,27 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 22, - "message": "Result (Filecompare): True ()", + "message": "Result (Filecompare for rotated_image_6.jpg): True ()", "module": "test", - "msecs": 679.044246673584, + "msecs": 767.1282291412354, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1666.907787322998, + "relativeCreated": 6952.923059463501, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ - "Filecompare", + "Filecompare for rotated_image_6.jpg", "True", "" ], - "asctime": "2020-02-01 20:09:31,679", - "created": 1580584171.6791317, + "asctime": "2020-02-02 23:50:11,767", + "created": 1580683811.7672925, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3497,39 +1766,39 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 26, - "message": "Expectation (Filecompare): result = True ()", + "message": "Expectation (Filecompare for rotated_image_6.jpg): result = True ()", "module": "test", - "msecs": 679.1317462921143, + "msecs": 767.2924995422363, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1666.9952869415283, + "relativeCreated": 6953.087329864502, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 679.1810989379883, - "msg": "Filecompare is correct (Content %s and Type is %s).", + "msecs": 767.3988342285156, + "msg": "Filecompare for rotated_image_6.jpg is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1667.0446395874023, + "relativeCreated": 6953.193664550781, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 4.935264587402344e-05 + "time_consumption": 0.00010633468627929688 }, { "args": [ "True", "" ], - "asctime": "2020-02-01 20:09:31,878", - "created": 1580584171.878498, + "asctime": "2020-02-02 23:50:12,465", + "created": 1580683812.4652798, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3537,95 +1806,121 @@ "levelname": "INFO", "levelno": 20, "lineno": 142, - "message": "Filecompare is correct (Content True and Type is ).", + "message": "Filecompare for rotated_image_8.jpg is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - 8 + "8" ], - "asctime": "2020-02-01 20:09:31,679", - "created": 1580584171.6792483, + "asctime": "2020-02-02 23:50:11,767", + "created": 1580683811.7675743, "exc_info": null, "exc_text": null, "filename": "test_image.py", "funcName": "rotate_by_orientation", "levelname": "DEBUG", "levelno": 10, - "lineno": 74, + "lineno": 78, "message": "Rotate with orientation 8", "module": "test_image", - "msecs": 679.2483329772949, - "msg": "Rotate with orientation %d", + "msecs": 767.5743103027344, + "msg": "Rotate with orientation %s", "name": "__unittest__", "pathname": "src/tests/test_image.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1667.111873626709, + "relativeCreated": 6953.369140625, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:12,152", + "created": 1580683812.1524007, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 152.40073204040527, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 7338.195562362671, + "stack_info": null, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ 90 ], - "asctime": "2020-02-01 20:09:31,787", - "created": 1580584171.7878458, + "asctime": "2020-02-02 23:50:12,152", + "created": 1580683812.1526754, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "rotate_by_orientation", "levelname": "DEBUG", "levelno": 10, - "lineno": 147, + "lineno": 169, "message": "Rotating picture by 90\u00b0", "module": "__init__", - "msecs": 787.8458499908447, + "msecs": 152.67539024353027, "msg": "Rotating picture by %d\u00b0", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1775.7093906402588, + "relativeCreated": 7338.470220565796, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_8.jpg'" ], - "asctime": "2020-02-01 20:09:31,804", - "created": 1580584171.8045137, + "asctime": "2020-02-02 23:50:12,209", + "created": 1580683812.2099626, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "save", "levelname": "DEBUG", "levelno": 10, - "lineno": 116, + "lineno": 124, "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_8.jpg'", "module": "__init__", - "msecs": 804.513692855835, + "msecs": 209.9626064300537, "msg": "Saving image to %s", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1792.377233505249, + "relativeCreated": 7395.757436752319, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ - "Filecompare", + "Filecompare for rotated_image_8.jpg", "True", "" ], - "asctime": "2020-02-01 20:09:31,878", - "created": 1580584171.8783646, + "asctime": "2020-02-02 23:50:12,464", + "created": 1580683812.4644966, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3633,27 +1928,27 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 22, - "message": "Result (Filecompare): True ()", + "message": "Result (Filecompare for rotated_image_8.jpg): True ()", "module": "test", - "msecs": 878.3645629882812, + "msecs": 464.4966125488281, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1866.2281036376953, + "relativeCreated": 7650.291442871094, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ - "Filecompare", + "Filecompare for rotated_image_8.jpg", "True", "" ], - "asctime": "2020-02-01 20:09:31,878", - "created": 1580584171.8784525, + "asctime": "2020-02-02 23:50:12,465", + "created": 1580683812.4650505, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3661,39 +1956,39 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 26, - "message": "Expectation (Filecompare): result = True ()", + "message": "Expectation (Filecompare for rotated_image_8.jpg): result = True ()", "module": "test", - "msecs": 878.4525394439697, + "msecs": 465.05045890808105, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1866.3160800933838, + "relativeCreated": 7650.845289230347, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 878.4980773925781, - "msg": "Filecompare is correct (Content %s and Type is %s).", + "msecs": 465.27981758117676, + "msg": "Filecompare for rotated_image_8.jpg is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1866.3616180419922, + "relativeCreated": 7651.074647903442, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 4.553794860839844e-05 + "time_consumption": 0.00022935867309570312 }, { "args": [ "True", "" ], - "asctime": "2020-02-01 20:09:32,061", - "created": 1580584172.061612, + "asctime": "2020-02-02 23:50:13,100", + "created": 1580683813.1009252, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3701,95 +1996,121 @@ "levelname": "INFO", "levelno": 20, "lineno": 142, - "message": "Filecompare is correct (Content True and Type is ).", + "message": "Filecompare for rotated_image_3.jpg is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ { "args": [ - 3 + "3" ], - "asctime": "2020-02-01 20:09:31,878", - "created": 1580584171.8785644, + "asctime": "2020-02-02 23:50:12,465", + "created": 1580683812.4656034, "exc_info": null, "exc_text": null, "filename": "test_image.py", "funcName": "rotate_by_orientation", "levelname": "DEBUG", "levelno": 10, - "lineno": 74, + "lineno": 78, "message": "Rotate with orientation 3", "module": "test_image", - "msecs": 878.5643577575684, - "msg": "Rotate with orientation %d", + "msecs": 465.6033515930176, + "msg": "Rotate with orientation %s", "name": "__unittest__", "pathname": "src/tests/test_image.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1866.4278984069824, + "relativeCreated": 7651.398181915283, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:12,841", + "created": 1580683812.8415203, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 841.5203094482422, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 8027.315139770508, + "stack_info": null, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ 180 ], - "asctime": "2020-02-01 20:09:31,985", - "created": 1580584171.985017, + "asctime": "2020-02-02 23:50:12,842", + "created": 1580683812.842129, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "rotate_by_orientation", "levelname": "DEBUG", "levelno": 10, - "lineno": 147, + "lineno": 169, "message": "Rotating picture by 180\u00b0", "module": "__init__", - "msecs": 985.0170612335205, + "msecs": 842.1289920806885, "msg": "Rotating picture by %d\u00b0", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1972.8806018829346, + "relativeCreated": 8027.923822402954, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_3.jpg'" ], - "asctime": "2020-02-01 20:09:31,995", - "created": 1580584171.995571, + "asctime": "2020-02-02 23:50:12,873", + "created": 1580683812.873431, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "save", "levelname": "DEBUG", "levelno": 10, - "lineno": 116, + "lineno": 124, "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_3.jpg'", "module": "__init__", - "msecs": 995.5708980560303, + "msecs": 873.4309673309326, "msg": "Saving image to %s", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1983.4344387054443, + "relativeCreated": 8059.225797653198, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ - "Filecompare", + "Filecompare for rotated_image_3.jpg", "True", "" ], - "asctime": "2020-02-01 20:09:32,061", - "created": 1580584172.0614767, + "asctime": "2020-02-02 23:50:13,100", + "created": 1580683813.1007519, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3797,27 +2118,27 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 22, - "message": "Result (Filecompare): True ()", + "message": "Result (Filecompare for rotated_image_3.jpg): True ()", "module": "test", - "msecs": 61.476707458496094, + "msecs": 100.75187683105469, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 2049.34024810791, + "relativeCreated": 8286.54670715332, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ - "Filecompare", + "Filecompare for rotated_image_3.jpg", "True", "" ], - "asctime": "2020-02-01 20:09:32,061", - "created": 1580584172.0615652, + "asctime": "2020-02-02 23:50:13,100", + "created": 1580683813.1008651, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3825,60 +2146,60 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 26, - "message": "Expectation (Filecompare): result = True ()", + "message": "Expectation (Filecompare for rotated_image_3.jpg): result = True ()", "module": "test", - "msecs": 61.56516075134277, + "msecs": 100.86512565612793, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 2049.428701400757, + "relativeCreated": 8286.659955978394, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 61.61189079284668, - "msg": "Filecompare is correct (Content %s and Type is %s).", + "msecs": 100.92520713806152, + "msg": "Filecompare for rotated_image_3.jpg is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 2049.4754314422607, + "relativeCreated": 8286.720037460327, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 4.673004150390625e-05 + "time_consumption": 6.008148193359375e-05 } ], - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 0.6777753829956055, - "time_finished": "2020-02-01 20:09:32,061", - "time_start": "2020-02-01 20:09:31,383" + "time_consumption": 3.399887800216675, + "time_finished": "2020-02-02 23:50:13,100", + "time_start": "2020-02-02 23:50:09,701" }, - "Save": { + "_CBaAQEYDEequ74M7usLaPw": { "args": null, - "asctime": "2020-02-01 20:09:30,981", - "created": 1580584170.9811358, + "asctime": "2020-02-02 23:50:13,103", + "created": 1580683813.1033602, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, - "lineno": 31, - "message": "Save", + "lineno": 36, + "message": "_CBaAQEYDEequ74M7usLaPw", "module": "__init__", "moduleLogger": [], - "msecs": 981.1358451843262, - "msg": "Save", + "msecs": 103.36017608642578, + "msg": "_CBaAQEYDEequ74M7usLaPw", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 968.9993858337402, + "relativeCreated": 8289.155006408691, "stack_info": null, "testcaseLogger": [ { @@ -3886,8 +2207,2210 @@ "False", "" ], - "asctime": "2020-02-01 20:09:30,981", - "created": 1580584170.981393, + "asctime": "2020-02-02 23:50:13,103", + "created": 1580683813.1036747, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Returnvalue of join method without loading an image is correct (Content False and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2020-02-02 23:50:13,103", + "created": 1580683813.103513, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "join", + "levelname": "WARNING", + "levelno": 30, + "lineno": 183, + "message": "No image available, joining not possible", + "module": "__init__", + "msecs": 103.51300239562988, + "msg": "No image available, joining not possible", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 8289.307832717896, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of join method without loading an image", + "False", + "" + ], + "asctime": "2020-02-02 23:50:13,103", + "created": 1580683813.1035779, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Returnvalue of join method without loading an image): False ()", + "module": "test", + "msecs": 103.57785224914551, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 8289.372682571411, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of join method without loading an image", + "False", + "" + ], + "asctime": "2020-02-02 23:50:13,103", + "created": 1580683813.1036272, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Returnvalue of join method without loading an image): result = False ()", + "module": "test", + "msecs": 103.62720489501953, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 8289.422035217285, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 103.67465019226074, + "msg": "Returnvalue of join method without loading an image is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 8289.469480514526, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 4.744529724121094e-05 + }, + { + "args": [ + "False", + "" + ], + "asctime": "2020-02-02 23:50:13,908", + "created": 1580683813.9089017, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Returnvalue of join method with invalid join position is correct (Content False and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:13,389", + "created": 1580683813.3892848, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 389.2848491668701, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 8575.079679489136, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + 17 + ], + "asctime": "2020-02-02 23:50:13,908", + "created": 1580683813.9085393, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "join", + "levelname": "WARNING", + "levelno": 30, + "lineno": 214, + "message": "Join position value 17 is not supported", + "module": "__init__", + "msecs": 908.5392951965332, + "msg": "Join position value %s is not supported", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9094.334125518799, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of join method with invalid join position", + "False", + "" + ], + "asctime": "2020-02-02 23:50:13,908", + "created": 1580683813.9087362, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Returnvalue of join method with invalid join position): False ()", + "module": "test", + "msecs": 908.7362289428711, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9094.531059265137, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of join method with invalid join position", + "False", + "" + ], + "asctime": "2020-02-02 23:50:13,908", + "created": 1580683813.90883, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Returnvalue of join method with invalid join position): result = False ()", + "module": "test", + "msecs": 908.829927444458, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9094.624757766724, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 908.9016914367676, + "msg": "Returnvalue of join method with invalid join position is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9094.696521759033, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 7.176399230957031e-05 + }, + { + "args": [ + "False", + "" + ], + "asctime": "2020-02-02 23:50:14,275", + "created": 1580683814.275839, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Returnvalue of join method with unknown join file is correct (Content False and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:14,241", + "created": 1580683814.24119, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 241.18995666503906, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9426.984786987305, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [], + "asctime": "2020-02-02 23:50:14,275", + "created": 1580683814.2753458, + "exc_info": null, + "exc_text": null, + "filename": "convert.py", + "funcName": "get_pil_image", + "levelname": "WARNING", + "levelno": 30, + "lineno": 35, + "message": "Instance type is not supported: ", + "module": "convert", + "msecs": 275.3458023071289, + "msg": "Instance type is not supported: ", + "name": "MEDIA", + "pathname": "src/media/convert.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9461.140632629395, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "None" + ], + "asctime": "2020-02-02 23:50:14,275", + "created": 1580683814.2755098, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "join", + "levelname": "WARNING", + "levelno": 30, + "lineno": 189, + "message": "Image to be joined is not supported None", + "module": "__init__", + "msecs": 275.5098342895508, + "msg": "Image to be joined is not supported %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9461.304664611816, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of join method with unknown join file", + "False", + "" + ], + "asctime": "2020-02-02 23:50:14,275", + "created": 1580683814.2756412, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Returnvalue of join method with unknown join file): False ()", + "module": "test", + "msecs": 275.64120292663574, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9461.436033248901, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of join method with unknown join file", + "False", + "" + ], + "asctime": "2020-02-02 23:50:14,275", + "created": 1580683814.2757373, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Returnvalue of join method with unknown join file): result = False ()", + "module": "test", + "msecs": 275.7372856140137, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9461.53211593628, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 275.83909034729004, + "msg": "Returnvalue of join method with unknown join file is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9461.633920669556, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.00010180473327636719 + }, + { + "args": [ + "True", + "" + ], + "asctime": "2020-02-02 23:50:15,353", + "created": 1580683815.353362, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Filecompare for joined_image_3.jpg is correct (Content True and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + 3 + ], + "asctime": "2020-02-02 23:50:14,275", + "created": 1580683814.2759871, + "exc_info": null, + "exc_text": null, + "filename": "test_image.py", + "funcName": "join", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 108, + "message": "Join with position 3", + "module": "test_image", + "msecs": 275.9871482849121, + "msg": "Join with position %d", + "name": "__unittest__", + "pathname": "src/tests/test_image.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9461.781978607178, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:14,621", + "created": 1580683814.6218877, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 621.8876838684082, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 9807.682514190674, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:14,855", + "created": 1580683814.8552525, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'", + "module": "__init__", + "msecs": 855.2525043487549, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 10041.04733467102, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + 300 + ], + "asctime": "2020-02-02 23:50:14,855", + "created": 1580683814.855425, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "resize", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 141, + "message": "Resizing picture to max 300 pixel in whatever direction", + "module": "__init__", + "msecs": 855.4248809814453, + "msg": "Resizing picture to max %d pixel in whatever direction", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 10041.219711303711, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [], + "asctime": "2020-02-02 23:50:14,957", + "created": 1580683814.9578028, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "join", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 217, + "message": "Joining two images", + "module": "__init__", + "msecs": 957.8027725219727, + "msg": "Joining two images", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 10143.597602844238, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_3.jpg'" + ], + "asctime": "2020-02-02 23:50:15,143", + "created": 1580683815.1435075, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "save", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 124, + "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_3.jpg'", + "module": "__init__", + "msecs": 143.5074806213379, + "msg": "Saving image to %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 10329.302310943604, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for joined_image_3.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:15,353", + "created": 1580683815.3531916, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Filecompare for joined_image_3.jpg): True ()", + "module": "test", + "msecs": 353.191614151001, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 10538.986444473267, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for joined_image_3.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:15,353", + "created": 1580683815.3533027, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Filecompare for joined_image_3.jpg): result = True ()", + "module": "test", + "msecs": 353.3027172088623, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 10539.097547531128, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 353.3620834350586, + "msg": "Filecompare for joined_image_3.jpg is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 10539.156913757324, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 5.936622619628906e-05 + }, + { + "args": [ + "True", + "" + ], + "asctime": "2020-02-02 23:50:16,349", + "created": 1580683816.349225, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Filecompare for joined_image_4.jpg is correct (Content True and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + 4 + ], + "asctime": "2020-02-02 23:50:15,353", + "created": 1580683815.3534474, + "exc_info": null, + "exc_text": null, + "filename": "test_image.py", + "funcName": "join", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 108, + "message": "Join with position 4", + "module": "test_image", + "msecs": 353.44743728637695, + "msg": "Join with position %d", + "name": "__unittest__", + "pathname": "src/tests/test_image.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 10539.242267608643, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:15,607", + "created": 1580683815.6070576, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 607.0575714111328, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 10792.852401733398, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:15,825", + "created": 1580683815.825071, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'", + "module": "__init__", + "msecs": 825.0710964202881, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 11010.865926742554, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + 300 + ], + "asctime": "2020-02-02 23:50:15,825", + "created": 1580683815.825221, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "resize", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 141, + "message": "Resizing picture to max 300 pixel in whatever direction", + "module": "__init__", + "msecs": 825.221061706543, + "msg": "Resizing picture to max %d pixel in whatever direction", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 11011.015892028809, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [], + "asctime": "2020-02-02 23:50:15,943", + "created": 1580683815.9438252, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "join", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 217, + "message": "Joining two images", + "module": "__init__", + "msecs": 943.8252449035645, + "msg": "Joining two images", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 11129.62007522583, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_4.jpg'" + ], + "asctime": "2020-02-02 23:50:16,124", + "created": 1580683816.1242414, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "save", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 124, + "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_4.jpg'", + "module": "__init__", + "msecs": 124.24135208129883, + "msg": "Saving image to %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 11310.036182403564, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for joined_image_4.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:16,347", + "created": 1580683816.3476005, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Filecompare for joined_image_4.jpg): True ()", + "module": "test", + "msecs": 347.60046005249023, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 11533.395290374756, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for joined_image_4.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:16,348", + "created": 1580683816.3485646, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Filecompare for joined_image_4.jpg): result = True ()", + "module": "test", + "msecs": 348.56462478637695, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 11534.359455108643, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 349.2250442504883, + "msg": "Filecompare for joined_image_4.jpg is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 11535.019874572754, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.0006604194641113281 + }, + { + "args": [ + "True", + "" + ], + "asctime": "2020-02-02 23:50:17,299", + "created": 1580683817.2992017, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Filecompare for joined_image_5.jpg is correct (Content True and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + 5 + ], + "asctime": "2020-02-02 23:50:16,350", + "created": 1580683816.3501136, + "exc_info": null, + "exc_text": null, + "filename": "test_image.py", + "funcName": "join", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 108, + "message": "Join with position 5", + "module": "test_image", + "msecs": 350.1136302947998, + "msg": "Join with position %d", + "name": "__unittest__", + "pathname": "src/tests/test_image.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 11535.908460617065, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:16,578", + "created": 1580683816.578492, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 578.4919261932373, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 11764.286756515503, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:16,827", + "created": 1580683816.8273706, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'", + "module": "__init__", + "msecs": 827.3706436157227, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 12013.165473937988, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + 300 + ], + "asctime": "2020-02-02 23:50:16,827", + "created": 1580683816.8275187, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "resize", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 141, + "message": "Resizing picture to max 300 pixel in whatever direction", + "module": "__init__", + "msecs": 827.5187015533447, + "msg": "Resizing picture to max %d pixel in whatever direction", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 12013.31353187561, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [], + "asctime": "2020-02-02 23:50:16,924", + "created": 1580683816.9249887, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "join", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 217, + "message": "Joining two images", + "module": "__init__", + "msecs": 924.9887466430664, + "msg": "Joining two images", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 12110.783576965332, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_5.jpg'" + ], + "asctime": "2020-02-02 23:50:17,107", + "created": 1580683817.1077278, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "save", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 124, + "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_5.jpg'", + "module": "__init__", + "msecs": 107.7277660369873, + "msg": "Saving image to %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 12293.522596359253, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for joined_image_5.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:17,297", + "created": 1580683817.297894, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Filecompare for joined_image_5.jpg): True ()", + "module": "test", + "msecs": 297.8940010070801, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 12483.688831329346, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for joined_image_5.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:17,298", + "created": 1580683817.2986672, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Filecompare for joined_image_5.jpg): result = True ()", + "module": "test", + "msecs": 298.66719245910645, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 12484.462022781372, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 299.20172691345215, + "msg": "Filecompare for joined_image_5.jpg is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 12484.996557235718, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.0005345344543457031 + }, + { + "args": [ + "True", + "" + ], + "asctime": "2020-02-02 23:50:18,301", + "created": 1580683818.3014338, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Filecompare for joined_image_1.jpg is correct (Content True and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + 1 + ], + "asctime": "2020-02-02 23:50:17,299", + "created": 1580683817.2997885, + "exc_info": null, + "exc_text": null, + "filename": "test_image.py", + "funcName": "join", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 108, + "message": "Join with position 1", + "module": "test_image", + "msecs": 299.7884750366211, + "msg": "Join with position %d", + "name": "__unittest__", + "pathname": "src/tests/test_image.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 12485.583305358887, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:17,537", + "created": 1580683817.5372603, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 537.2602939605713, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 12723.055124282837, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:17,793", + "created": 1580683817.7939827, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'", + "module": "__init__", + "msecs": 793.982744216919, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 12979.777574539185, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + 300 + ], + "asctime": "2020-02-02 23:50:17,794", + "created": 1580683817.7941551, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "resize", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 141, + "message": "Resizing picture to max 300 pixel in whatever direction", + "module": "__init__", + "msecs": 794.1551208496094, + "msg": "Resizing picture to max %d pixel in whatever direction", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 12979.949951171875, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [], + "asctime": "2020-02-02 23:50:17,938", + "created": 1580683817.9384165, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "join", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 217, + "message": "Joining two images", + "module": "__init__", + "msecs": 938.4164810180664, + "msg": "Joining two images", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 13124.211311340332, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_1.jpg'" + ], + "asctime": "2020-02-02 23:50:18,110", + "created": 1580683818.1101162, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "save", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 124, + "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_1.jpg'", + "module": "__init__", + "msecs": 110.11624336242676, + "msg": "Saving image to %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 13295.911073684692, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for joined_image_1.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:18,299", + "created": 1580683818.299933, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Filecompare for joined_image_1.jpg): True ()", + "module": "test", + "msecs": 299.93295669555664, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 13485.727787017822, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for joined_image_1.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:18,300", + "created": 1580683818.300717, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Filecompare for joined_image_1.jpg): result = True ()", + "module": "test", + "msecs": 300.7171154022217, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 13486.511945724487, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 301.433801651001, + "msg": "Filecompare for joined_image_1.jpg is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 13487.228631973267, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.0007166862487792969 + }, + { + "args": [ + "True", + "" + ], + "asctime": "2020-02-02 23:50:19,271", + "created": 1580683819.2718904, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Filecompare for joined_image_2.jpg is correct (Content True and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + 2 + ], + "asctime": "2020-02-02 23:50:18,302", + "created": 1580683818.30267, + "exc_info": null, + "exc_text": null, + "filename": "test_image.py", + "funcName": "join", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 108, + "message": "Join with position 2", + "module": "test_image", + "msecs": 302.6700019836426, + "msg": "Join with position %d", + "name": "__unittest__", + "pathname": "src/tests/test_image.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 13488.464832305908, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:18,539", + "created": 1580683818.5397162, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 539.7162437438965, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 13725.511074066162, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:18,793", + "created": 1580683818.7935078, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'", + "module": "__init__", + "msecs": 793.5078144073486, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 13979.302644729614, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + 300 + ], + "asctime": "2020-02-02 23:50:18,793", + "created": 1580683818.7936895, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "resize", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 141, + "message": "Resizing picture to max 300 pixel in whatever direction", + "module": "__init__", + "msecs": 793.689489364624, + "msg": "Resizing picture to max %d pixel in whatever direction", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 13979.48431968689, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [], + "asctime": "2020-02-02 23:50:18,877", + "created": 1580683818.8772478, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "join", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 217, + "message": "Joining two images", + "module": "__init__", + "msecs": 877.2478103637695, + "msg": "Joining two images", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 14063.042640686035, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_2.jpg'" + ], + "asctime": "2020-02-02 23:50:19,061", + "created": 1580683819.0614886, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "save", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 124, + "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_2.jpg'", + "module": "__init__", + "msecs": 61.48862838745117, + "msg": "Saving image to %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 14247.283458709717, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for joined_image_2.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:19,271", + "created": 1580683819.2716413, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Filecompare for joined_image_2.jpg): True ()", + "module": "test", + "msecs": 271.6412544250488, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 14457.436084747314, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for joined_image_2.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:19,271", + "created": 1580683819.2718086, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Filecompare for joined_image_2.jpg): result = True ()", + "module": "test", + "msecs": 271.8086242675781, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 14457.603454589844, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 271.89040184020996, + "msg": "Filecompare for joined_image_2.jpg is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 14457.685232162476, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 8.177757263183594e-05 + } + ], + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 6.168530225753784, + "time_finished": "2020-02-02 23:50:19,271", + "time_start": "2020-02-02 23:50:13,103" + }, + "_Fv7V4EYCEequ74M7usLaPw": { + "args": null, + "asctime": "2020-02-02 23:50:06,655", + "created": 1580683806.6554456, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testrun", + "levelname": "INFO", + "levelno": 20, + "lineno": 31, + "message": "_Fv7V4EYCEequ74M7usLaPw", + "module": "__init__", + "moduleLogger": [], + "msecs": 655.4455757141113, + "msg": "_Fv7V4EYCEequ74M7usLaPw", + "name": "__tLogger__", + "pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1841.240406036377, + "stack_info": null, + "testcaseLogger": [ + { + "args": [ + "", + "" + ], + "asctime": "2020-02-02 23:50:06,656", + "created": 1580683806.6565988, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Type of image stored in instance, if no parameter is given is correct (Content and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "Type of image stored in instance, if no parameter is given", + "", + "" + ], + "asctime": "2020-02-02 23:50:06,656", + "created": 1580683806.6560626, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Type of image stored in instance, if no parameter is given): ()", + "module": "test", + "msecs": 656.0626029968262, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1841.8574333190918, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Type of image stored in instance, if no parameter is given", + "", + "" + ], + "asctime": "2020-02-02 23:50:06,656", + "created": 1580683806.656427, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Type of image stored in instance, if no parameter is given): result = ()", + "module": "test", + "msecs": 656.4269065856934, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1842.221736907959, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 656.5988063812256, + "msg": "Type of image stored in instance, if no parameter is given is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1842.3936367034912, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.00017189979553222656 + }, + { + "args": [ + "", + "" + ], + "asctime": "2020-02-02 23:50:06,660", + "created": 1580683806.6602879, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Type of image stored in instance, if a unsupported parameter is given is correct (Content and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2020-02-02 23:50:06,659", + "created": 1580683806.6591866, + "exc_info": null, + "exc_text": null, + "filename": "convert.py", + "funcName": "get_pil_image", + "levelname": "WARNING", + "levelno": 30, + "lineno": 35, + "message": "Instance type is not supported: ", + "module": "convert", + "msecs": 659.186601638794, + "msg": "Instance type is not supported: ", + "name": "MEDIA", + "pathname": "src/media/convert.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1844.9814319610596, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Type of image stored in instance, if a unsupported parameter is given", + "", + "" + ], + "asctime": "2020-02-02 23:50:06,659", + "created": 1580683806.6597466, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Type of image stored in instance, if a unsupported parameter is given): ()", + "module": "test", + "msecs": 659.7466468811035, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1845.5414772033691, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Type of image stored in instance, if a unsupported parameter is given", + "", + "" + ], + "asctime": "2020-02-02 23:50:06,660", + "created": 1580683806.6600494, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Type of image stored in instance, if a unsupported parameter is given): result = ()", + "module": "test", + "msecs": 660.0494384765625, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1845.8442687988281, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 660.2878570556641, + "msg": "Type of image stored in instance, if a unsupported parameter is given is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1846.0826873779297, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.0002384185791015625 + }, + { + "args": [ + "", + "" + ], + "asctime": "2020-02-02 23:50:06,661", + "created": 1580683806.6615067, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Type of image stored in instance, if an unknown file is given is correct (Content and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "/user_data/data/dirk/prj/unittest/media/unittest/input_data/unknown.txt" + ], + "asctime": "2020-02-02 23:50:06,660", + "created": 1580683806.660623, + "exc_info": null, + "exc_text": null, + "filename": "convert.py", + "funcName": "get_pil_image", + "levelname": "WARNING", + "levelno": 30, + "lineno": 31, + "message": "Filetype is not supported (/user_data/data/dirk/prj/unittest/media/unittest/input_data/unknown.txt)", + "module": "convert", + "msecs": 660.6230735778809, + "msg": "Filetype is not supported (%s)", + "name": "MEDIA", + "pathname": "src/media/convert.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1846.4179039001465, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Type of image stored in instance, if an unknown file is given", + "", + "" + ], + "asctime": "2020-02-02 23:50:06,661", + "created": 1580683806.661059, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Type of image stored in instance, if an unknown file is given): ()", + "module": "test", + "msecs": 661.0589027404785, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1846.8537330627441, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Type of image stored in instance, if an unknown file is given", + "", + "" + ], + "asctime": "2020-02-02 23:50:06,661", + "created": 1580683806.6612897, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Type of image stored in instance, if an unknown file is given): result = ()", + "module": "test", + "msecs": 661.2896919250488, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1847.0845222473145, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 661.5066528320312, + "msg": "Type of image stored in instance, if an unknown file is given is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 1847.3014831542969, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.00021696090698242188 + }, + { + "args": [ + "", + "" + ], + "asctime": "2020-02-02 23:50:06,950", + "created": 1580683806.9507322, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Type of image stored in instance, if a image file is given is correct (Content and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:06,950", + "created": 1580683806.9504166, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 950.4165649414062, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 2136.211395263672, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Type of image stored in instance, if a image file is given", + "", + "" + ], + "asctime": "2020-02-02 23:50:06,950", + "created": 1580683806.9505882, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Type of image stored in instance, if a image file is given): ()", + "module": "test", + "msecs": 950.5882263183594, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 2136.383056640625, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Type of image stored in instance, if a image file is given", + "", + "" + ], + "asctime": "2020-02-02 23:50:06,950", + "created": 1580683806.950667, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Type of image stored in instance, if a image file is given): result = ()", + "module": "test", + "msecs": 950.6669044494629, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 2136.4617347717285, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 950.7322311401367, + "msg": "Type of image stored in instance, if a image file is given is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 2136.5270614624023, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 6.532669067382812e-05 + }, + { + "args": [ + "", + "" + ], + "asctime": "2020-02-02 23:50:07,867", + "created": 1580683807.8670359, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Type of image stored in instance, if a video file is given is correct (Content and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/video.mp4'" + ], + "asctime": "2020-02-02 23:50:07,854", + "created": 1580683807.8544464, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/video.mp4'", + "module": "__init__", + "msecs": 854.4464111328125, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 3040.241241455078, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Type of image stored in instance, if a video file is given", + "", + "" + ], + "asctime": "2020-02-02 23:50:07,866", + "created": 1580683807.8667064, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Type of image stored in instance, if a video file is given): ()", + "module": "test", + "msecs": 866.706371307373, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 3052.5012016296387, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Type of image stored in instance, if a video file is given", + "", + "" + ], + "asctime": "2020-02-02 23:50:07,866", + "created": 1580683807.866885, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Type of image stored in instance, if a video file is given): result = ()", + "module": "test", + "msecs": 866.8849468231201, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 3052.6797771453857, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 867.0358657836914, + "msg": "Type of image stored in instance, if a video file is given is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 3052.830696105957, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.00015091896057128906 + } + ], + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 1.21159029006958, + "time_finished": "2020-02-02 23:50:07,867", + "time_start": "2020-02-02 23:50:06,655" + }, + "_HGpRMEYCEequ74M7usLaPw": { + "args": null, + "asctime": "2020-02-02 23:50:07,867", + "created": 1580683807.8674316, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testrun", + "levelname": "INFO", + "levelno": 20, + "lineno": 32, + "message": "_HGpRMEYCEequ74M7usLaPw", + "module": "__init__", + "moduleLogger": [], + "msecs": 867.431640625, + "msg": "_HGpRMEYCEequ74M7usLaPw", + "name": "__tLogger__", + "pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 3053.2264709472656, + "stack_info": null, + "testcaseLogger": [ + { + "args": [ + "False", + "" + ], + "asctime": "2020-02-02 23:50:07,867", + "created": 1580683807.8677902, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3902,26 +4425,26 @@ "args": [ "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/saved_image.jpg'" ], - "asctime": "2020-02-01 20:09:30,981", - "created": 1580584170.9812298, + "asctime": "2020-02-02 23:50:07,867", + "created": 1580683807.8675845, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "save", "levelname": "WARNING", "levelno": 30, - "lineno": 113, + "lineno": 121, "message": "No image available to be saved ('/user_data/data/dirk/prj/unittest/media/unittest/output_data/saved_image.jpg')", "module": "__init__", - "msecs": 981.2297821044922, + "msecs": 867.5844669342041, "msg": "No image available to be saved (%s)", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 969.0933227539062, + "relativeCreated": 3053.3792972564697, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -3930,8 +4453,8 @@ "False", "" ], - "asctime": "2020-02-01 20:09:30,981", - "created": 1580584170.9813104, + "asctime": "2020-02-02 23:50:07,867", + "created": 1580683807.867687, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3941,15 +4464,15 @@ "lineno": 22, "message": "Result (Returnvalue of failed save method): False ()", "module": "test", - "msecs": 981.3103675842285, + "msecs": 867.6869869232178, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 969.1739082336426, + "relativeCreated": 3053.4818172454834, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -3958,8 +4481,8 @@ "False", "" ], - "asctime": "2020-02-01 20:09:30,981", - "created": 1580584170.9813523, + "asctime": "2020-02-02 23:50:07,867", + "created": 1580683807.86774, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -3969,37 +4492,37 @@ "lineno": 26, "message": "Expectation (Returnvalue of failed save method): result = False ()", "module": "test", - "msecs": 981.3523292541504, + "msecs": 867.7399158477783, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 969.2158699035645, + "relativeCreated": 3053.534746170044, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 981.3930988311768, + "msecs": 867.7902221679688, "msg": "Returnvalue of failed save method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 969.2566394805908, + "relativeCreated": 3053.5850524902344, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 4.076957702636719e-05 + "time_consumption": 5.030632019042969e-05 }, { "args": [ "False", "" ], - "asctime": "2020-02-01 20:09:30,981", - "created": 1580584170.981556, + "asctime": "2020-02-02 23:50:07,868", + "created": 1580683807.868027, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4016,8 +4539,8 @@ "False", "" ], - "asctime": "2020-02-01 20:09:30,981", - "created": 1580584170.9814758, + "asctime": "2020-02-02 23:50:07,867", + "created": 1580683807.867908, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4027,15 +4550,15 @@ "lineno": 22, "message": "Result (Existance of saved file): False ()", "module": "test", - "msecs": 981.475830078125, + "msecs": 867.9080009460449, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 969.3393707275391, + "relativeCreated": 3053.7028312683105, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4044,8 +4567,8 @@ "False", "" ], - "asctime": "2020-02-01 20:09:30,981", - "created": 1580584170.981516, + "asctime": "2020-02-02 23:50:07,867", + "created": 1580683807.867977, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4055,37 +4578,37 @@ "lineno": 26, "message": "Expectation (Existance of saved file): result = False ()", "module": "test", - "msecs": 981.5158843994141, + "msecs": 867.9769039154053, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 969.3794250488281, + "relativeCreated": 3053.771734237671, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 981.5559387207031, + "msecs": 868.0269718170166, "msg": "Existance of saved file is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 969.4194793701172, + "relativeCreated": 3053.821802139282, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 4.00543212890625e-05 + "time_consumption": 5.0067901611328125e-05 }, { "args": [ "True", "" ], - "asctime": "2020-02-01 20:09:31,275", - "created": 1580584171.2753813, + "asctime": "2020-02-02 23:50:08,703", + "created": 1580683808.7035887, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4096,30 +4619,56 @@ "message": "Returnvalue of successful save method is correct (Content True and Type is ).", "module": "test", "moduleLogger": [ + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/video.mp4'" + ], + "asctime": "2020-02-02 23:50:08,684", + "created": 1580683808.6847758, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/video.mp4'", + "module": "__init__", + "msecs": 684.7758293151855, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 3870.570659637451, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, { "args": [ "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/saved_image.jpg'" ], - "asctime": "2020-02-01 20:09:31,260", - "created": 1580584171.2609422, + "asctime": "2020-02-02 23:50:08,685", + "created": 1580683808.6850674, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "save", "levelname": "DEBUG", "levelno": 10, - "lineno": 116, + "lineno": 124, "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/saved_image.jpg'", "module": "__init__", - "msecs": 260.9422206878662, + "msecs": 685.0674152374268, "msg": "Saving image to %s", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1248.8057613372803, + "relativeCreated": 3870.8622455596924, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4128,8 +4677,8 @@ "True", "" ], - "asctime": "2020-02-01 20:09:31,275", - "created": 1580584171.2751992, + "asctime": "2020-02-02 23:50:08,703", + "created": 1580683808.703407, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4139,15 +4688,15 @@ "lineno": 22, "message": "Result (Returnvalue of successful save method): True ()", "module": "test", - "msecs": 275.19917488098145, + "msecs": 703.4070491790771, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1263.0627155303955, + "relativeCreated": 3889.201879501343, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4156,8 +4705,8 @@ "True", "" ], - "asctime": "2020-02-01 20:09:31,275", - "created": 1580584171.275312, + "asctime": "2020-02-02 23:50:08,703", + "created": 1580683808.7035263, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4167,37 +4716,37 @@ "lineno": 26, "message": "Expectation (Returnvalue of successful save method): result = True ()", "module": "test", - "msecs": 275.3119468688965, + "msecs": 703.5262584686279, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1263.1754875183105, + "relativeCreated": 3889.3210887908936, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 275.38132667541504, + "msecs": 703.5887241363525, "msg": "Returnvalue of successful save method is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1263.244867324829, + "relativeCreated": 3889.383554458618, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 6.937980651855469e-05 + "time_consumption": 6.246566772460938e-05 }, { "args": [ "True", "" ], - "asctime": "2020-02-01 20:09:31,275", - "created": 1580584171.2755928, + "asctime": "2020-02-02 23:50:08,703", + "created": 1580683808.7038307, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4214,8 +4763,8 @@ "True", "" ], - "asctime": "2020-02-01 20:09:31,275", - "created": 1580584171.2755146, + "asctime": "2020-02-02 23:50:08,703", + "created": 1580683808.7037346, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4225,15 +4774,15 @@ "lineno": 22, "message": "Result (Existance of saved file): True ()", "module": "test", - "msecs": 275.5146026611328, + "msecs": 703.7346363067627, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1263.3781433105469, + "relativeCreated": 3889.5294666290283, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4242,8 +4791,8 @@ "True", "" ], - "asctime": "2020-02-01 20:09:31,275", - "created": 1580584171.275556, + "asctime": "2020-02-02 23:50:08,703", + "created": 1580683808.7037873, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4253,58 +4802,58 @@ "lineno": 26, "message": "Expectation (Existance of saved file): result = True ()", "module": "test", - "msecs": 275.5560874938965, + "msecs": 703.7873268127441, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1263.4196281433105, + "relativeCreated": 3889.5821571350098, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 275.5928039550781, + "msecs": 703.8307189941406, "msg": "Existance of saved file is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 1263.4563446044922, + "relativeCreated": 3889.6255493164062, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 3.6716461181640625e-05 + "time_consumption": 4.3392181396484375e-05 } ], - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 0.29445695877075195, - "time_finished": "2020-02-01 20:09:31,275", - "time_start": "2020-02-01 20:09:30,981" + "time_consumption": 0.8363990783691406, + "time_finished": "2020-02-02 23:50:08,703", + "time_start": "2020-02-02 23:50:07,867" }, "_XzMFcHYZEem_kd-7nxt1sg": { "args": null, - "asctime": "2020-02-01 20:09:30,073", - "created": 1580584170.0731459, + "asctime": "2020-02-02 23:50:04,982", + "created": 1580683804.9820852, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "testrun", "levelname": "INFO", "levelno": 20, - "lineno": 26, + "lineno": 27, "message": "_XzMFcHYZEem_kd-7nxt1sg", "module": "__init__", "moduleLogger": [], - "msecs": 73.14586639404297, + "msecs": 982.0852279663086, "msg": "_XzMFcHYZEem_kd-7nxt1sg", "name": "__tLogger__", "pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 61.00940704345703, + "relativeCreated": 167.88005828857422, "stack_info": null, "testcaseLogger": [ { @@ -4312,8 +4861,8 @@ "None", "" ], - "asctime": "2020-02-01 20:09:30,074", - "created": 1580584170.0742931, + "asctime": "2020-02-02 23:50:04,996", + "created": 1580683804.9969733, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4328,26 +4877,26 @@ "args": [ "/user_data/data/dirk/prj/unittest/media/unittest/input_data/unknown.txt" ], - "asctime": "2020-02-01 20:09:30,073", - "created": 1580584170.0739384, + "asctime": "2020-02-02 23:50:04,994", + "created": 1580683804.9941604, "exc_info": null, "exc_text": null, "filename": "__init__.py", "funcName": "get_media_data", "levelname": "WARNING", "levelno": 30, - "lineno": 79, + "lineno": 80, "message": "Filetype not known: /user_data/data/dirk/prj/unittest/media/unittest/input_data/unknown.txt", "module": "__init__", - "msecs": 73.93836975097656, + "msecs": 994.1604137420654, "msg": "Filetype not known: %s", "name": "MEDIA", "pathname": "src/media/__init__.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 61.801910400390625, + "relativeCreated": 179.95524406433105, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4356,8 +4905,8 @@ "None", "" ], - "asctime": "2020-02-01 20:09:30,074", - "created": 1580584170.0742016, + "asctime": "2020-02-02 23:50:04,996", + "created": 1580683804.9963493, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4367,15 +4916,15 @@ "lineno": 22, "message": "Result (Media data for unknown.txt): None ()", "module": "test", - "msecs": 74.20158386230469, + "msecs": 996.3493347167969, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 62.06512451171875, + "relativeCreated": 182.1441650390625, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4384,8 +4933,8 @@ "None", "" ], - "asctime": "2020-02-01 20:09:30,074", - "created": 1580584170.0742497, + "asctime": "2020-02-02 23:50:04,996", + "created": 1580683804.9967, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4395,37 +4944,37 @@ "lineno": 26, "message": "Expectation (Media data for unknown.txt): result = None ()", "module": "test", - "msecs": 74.2497444152832, + "msecs": 996.7000484466553, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 62.113285064697266, + "relativeCreated": 182.4948787689209, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 74.29313659667969, + "msecs": 996.9732761383057, "msg": "Media data for unknown.txt is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 62.15667724609375, + "relativeCreated": 182.7681064605713, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 4.3392181396484375e-05 + "time_consumption": 0.0002732276916503906 }, { "args": [ "{'duration': 236.094694, 'bitrate': 290743, 'artist': 'Kaleo', 'title': 'No Good', 'album': 'A/B', 'track': 1, 'genre': 'Rock', 'year': 2016, 'size': 8580366, 'time': 1451606398, 'tm_is_subst': True}", "" ], - "asctime": "2020-02-01 20:09:30,135", - "created": 1580584170.135747, + "asctime": "2020-02-02 23:50:05,358", + "created": 1580683805.3582673, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4442,8 +4991,8 @@ "{ 'duration': 236.094694, 'bitrate': 290743, 'artist': 'Kaleo', 'title': 'No Good', 'album': 'A/B', 'track': 1, 'genre': 'Rock', 'year': 2016, 'size': 8580366, 'time': 1451606398, 'tm_is_subst': True }", "" ], - "asctime": "2020-02-01 20:09:30,135", - "created": 1580584170.135381, + "asctime": "2020-02-02 23:50:05,352", + "created": 1580683805.3529189, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4453,15 +5002,15 @@ "lineno": 22, "message": "Result (Media data for audio.mp3): { 'duration': 236.094694, 'bitrate': 290743, 'artist': 'Kaleo', 'title': 'No Good', 'album': 'A/B', 'track': 1, 'genre': 'Rock', 'year': 2016, 'size': 8580366, 'time': 1451606398, 'tm_is_subst': True } ()", "module": "test", - "msecs": 135.38098335266113, + "msecs": 352.9188632965088, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 123.2445240020752, + "relativeCreated": 538.7136936187744, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4470,8 +5019,8 @@ "{ 'duration': 236.094694, 'bitrate': 290743, 'artist': 'Kaleo', 'title': 'No Good', 'album': 'A/B', 'track': 1, 'genre': 'Rock', 'year': 2016, 'time': 1451606398, 'tm_is_subst': True, 'size': 8580366 }", "" ], - "asctime": "2020-02-01 20:09:30,135", - "created": 1580584170.135619, + "asctime": "2020-02-02 23:50:05,356", + "created": 1580683805.356583, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4481,37 +5030,37 @@ "lineno": 26, "message": "Expectation (Media data for audio.mp3): result = { 'duration': 236.094694, 'bitrate': 290743, 'artist': 'Kaleo', 'title': 'No Good', 'album': 'A/B', 'track': 1, 'genre': 'Rock', 'year': 2016, 'time': 1451606398, 'tm_is_subst': True, 'size': 8580366 } ()", "module": "test", - "msecs": 135.6189250946045, + "msecs": 356.5831184387207, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 123.48246574401855, + "relativeCreated": 542.3779487609863, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 135.74695587158203, + "msecs": 358.26730728149414, "msg": "Media data for audio.mp3 is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 123.6104965209961, + "relativeCreated": 544.0621376037598, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 0.00012803077697753906 + "time_consumption": 0.0016841888427734375 }, { "args": [ "{'duration': 281.991837, 'bitrate': 228298, 'title': 'Video Games (Album Version Remastered)', 'artist': 'Lana Del Rey', 'album': 'Born To Die', 'genre': 'Pop', 'track': 4, 'year': 2012, 'size': 8047290, 'time': 1325375995, 'tm_is_subst': True}", "" ], - "asctime": "2020-02-01 20:09:30,197", - "created": 1580584170.1979814, + "asctime": "2020-02-02 23:50:05,564", + "created": 1580683805.564757, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4522,42 +5071,14 @@ "message": "Media data for audio_fail_conv.mp3 is correct (Content {'duration': 281.991837, 'bitrate': 228298, 'title': 'Video Games (Album Version Remastered)', 'artist': 'Lana Del Rey', 'album': 'Born To Die', 'genre': 'Pop', 'track': 4, 'year': 2012, 'size': 8047290, 'time': 1325375995, 'tm_is_subst': True} and Type is ).", "module": "test", "moduleLogger": [ - { - "args": [ - "'N/A'", - "bitrate", - "bitrate" - ], - "asctime": "2020-02-01 20:09:30,197", - "created": 1580584170.1973727, - "exc_info": null, - "exc_text": null, - "filename": "metadata.py", - "funcName": "__get_xxprobe_data__", - "levelname": "WARNING", - "levelno": 30, - "lineno": 102, - "message": "Can't convert 'N/A' (bitrate) for bitrate", - "module": "metadata", - "msecs": 197.3726749420166, - "msg": "Can't convert %s (%s) for %s", - "name": "MEDIA", - "pathname": "src/media/metadata.py", - "process": 16493, - "processName": "MainProcess", - "relativeCreated": 185.23621559143066, - "stack_info": null, - "thread": 140094293296960, - "threadName": "MainThread" - }, { "args": [ "Media data for audio_fail_conv.mp3", "{ 'duration': 281.991837, 'bitrate': 228298, 'title': 'Video Games (Album Version Remastered)', 'artist': 'Lana Del Rey', 'album': 'Born To Die', 'genre': 'Pop', 'track': 4, 'year': 2012, 'size': 8047290, 'time': 1325375995, 'tm_is_subst': True }", "" ], - "asctime": "2020-02-01 20:09:30,197", - "created": 1580584170.1977887, + "asctime": "2020-02-02 23:50:05,564", + "created": 1580683805.5644188, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4567,15 +5088,15 @@ "lineno": 22, "message": "Result (Media data for audio_fail_conv.mp3): { 'duration': 281.991837, 'bitrate': 228298, 'title': 'Video Games (Album Version Remastered)', 'artist': 'Lana Del Rey', 'album': 'Born To Die', 'genre': 'Pop', 'track': 4, 'year': 2012, 'size': 8047290, 'time': 1325375995, 'tm_is_subst': True } ()", "module": "test", - "msecs": 197.78871536254883, + "msecs": 564.4187927246094, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 185.6522560119629, + "relativeCreated": 750.213623046875, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4584,8 +5105,8 @@ "{ 'duration': 281.991837, 'bitrate': 228298, 'artist': 'Lana Del Rey', 'title': 'Video Games (Album Version Remastered)', 'album': 'Born To Die', 'track': 4, 'genre': 'Pop', 'year': 2012, 'time': 1325375995, 'tm_is_subst': True, 'size': 8047290 }", "" ], - "asctime": "2020-02-01 20:09:30,197", - "created": 1580584170.1978834, + "asctime": "2020-02-02 23:50:05,564", + "created": 1580683805.5646486, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4595,37 +5116,37 @@ "lineno": 26, "message": "Expectation (Media data for audio_fail_conv.mp3): result = { 'duration': 281.991837, 'bitrate': 228298, 'artist': 'Lana Del Rey', 'title': 'Video Games (Album Version Remastered)', 'album': 'Born To Die', 'track': 4, 'genre': 'Pop', 'year': 2012, 'time': 1325375995, 'tm_is_subst': True, 'size': 8047290 } ()", "module": "test", - "msecs": 197.88336753845215, + "msecs": 564.6486282348633, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 185.7469081878662, + "relativeCreated": 750.4434585571289, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 197.9813575744629, + "msecs": 564.7571086883545, "msg": "Media data for audio_fail_conv.mp3 is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 185.84489822387695, + "relativeCreated": 750.5519390106201, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 9.799003601074219e-05 + "time_consumption": 0.00010848045349121094 }, { "args": [ "{'duration': 120.476735, 'bitrate': 240202, 'title': 'Was bringt der Dezember', 'artist': 'Rolf und seine Freunde', 'album': 'Wir warten auf Weihnachten', 'year': 0, 'track': 9, 'genre': 'Other', 'size': 3617354}", "" ], - "asctime": "2020-02-01 20:09:30,250", - "created": 1580584170.250763, + "asctime": "2020-02-02 23:50:05,681", + "created": 1580683805.6815603, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4642,8 +5163,8 @@ "{ 'duration': 120.476735, 'bitrate': 240202, 'title': 'Was bringt der Dezember', 'artist': 'Rolf und seine Freunde', 'album': 'Wir warten auf Weihnachten', 'year': 0, 'track': 9, 'genre': 'Other', 'size': 3617354 }", "" ], - "asctime": "2020-02-01 20:09:30,250", - "created": 1580584170.2504418, + "asctime": "2020-02-02 23:50:05,681", + "created": 1580683805.681223, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4653,15 +5174,15 @@ "lineno": 22, "message": "Result (Media data for audio_year_0.mp3): { 'duration': 120.476735, 'bitrate': 240202, 'title': 'Was bringt der Dezember', 'artist': 'Rolf und seine Freunde', 'album': 'Wir warten auf Weihnachten', 'year': 0, 'track': 9, 'genre': 'Other', 'size': 3617354 } ()", "module": "test", - "msecs": 250.4417896270752, + "msecs": 681.2229156494141, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 238.30533027648926, + "relativeCreated": 867.0177459716797, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4670,8 +5191,8 @@ "{ 'duration': 120.476735, 'bitrate': 240202, 'artist': 'Rolf und seine Freunde', 'title': 'Was bringt der Dezember', 'album': 'Wir warten auf Weihnachten', 'track': 9, 'genre': 'Other', 'year': 0, 'size': 3617354 }", "" ], - "asctime": "2020-02-01 20:09:30,250", - "created": 1580584170.2506452, + "asctime": "2020-02-02 23:50:05,681", + "created": 1580683805.6814423, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4681,37 +5202,37 @@ "lineno": 26, "message": "Expectation (Media data for audio_year_0.mp3): result = { 'duration': 120.476735, 'bitrate': 240202, 'artist': 'Rolf und seine Freunde', 'title': 'Was bringt der Dezember', 'album': 'Wir warten auf Weihnachten', 'track': 9, 'genre': 'Other', 'year': 0, 'size': 3617354 } ()", "module": "test", - "msecs": 250.64516067504883, + "msecs": 681.4422607421875, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 238.5087013244629, + "relativeCreated": 867.2370910644531, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 250.762939453125, + "msecs": 681.5602779388428, "msg": "Media data for audio_year_0.mp3 is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 238.62648010253906, + "relativeCreated": 867.3551082611084, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 0.00011777877807617188 + "time_consumption": 0.00011801719665527344 }, { "args": [ - "{'time': 1518783213, 'exposure_program': 'Program Normal', 'exposure_time': 0.000535, 'flash': 'Auto Off', 'aperture': 2.2, 'focal_length': 4.5, 'gps': {'lon': 12.140646934444444, 'lat': 53.68635940527778}, 'height': 2240, 'iso': 50, 'orientation': 0, 'width': 3968, 'size': 4342955, 'camera': 'HUAWEI: EVA-L09'}", + "{'time': 1560083621, 'exposure_program': 'Program Normal', 'exposure_time': 0.007633587786259542, 'flash': 'Off', 'aperture': 2.2, 'focal_length': 3.463, 'gps': {'lon': 11.574697, 'lat': 52.993599}, 'height': 3120, 'iso': 100, 'orientation': 6, 'width': 4160, 'size': 4524705, 'camera': 'motorola: motorola one'}", "" ], - "asctime": "2020-02-01 20:09:30,268", - "created": 1580584170.2684343, + "asctime": "2020-02-02 23:50:05,723", + "created": 1580683805.7235267, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4719,17 +5240,17 @@ "levelname": "INFO", "levelno": 20, "lineno": 142, - "message": "Media data for image_exif_gps.jpg is correct (Content {'time': 1518783213, 'exposure_program': 'Program Normal', 'exposure_time': 0.000535, 'flash': 'Auto Off', 'aperture': 2.2, 'focal_length': 4.5, 'gps': {'lon': 12.140646934444444, 'lat': 53.68635940527778}, 'height': 2240, 'iso': 50, 'orientation': 0, 'width': 3968, 'size': 4342955, 'camera': 'HUAWEI: EVA-L09'} and Type is ).", + "message": "Media data for image_exif_gps.jpg is correct (Content {'time': 1560083621, 'exposure_program': 'Program Normal', 'exposure_time': 0.007633587786259542, 'flash': 'Off', 'aperture': 2.2, 'focal_length': 3.463, 'gps': {'lon': 11.574697, 'lat': 52.993599}, 'height': 3120, 'iso': 100, 'orientation': 6, 'width': 4160, 'size': 4524705, 'camera': 'motorola: motorola one'} and Type is ).", "module": "test", "moduleLogger": [ { "args": [ "Media data for image_exif_gps.jpg", - "{ 'time': 1518783213, 'exposure_program': 'Program Normal', 'exposure_time': 0.000535, 'flash': 'Auto Off', 'aperture': 2.2, 'focal_length': 4.5, 'gps': { 'lon': 12.140646934444444, 'lat': 53.68635940527778 }, 'height': 2240, 'iso': 50, 'orientation': 0, 'width': 3968, 'size': 4342955, 'camera': 'HUAWEI: EVA-L09' }", + "{ 'time': 1560083621, 'exposure_program': 'Program Normal', 'exposure_time': 0.007633587786259542, 'flash': 'Off', 'aperture': 2.2, 'focal_length': 3.463, 'gps': { 'lon': 11.574697, 'lat': 52.993599 }, 'height': 3120, 'iso': 100, 'orientation': 6, 'width': 4160, 'size': 4524705, 'camera': 'motorola: motorola one' }", "" ], - "asctime": "2020-02-01 20:09:30,268", - "created": 1580584170.2682295, + "asctime": "2020-02-02 23:50:05,721", + "created": 1580683805.7211523, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4737,27 +5258,27 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 22, - "message": "Result (Media data for image_exif_gps.jpg): { 'time': 1518783213, 'exposure_program': 'Program Normal', 'exposure_time': 0.000535, 'flash': 'Auto Off', 'aperture': 2.2, 'focal_length': 4.5, 'gps': { 'lon': 12.140646934444444, 'lat': 53.68635940527778 }, 'height': 2240, 'iso': 50, 'orientation': 0, 'width': 3968, 'size': 4342955, 'camera': 'HUAWEI: EVA-L09' } ()", + "message": "Result (Media data for image_exif_gps.jpg): { 'time': 1560083621, 'exposure_program': 'Program Normal', 'exposure_time': 0.007633587786259542, 'flash': 'Off', 'aperture': 2.2, 'focal_length': 3.463, 'gps': { 'lon': 11.574697, 'lat': 52.993599 }, 'height': 3120, 'iso': 100, 'orientation': 6, 'width': 4160, 'size': 4524705, 'camera': 'motorola: motorola one' } ()", "module": "test", - "msecs": 268.22948455810547, + "msecs": 721.1523056030273, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 256.09302520751953, + "relativeCreated": 906.947135925293, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { "args": [ "Media data for image_exif_gps.jpg", - "{ 'time': 1518783213, 'exposure_program': 'Program Normal', 'exposure_time': 0.000535, 'flash': 'Auto Off', 'aperture': 2.2, 'focal_length': 4.5, 'gps': { 'lon': 12.140646934444444, 'lat': 53.68635940527778 }, 'height': 2240, 'iso': 50, 'orientation': 0, 'width': 3968, 'camera': 'HUAWEI: EVA-L09', 'size': 4342955 }", + "{ 'time': 1560083621, 'exposure_program': 'Program Normal', 'exposure_time': 0.007633587786259542, 'flash': 'Off', 'aperture': 2.2, 'focal_length': 3.463, 'gps': { 'lon': 11.574697, 'lat': 52.993599 }, 'height': 3120, 'iso': 100, 'orientation': 6, 'width': 4160, 'camera': 'motorola: motorola one', 'size': 4524705 }", "" ], - "asctime": "2020-02-01 20:09:30,268", - "created": 1580584170.2683337, + "asctime": "2020-02-02 23:50:05,721", + "created": 1580683805.7218335, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4765,39 +5286,39 @@ "levelname": "DEBUG", "levelno": 10, "lineno": 26, - "message": "Expectation (Media data for image_exif_gps.jpg): result = { 'time': 1518783213, 'exposure_program': 'Program Normal', 'exposure_time': 0.000535, 'flash': 'Auto Off', 'aperture': 2.2, 'focal_length': 4.5, 'gps': { 'lon': 12.140646934444444, 'lat': 53.68635940527778 }, 'height': 2240, 'iso': 50, 'orientation': 0, 'width': 3968, 'camera': 'HUAWEI: EVA-L09', 'size': 4342955 } ()", + "message": "Expectation (Media data for image_exif_gps.jpg): result = { 'time': 1560083621, 'exposure_program': 'Program Normal', 'exposure_time': 0.007633587786259542, 'flash': 'Off', 'aperture': 2.2, 'focal_length': 3.463, 'gps': { 'lon': 11.574697, 'lat': 52.993599 }, 'height': 3120, 'iso': 100, 'orientation': 6, 'width': 4160, 'camera': 'motorola: motorola one', 'size': 4524705 } ()", "module": "test", - "msecs": 268.33367347717285, + "msecs": 721.8334674835205, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 256.1972141265869, + "relativeCreated": 907.6282978057861, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 268.4342861175537, + "msecs": 723.5267162322998, "msg": "Media data for image_exif_gps.jpg is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 256.2978267669678, + "relativeCreated": 909.3215465545654, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 0.00010061264038085938 + "time_consumption": 0.0016932487487792969 }, { "args": [ "{'time': 1515143529, 'exposure_program': 'Program Normal', 'exposure_time': 0.03, 'flash': 'Fired', 'aperture': 2.2, 'focal_length': 4.5, 'height': 3968, 'iso': 160, 'orientation': 0, 'width': 2976, 'size': 2837285, 'camera': 'HUAWEI: EVA-L09'}", "" ], - "asctime": "2020-02-01 20:09:30,272", - "created": 1580584170.2721064, + "asctime": "2020-02-02 23:50:05,732", + "created": 1580683805.7321568, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4814,8 +5335,8 @@ "{ 'time': 1515143529, 'exposure_program': 'Program Normal', 'exposure_time': 0.03, 'flash': 'Fired', 'aperture': 2.2, 'focal_length': 4.5, 'height': 3968, 'iso': 160, 'orientation': 0, 'width': 2976, 'size': 2837285, 'camera': 'HUAWEI: EVA-L09' }", "" ], - "asctime": "2020-02-01 20:09:30,271", - "created": 1580584170.2719312, + "asctime": "2020-02-02 23:50:05,731", + "created": 1580683805.7319396, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4825,15 +5346,15 @@ "lineno": 22, "message": "Result (Media data for image_exif_no_gps.jpg): { 'time': 1515143529, 'exposure_program': 'Program Normal', 'exposure_time': 0.03, 'flash': 'Fired', 'aperture': 2.2, 'focal_length': 4.5, 'height': 3968, 'iso': 160, 'orientation': 0, 'width': 2976, 'size': 2837285, 'camera': 'HUAWEI: EVA-L09' } ()", "module": "test", - "msecs": 271.9311714172363, + "msecs": 731.9395542144775, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 259.7947120666504, + "relativeCreated": 917.7343845367432, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4842,8 +5363,8 @@ "{ 'time': 1515143529, 'exposure_program': 'Program Normal', 'exposure_time': 0.03, 'flash': 'Fired', 'aperture': 2.2, 'focal_length': 4.5, 'height': 3968, 'iso': 160, 'orientation': 0, 'width': 2976, 'camera': 'HUAWEI: EVA-L09', 'size': 2837285 }", "" ], - "asctime": "2020-02-01 20:09:30,272", - "created": 1580584170.272007, + "asctime": "2020-02-02 23:50:05,732", + "created": 1580683805.7320545, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4853,37 +5374,37 @@ "lineno": 26, "message": "Expectation (Media data for image_exif_no_gps.jpg): result = { 'time': 1515143529, 'exposure_program': 'Program Normal', 'exposure_time': 0.03, 'flash': 'Fired', 'aperture': 2.2, 'focal_length': 4.5, 'height': 3968, 'iso': 160, 'orientation': 0, 'width': 2976, 'camera': 'HUAWEI: EVA-L09', 'size': 2837285 } ()", "module": "test", - "msecs": 272.0069885253906, + "msecs": 732.0544719696045, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 259.8705291748047, + "relativeCreated": 917.8493022918701, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 272.106409072876, + "msecs": 732.1567535400391, "msg": "Media data for image_exif_no_gps.jpg is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 259.96994972229004, + "relativeCreated": 917.9515838623047, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 9.942054748535156e-05 + "time_consumption": 0.00010228157043457031 }, { "args": [ "{'size': 1139092, 'time': 1449870515, 'tm_is_subst': True}", "" ], - "asctime": "2020-02-01 20:09:30,272", - "created": 1580584170.2725182, + "asctime": "2020-02-02 23:50:05,732", + "created": 1580683805.7327342, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4898,8 +5419,8 @@ "args": [ "/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_non_exif.jpg" ], - "asctime": "2020-02-01 20:09:30,272", - "created": 1580584170.272316, + "asctime": "2020-02-02 23:50:05,732", + "created": 1580683805.7324913, "exc_info": null, "exc_text": null, "filename": "metadata.py", @@ -4909,15 +5430,15 @@ "lineno": 112, "message": "/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_non_exif.jpg does not have any exif information", "module": "metadata", - "msecs": 272.31597900390625, + "msecs": 732.4912548065186, "msg": "%s does not have any exif information", "name": "MEDIA", "pathname": "src/media/metadata.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 260.1795196533203, + "relativeCreated": 918.2860851287842, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4926,8 +5447,8 @@ "{ 'size': 1139092, 'time': 1449870515, 'tm_is_subst': True }", "" ], - "asctime": "2020-02-01 20:09:30,272", - "created": 1580584170.272417, + "asctime": "2020-02-02 23:50:05,732", + "created": 1580683805.732614, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4937,15 +5458,15 @@ "lineno": 22, "message": "Result (Media data for image_non_exif.jpg): { 'size': 1139092, 'time': 1449870515, 'tm_is_subst': True } ()", "module": "test", - "msecs": 272.4170684814453, + "msecs": 732.6140403747559, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 260.2806091308594, + "relativeCreated": 918.4088706970215, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -4954,8 +5475,8 @@ "{ 'time': 1449870515, 'tm_is_subst': True, 'size': 1139092 }", "" ], - "asctime": "2020-02-01 20:09:30,272", - "created": 1580584170.272466, + "asctime": "2020-02-02 23:50:05,732", + "created": 1580683805.7326717, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -4965,37 +5486,37 @@ "lineno": 26, "message": "Expectation (Media data for image_non_exif.jpg): result = { 'time': 1449870515, 'tm_is_subst': True, 'size': 1139092 } ()", "module": "test", - "msecs": 272.46594429016113, + "msecs": 732.6717376708984, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 260.3294849395752, + "relativeCreated": 918.4665679931641, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 272.5181579589844, + "msecs": 732.734203338623, "msg": "Media data for image_non_exif.jpg is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 260.38169860839844, + "relativeCreated": 918.5290336608887, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 5.221366882324219e-05 + "time_consumption": 6.246566772460938e-05 }, { "args": [ "{'time': 1226149915, 'exposure_program': 'Program Normal', 'exposure_time': 0.008, 'flash': 'Fill Fired', 'aperture': 7.1, 'focal_length': 170.0, 'height': 2592, 'iso': 400, 'orientation': 1, 'width': 3888, 'size': 1301272, 'camera': 'Canon: Canon EOS 40D'}", "" ], - "asctime": "2020-02-01 20:09:30,277", - "created": 1580584170.2774484, + "asctime": "2020-02-02 23:50:05,760", + "created": 1580683805.7606864, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5010,26 +5531,26 @@ "args": [ "{0: b'\\x02\\x02\\x00\\x00'}" ], - "asctime": "2020-02-01 20:09:30,277", - "created": 1580584170.2771828, + "asctime": "2020-02-02 23:50:05,759", + "created": 1580683805.759922, "exc_info": null, "exc_text": null, "filename": "metadata.py", "funcName": "__gps_conv__", "levelname": "WARNING", "levelno": 30, - "lineno": 218, + "lineno": 221, "message": "GPS data extraction failed for {0: b'\\x02\\x02\\x00\\x00'}", "module": "metadata", - "msecs": 277.18281745910645, + "msecs": 759.9220275878906, "msg": "GPS data extraction failed for %s", "name": "MEDIA", "pathname": "src/media/metadata.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 265.0463581085205, + "relativeCreated": 945.7168579101562, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -5038,8 +5559,8 @@ "{ 'time': 1226149915, 'exposure_program': 'Program Normal', 'exposure_time': 0.008, 'flash': 'Fill Fired', 'aperture': 7.1, 'focal_length': 170.0, 'height': 2592, 'iso': 400, 'orientation': 1, 'width': 3888, 'size': 1301272, 'camera': 'Canon: Canon EOS 40D' }", "" ], - "asctime": "2020-02-01 20:09:30,277", - "created": 1580584170.2773113, + "asctime": "2020-02-02 23:50:05,760", + "created": 1580683805.7603164, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5049,15 +5570,15 @@ "lineno": 22, "message": "Result (Media data for image_extraction_failed.jpg): { 'time': 1226149915, 'exposure_program': 'Program Normal', 'exposure_time': 0.008, 'flash': 'Fill Fired', 'aperture': 7.1, 'focal_length': 170.0, 'height': 2592, 'iso': 400, 'orientation': 1, 'width': 3888, 'size': 1301272, 'camera': 'Canon: Canon EOS 40D' } ()", "module": "test", - "msecs": 277.3113250732422, + "msecs": 760.3163719177246, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 265.17486572265625, + "relativeCreated": 946.1112022399902, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -5066,8 +5587,8 @@ "{ 'time': 1226149915, 'exposure_program': 'Program Normal', 'exposure_time': 0.008, 'flash': 'Fill Fired', 'aperture': 7.1, 'focal_length': 170.0, 'height': 2592, 'iso': 400, 'orientation': 1, 'width': 3888, 'camera': 'Canon: Canon EOS 40D', 'size': 1301272 }", "" ], - "asctime": "2020-02-01 20:09:30,277", - "created": 1580584170.277376, + "asctime": "2020-02-02 23:50:05,760", + "created": 1580683805.7604785, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5077,37 +5598,37 @@ "lineno": 26, "message": "Expectation (Media data for image_extraction_failed.jpg): result = { 'time': 1226149915, 'exposure_program': 'Program Normal', 'exposure_time': 0.008, 'flash': 'Fill Fired', 'aperture': 7.1, 'focal_length': 170.0, 'height': 2592, 'iso': 400, 'orientation': 1, 'width': 3888, 'camera': 'Canon: Canon EOS 40D', 'size': 1301272 } ()", "module": "test", - "msecs": 277.3759365081787, + "msecs": 760.4784965515137, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 265.2394771575928, + "relativeCreated": 946.2733268737793, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 277.4484157562256, + "msecs": 760.6863975524902, "msg": "Media data for image_extraction_failed.jpg is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 265.31195640563965, + "relativeCreated": 946.4812278747559, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 7.2479248046875e-05 + "time_consumption": 0.0002079010009765625 }, { "args": [ "{'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345}", "" ], - "asctime": "2020-02-01 20:09:30,332", - "created": 1580584170.332206, + "asctime": "2020-02-02 23:50:05,990", + "created": 1580683805.9900565, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5124,8 +5645,8 @@ "{ 'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345 }", "" ], - "asctime": "2020-02-01 20:09:30,331", - "created": 1580584170.331899, + "asctime": "2020-02-02 23:50:05,987", + "created": 1580683805.9874105, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5135,15 +5656,15 @@ "lineno": 22, "message": "Result (Media data for video.3gp): { 'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345 } ()", "module": "test", - "msecs": 331.89892768859863, + "msecs": 987.4105453491211, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 319.7624683380127, + "relativeCreated": 1173.2053756713867, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -5152,8 +5673,8 @@ "{ 'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345 }", "" ], - "asctime": "2020-02-01 20:09:30,332", - "created": 1580584170.3320694, + "asctime": "2020-02-02 23:50:05,989", + "created": 1580683805.9893086, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5163,37 +5684,37 @@ "lineno": 26, "message": "Expectation (Media data for video.3gp): result = { 'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345 } ()", "module": "test", - "msecs": 332.06939697265625, + "msecs": 989.3085956573486, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 319.9329376220703, + "relativeCreated": 1175.1034259796143, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 332.20601081848145, + "msecs": 990.0565147399902, "msg": "Media data for video.3gp is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 320.0695514678955, + "relativeCreated": 1175.8513450622559, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 0.0001366138458251953 + "time_consumption": 0.0007479190826416016 }, { "args": [ "{'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508}", "" ], - "asctime": "2020-02-01 20:09:30,470", - "created": 1580584170.4703205, + "asctime": "2020-02-02 23:50:06,314", + "created": 1580683806.3145313, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5210,8 +5731,8 @@ "{ 'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508 }", "" ], - "asctime": "2020-02-01 20:09:30,470", - "created": 1580584170.4700418, + "asctime": "2020-02-02 23:50:06,314", + "created": 1580683806.3142028, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5221,15 +5742,15 @@ "lineno": 22, "message": "Result (Media data for video.mp4): { 'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508 } ()", "module": "test", - "msecs": 470.04175186157227, + "msecs": 314.20278549194336, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 457.9052925109863, + "relativeCreated": 1499.997615814209, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -5238,8 +5759,8 @@ "{ 'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508 }", "" ], - "asctime": "2020-02-01 20:09:30,470", - "created": 1580584170.4702196, + "asctime": "2020-02-02 23:50:06,314", + "created": 1580683806.3144188, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5249,37 +5770,37 @@ "lineno": 26, "message": "Expectation (Media data for video.mp4): result = { 'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508 } ()", "module": "test", - "msecs": 470.21961212158203, + "msecs": 314.4187927246094, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 458.0831527709961, + "relativeCreated": 1500.213623046875, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 470.320463180542, + "msecs": 314.5313262939453, "msg": "Media data for video.mp4 is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 458.18400382995605, + "relativeCreated": 1500.326156616211, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 0.00010085105895996094 + "time_consumption": 0.0001125335693359375 }, { "args": [ "{'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622}", "" ], - "asctime": "2020-02-01 20:09:30,527", - "created": 1580584170.527415, + "asctime": "2020-02-02 23:50:06,452", + "created": 1580683806.4528615, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5296,8 +5817,8 @@ "duration", "duration" ], - "asctime": "2020-02-01 20:09:30,526", - "created": 1580584170.5266123, + "asctime": "2020-02-02 23:50:06,449", + "created": 1580683806.4494648, "exc_info": null, "exc_text": null, "filename": "metadata.py", @@ -5307,15 +5828,15 @@ "lineno": 102, "message": "Can't convert 'N/A' (duration) for duration", "module": "metadata", - "msecs": 526.6122817993164, + "msecs": 449.4647979736328, "msg": "Can't convert %s (%s) for %s", "name": "MEDIA", "pathname": "src/media/metadata.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 514.4758224487305, + "relativeCreated": 1635.2596282958984, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -5324,8 +5845,8 @@ "{ 'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622 }", "" ], - "asctime": "2020-02-01 20:09:30,527", - "created": 1580584170.5271964, + "asctime": "2020-02-02 23:50:06,452", + "created": 1580683806.4520469, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5335,15 +5856,15 @@ "lineno": 22, "message": "Result (Media data for video_special_time.avi): { 'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622 } ()", "module": "test", - "msecs": 527.1964073181152, + "msecs": 452.04687118530273, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 515.0599479675293, + "relativeCreated": 1637.8417015075684, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -5352,8 +5873,8 @@ "{ 'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622 }", "" ], - "asctime": "2020-02-01 20:09:30,527", - "created": 1580584170.5273075, + "asctime": "2020-02-02 23:50:06,452", + "created": 1580683806.4524822, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5363,37 +5884,37 @@ "lineno": 26, "message": "Expectation (Media data for video_special_time.avi): result = { 'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622 } ()", "module": "test", - "msecs": 527.3075103759766, + "msecs": 452.4822235107422, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 515.1710510253906, + "relativeCreated": 1638.2770538330078, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 527.4150371551514, + "msecs": 452.8615474700928, "msg": "Media data for video_special_time.avi is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 515.2785778045654, + "relativeCreated": 1638.6563777923584, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 0.00010752677917480469 + "time_consumption": 0.00037932395935058594 }, { "args": [ "{'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'size': 2965248, 'time': 1158528375, 'tm_is_subst': True}", "" ], - "asctime": "2020-02-01 20:09:30,583", - "created": 1580584170.5833867, + "asctime": "2020-02-02 23:50:06,653", + "created": 1580683806.653847, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5410,8 +5931,8 @@ "{ 'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'size': 2965248, 'time': 1158528375, 'tm_is_subst': True }", "" ], - "asctime": "2020-02-01 20:09:30,583", - "created": 1580584170.5830886, + "asctime": "2020-02-02 23:50:06,652", + "created": 1580683806.6528943, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5421,15 +5942,15 @@ "lineno": 22, "message": "Result (Media data for video_no_date.avi): { 'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'size': 2965248, 'time': 1158528375, 'tm_is_subst': True } ()", "module": "test", - "msecs": 583.0886363983154, + "msecs": 652.8942584991455, "msg": "Result (%s): %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 570.9521770477295, + "relativeCreated": 1838.6890888214111, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" }, { @@ -5438,8 +5959,8 @@ "{ 'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'time': 1158528375, 'tm_is_subst': True, 'size': 2965248 }", "" ], - "asctime": "2020-02-01 20:09:30,583", - "created": 1580584170.5832844, + "asctime": "2020-02-02 23:50:06,653", + "created": 1580683806.6531754, "exc_info": null, "exc_text": null, "filename": "test.py", @@ -5449,51 +5970,584 @@ "lineno": 26, "message": "Expectation (Media data for video_no_date.avi): result = { 'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'time': 1158528375, 'tm_is_subst': True, 'size': 2965248 } ()", "module": "test", - "msecs": 583.2843780517578, + "msecs": 653.1753540039062, "msg": "Expectation (%s): result = %s (%s)", "name": "__unittest__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 571.1479187011719, + "relativeCreated": 1838.9701843261719, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread" } ], - "msecs": 583.3866596221924, + "msecs": 653.8469791412354, "msg": "Media data for video_no_date.avi is correct (Content %s and Type is %s).", "name": "__tLogger__", "pathname": "src/unittest/test.py", - "process": 16493, + "process": 17240, "processName": "MainProcess", - "relativeCreated": 571.2502002716064, + "relativeCreated": 1839.641809463501, "stack_info": null, - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 0.00010228157043457031 + "time_consumption": 0.0006716251373291016 } ], - "thread": 140094293296960, + "thread": 140664664082240, "threadName": "MainThread", - "time_consumption": 0.5102407932281494, - "time_finished": "2020-02-01 20:09:30,583", - "time_start": "2020-02-01 20:09:30,073" + "time_consumption": 1.6717617511749268, + "time_finished": "2020-02-02 23:50:06,653", + "time_start": "2020-02-02 23:50:04,982" + }, + "_wvLDcEYCEequ74M7usLaPw": { + "args": null, + "asctime": "2020-02-02 23:50:08,703", + "created": 1580683808.7039905, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testrun", + "levelname": "INFO", + "levelno": 20, + "lineno": 33, + "message": "_wvLDcEYCEequ74M7usLaPw", + "module": "__init__", + "moduleLogger": [], + "msecs": 703.9904594421387, + "msg": "_wvLDcEYCEequ74M7usLaPw", + "name": "__tLogger__", + "pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 3889.7852897644043, + "stack_info": null, + "testcaseLogger": [ + { + "args": [ + "True", + "" + ], + "asctime": "2020-02-02 23:50:09,297", + "created": 1580683809.2972016, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Filecompare for image_data.jpg is correct (Content True and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:09,071", + "created": 1580683809.0715866, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'", + "module": "__init__", + "msecs": 71.58660888671875, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4257.381439208984, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for image_data.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:09,294", + "created": 1580683809.294965, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Filecompare for image_data.jpg): True ()", + "module": "test", + "msecs": 294.9650287628174, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4480.759859085083, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Filecompare for image_data.jpg", + "True", + "" + ], + "asctime": "2020-02-02 23:50:09,296", + "created": 1580683809.2962077, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Filecompare for image_data.jpg): result = True ()", + "module": "test", + "msecs": 296.2076663970947, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4482.00249671936, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 297.20163345336914, + "msg": "Filecompare for image_data.jpg is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4482.996463775635, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.000993967056274414 + } + ], + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.5932111740112305, + "time_finished": "2020-02-02 23:50:09,297", + "time_start": "2020-02-02 23:50:08,703" + }, + "_zQ29EEYCEequ74M7usLaPw": { + "args": null, + "asctime": "2020-02-02 23:50:09,317", + "created": 1580683809.317348, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "testrun", + "levelname": "INFO", + "levelno": 20, + "lineno": 34, + "message": "_zQ29EEYCEequ74M7usLaPw", + "module": "__init__", + "moduleLogger": [], + "msecs": 317.3480033874512, + "msg": "_zQ29EEYCEequ74M7usLaPw", + "name": "__tLogger__", + "pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4503.142833709717, + "stack_info": null, + "testcaseLogger": [ + { + "args": [ + "True", + "" + ], + "asctime": "2020-02-02 23:50:09,699", + "created": 1580683809.6991708, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Returnvalue of successful resize method is correct (Content True and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'" + ], + "asctime": "2020-02-02 23:50:09,693", + "created": 1580683809.6936214, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "load_from_file", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 116, + "message": "loading image from '/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'", + "module": "__init__", + "msecs": 693.6213970184326, + "msg": "loading image from %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4879.416227340698, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + 300 + ], + "asctime": "2020-02-02 23:50:09,693", + "created": 1580683809.6937737, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "resize", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 141, + "message": "Resizing picture to max 300 pixel in whatever direction", + "module": "__init__", + "msecs": 693.7737464904785, + "msg": "Resizing picture to max %d pixel in whatever direction", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4879.568576812744, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of successful resize method", + "True", + "" + ], + "asctime": "2020-02-02 23:50:09,698", + "created": 1580683809.6989982, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Returnvalue of successful resize method): True ()", + "module": "test", + "msecs": 698.998212814331, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4884.793043136597, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of successful resize method", + "True", + "" + ], + "asctime": "2020-02-02 23:50:09,699", + "created": 1580683809.6991134, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Returnvalue of successful resize method): result = True ()", + "module": "test", + "msecs": 699.1133689880371, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4884.908199310303, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 699.1708278656006, + "msg": "Returnvalue of successful resize method is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4884.965658187866, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 5.745887756347656e-05 + }, + { + "args": [ + "300", + "" + ], + "asctime": "2020-02-02 23:50:09,700", + "created": 1580683809.7006752, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Resulution of resized image is correct (Content 300 and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [ + "'/user_data/data/dirk/prj/unittest/media/unittest/output_data/resized_image.jpg'" + ], + "asctime": "2020-02-02 23:50:09,699", + "created": 1580683809.6992557, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "save", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 124, + "message": "Saving image to '/user_data/data/dirk/prj/unittest/media/unittest/output_data/resized_image.jpg'", + "module": "__init__", + "msecs": 699.2557048797607, + "msg": "Saving image to %s", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4885.050535202026, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Resulution of resized image", + "300", + "" + ], + "asctime": "2020-02-02 23:50:09,700", + "created": 1580683809.700556, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Resulution of resized image): 300 ()", + "module": "test", + "msecs": 700.5560398101807, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4886.350870132446, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Resulution of resized image", + "300", + "" + ], + "asctime": "2020-02-02 23:50:09,700", + "created": 1580683809.7006233, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Resulution of resized image): result = 300 ()", + "module": "test", + "msecs": 700.6232738494873, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4886.418104171753, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 700.6752490997314, + "msg": "Resulution of resized image is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4886.470079421997, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 5.1975250244140625e-05 + }, + { + "args": [ + "False", + "" + ], + "asctime": "2020-02-02 23:50:09,700", + "created": 1580683809.7009046, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "equivalency_chk", + "levelname": "INFO", + "levelno": 20, + "lineno": 142, + "message": "Returnvalue of failed resize method is correct (Content False and Type is ).", + "module": "test", + "moduleLogger": [ + { + "args": [], + "asctime": "2020-02-02 23:50:09,700", + "created": 1580683809.700761, + "exc_info": null, + "exc_text": null, + "filename": "__init__.py", + "funcName": "resize", + "levelname": "WARNING", + "levelno": 30, + "lineno": 138, + "message": "No image available to be resized", + "module": "__init__", + "msecs": 700.761079788208, + "msg": "No image available to be resized", + "name": "MEDIA", + "pathname": "src/media/__init__.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4886.555910110474, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of failed resize method", + "False", + "" + ], + "asctime": "2020-02-02 23:50:09,700", + "created": 1580683809.7008097, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_result__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 22, + "message": "Result (Returnvalue of failed resize method): False ()", + "module": "test", + "msecs": 700.8097171783447, + "msg": "Result (%s): %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4886.60454750061, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + }, + { + "args": [ + "Returnvalue of failed resize method", + "False", + "" + ], + "asctime": "2020-02-02 23:50:09,700", + "created": 1580683809.7008617, + "exc_info": null, + "exc_text": null, + "filename": "test.py", + "funcName": "__report_expectation_equivalency__", + "levelname": "DEBUG", + "levelno": 10, + "lineno": 26, + "message": "Expectation (Returnvalue of failed resize method): result = False ()", + "module": "test", + "msecs": 700.8616924285889, + "msg": "Expectation (%s): result = %s (%s)", + "name": "__unittest__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4886.6565227508545, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread" + } + ], + "msecs": 700.9046077728271, + "msg": "Returnvalue of failed resize method is correct (Content %s and Type is %s).", + "name": "__tLogger__", + "pathname": "src/unittest/test.py", + "process": 17240, + "processName": "MainProcess", + "relativeCreated": 4886.699438095093, + "stack_info": null, + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 4.291534423828125e-05 + } + ], + "thread": 140664664082240, + "threadName": "MainThread", + "time_consumption": 0.383556604385376, + "time_finished": "2020-02-02 23:50:09,700", + "time_start": "2020-02-02 23:50:09,317" } }, "testrun_id": "p3", - "time_consumption": 4.128098249435425, + "time_consumption": 14.264936923980713, "uid_list_sorted": [ "_XzMFcHYZEem_kd-7nxt1sg", - "Initialisation", - "Save", - "Resize", - "Rotate", - "Join" + "_Fv7V4EYCEequ74M7usLaPw", + "_HGpRMEYCEequ74M7usLaPw", + "_wvLDcEYCEequ74M7usLaPw", + "_zQ29EEYCEequ74M7usLaPw", + "_AdR7EEYDEequ74M7usLaPw", + "_CBaAQEYDEequ74M7usLaPw" ] } ], "unittest_information": { - "Version": "1bd602a73ceaead82d56c196c3e6a973" + "Version": "19140f198948fc7dd014a1ac1cd02dcf" } } \ No newline at end of file diff --git a/_testresults_/unittest.pdf b/_testresults_/unittest.pdf index 89ce2ff..05f5e8b 100644 Binary files a/_testresults_/unittest.pdf and b/_testresults_/unittest.pdf differ diff --git a/convert.py b/convert.py index b64183a..59b0e80 100644 --- a/convert.py +++ b/convert.py @@ -14,7 +14,7 @@ def get_pil_image(media_instance): if type(media_instance) == str: ft = common.get_filetype(media_instance) if ft == common.FILETYPE_IMAGE: - return Image.open(media_instance).copy() + return Image.open(media_instance) elif ft == common.FILETYPE_VIDEO: if platform.system() == 'Linux': cmd = 'ffmpeg -ss 0.5 -i "' + media_instance + '" -vframes 1 -f image2pipe pipe:1 2> /dev/null' diff --git a/metadata.py b/metadata.py index 5f10115..0cfaf62 100644 --- a/metadata.py +++ b/metadata.py @@ -193,7 +193,10 @@ def __int_conv__(value): p = value.find(c) if p >= 0: value = value[:p] - return int(value) + try: + return int(value) + except ValueError: + return None def __num_denum_conv__(data):