6558 Zeilen
372 KiB
JSON
6558 Zeilen
372 KiB
JSON
{
|
|
"coverage_information": [
|
|
{
|
|
"branch_coverage": 95.65,
|
|
"filepath": "/user_data/data/dirk/prj/unittest/media/pylibs/media",
|
|
"files": [
|
|
{
|
|
"branch_coverage": 95.65,
|
|
"filepath": "/user_data/data/dirk/prj/unittest/media/pylibs/media/__init__.py",
|
|
"fragments": [
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 3,
|
|
"start": 1
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 4,
|
|
"start": 4
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 24,
|
|
"start": 5
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 25,
|
|
"start": 25
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 26,
|
|
"start": 26
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 29,
|
|
"start": 27
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 30,
|
|
"start": 30
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 32,
|
|
"start": 31
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 34,
|
|
"start": 33
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 35,
|
|
"start": 35
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 37,
|
|
"start": 36
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 38,
|
|
"start": 38
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 41,
|
|
"start": 39
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 64,
|
|
"start": 42
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 66,
|
|
"start": 65
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 69,
|
|
"start": 67
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 70,
|
|
"start": 70
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 71,
|
|
"start": 71
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 72,
|
|
"start": 72
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 78,
|
|
"start": 73
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 79,
|
|
"start": 79
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 80,
|
|
"start": 80
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 82,
|
|
"start": 81
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 88,
|
|
"start": 83
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 89,
|
|
"start": 89
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 94,
|
|
"start": 90
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 96,
|
|
"start": 95
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 100,
|
|
"start": 97
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 101,
|
|
"start": 101
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 102,
|
|
"start": 102
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 103,
|
|
"start": 103
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 105,
|
|
"start": 104
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 106,
|
|
"start": 106
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 117,
|
|
"start": 107
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 118,
|
|
"start": 118
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 122,
|
|
"start": 119
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 123,
|
|
"start": 123
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 128,
|
|
"start": 124
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 129,
|
|
"start": 129
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 134,
|
|
"start": 130
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 135,
|
|
"start": 135
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 139,
|
|
"start": 136
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 140,
|
|
"start": 140
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 145,
|
|
"start": 141
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 146,
|
|
"start": 146
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 150,
|
|
"start": 147
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 151,
|
|
"start": 151
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 158,
|
|
"start": 152
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 159,
|
|
"start": 159
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 165,
|
|
"start": 160
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 166,
|
|
"start": 166
|
|
},
|
|
{
|
|
"coverage_state": "partially-covered",
|
|
"end": 167,
|
|
"start": 167
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 172,
|
|
"start": 168
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 173,
|
|
"start": 173
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 175,
|
|
"start": 174
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 176,
|
|
"start": 176
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 177,
|
|
"start": 177
|
|
},
|
|
{
|
|
"coverage_state": "partially-covered",
|
|
"end": 178,
|
|
"start": 178
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 179,
|
|
"start": 179
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 180,
|
|
"start": 180
|
|
},
|
|
{
|
|
"coverage_state": "uncovered",
|
|
"end": 181,
|
|
"start": 181
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 182,
|
|
"start": 182
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 185,
|
|
"start": 183
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 187,
|
|
"start": 186
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 191,
|
|
"start": 188
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 192,
|
|
"start": 192
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 193,
|
|
"start": 193
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 194,
|
|
"start": 194
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 197,
|
|
"start": 195
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 198,
|
|
"start": 198
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 199,
|
|
"start": 199
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 201,
|
|
"start": 200
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 202,
|
|
"start": 202
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 203,
|
|
"start": 203
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 213,
|
|
"start": 204
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 214,
|
|
"start": 214
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 216,
|
|
"start": 215
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 217,
|
|
"start": 217
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 219,
|
|
"start": 218
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 220,
|
|
"start": 220
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 221,
|
|
"start": 221
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": null,
|
|
"start": 222
|
|
}
|
|
],
|
|
"line_coverage": 99.33999999999999,
|
|
"name": "media.__init__.py"
|
|
},
|
|
{
|
|
"branch_coverage": 95.65,
|
|
"filepath": "/user_data/data/dirk/prj/unittest/media/pylibs/media/common.py",
|
|
"fragments": [
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 1,
|
|
"start": 1
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 2,
|
|
"start": 2
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 5,
|
|
"start": 3
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 6,
|
|
"start": 6
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 9,
|
|
"start": 7
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 11,
|
|
"start": 10
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 19,
|
|
"start": 12
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": null,
|
|
"start": 20
|
|
}
|
|
],
|
|
"line_coverage": 100.0,
|
|
"name": "media.common.py"
|
|
},
|
|
{
|
|
"branch_coverage": 95.65,
|
|
"filepath": "/user_data/data/dirk/prj/unittest/media/pylibs/media/convert.py",
|
|
"fragments": [
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 5,
|
|
"start": 1
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 7,
|
|
"start": 6
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 12,
|
|
"start": 8
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 13,
|
|
"start": 13
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 18,
|
|
"start": 14
|
|
},
|
|
{
|
|
"coverage_state": "partially-covered",
|
|
"end": 19,
|
|
"start": 19
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 20,
|
|
"start": 20
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 21,
|
|
"start": 21
|
|
},
|
|
{
|
|
"coverage_state": "uncovered",
|
|
"end": 22,
|
|
"start": 22
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 24,
|
|
"start": 23
|
|
},
|
|
{
|
|
"coverage_state": "uncovered",
|
|
"end": 27,
|
|
"start": 25
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 33,
|
|
"start": 28
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 34,
|
|
"start": 34
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 35,
|
|
"start": 35
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": null,
|
|
"start": 36
|
|
}
|
|
],
|
|
"line_coverage": 86.67,
|
|
"name": "media.convert.py"
|
|
},
|
|
{
|
|
"branch_coverage": 95.65,
|
|
"filepath": "/user_data/data/dirk/prj/unittest/media/pylibs/media/metadata.py",
|
|
"fragments": [
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 6,
|
|
"start": 1
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 8,
|
|
"start": 7
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 9,
|
|
"start": 9
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 11,
|
|
"start": 10
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 13,
|
|
"start": 12
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 15,
|
|
"start": 14
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 32,
|
|
"start": 16
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 34,
|
|
"start": 33
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 44,
|
|
"start": 35
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 46,
|
|
"start": 45
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 48,
|
|
"start": 47
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 50,
|
|
"start": 49
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 52,
|
|
"start": 51
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 53,
|
|
"start": 53
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 57,
|
|
"start": 54
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 58,
|
|
"start": 58
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 61,
|
|
"start": 59
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 62,
|
|
"start": 62
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 64,
|
|
"start": 63
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 65,
|
|
"start": 65
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 67,
|
|
"start": 66
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 68,
|
|
"start": 68
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 71,
|
|
"start": 69
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 73,
|
|
"start": 72
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 76,
|
|
"start": 74
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 77,
|
|
"start": 77
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 79,
|
|
"start": 78
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 80,
|
|
"start": 80
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 85,
|
|
"start": 81
|
|
},
|
|
{
|
|
"coverage_state": "uncovered",
|
|
"end": 88,
|
|
"start": 86
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 89,
|
|
"start": 89
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 95,
|
|
"start": 90
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 96,
|
|
"start": 96
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 103,
|
|
"start": 97
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 105,
|
|
"start": 104
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 112,
|
|
"start": 106
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 113,
|
|
"start": 113
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 114,
|
|
"start": 114
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 115,
|
|
"start": 115
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 135,
|
|
"start": 116
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 138,
|
|
"start": 136
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 141,
|
|
"start": 139
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 143,
|
|
"start": 142
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 153,
|
|
"start": 144
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 155,
|
|
"start": 154
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 157,
|
|
"start": 156
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 169,
|
|
"start": 158
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 171,
|
|
"start": 170
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 187,
|
|
"start": 172
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 199,
|
|
"start": 188
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 201,
|
|
"start": 200
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 204,
|
|
"start": 202
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 206,
|
|
"start": 205
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 217,
|
|
"start": 207
|
|
},
|
|
{
|
|
"coverage_state": "partially-covered",
|
|
"end": 218,
|
|
"start": 218
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 221,
|
|
"start": 219
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": 223,
|
|
"start": 222
|
|
},
|
|
{
|
|
"coverage_state": "covered",
|
|
"end": 227,
|
|
"start": 224
|
|
},
|
|
{
|
|
"coverage_state": "clean",
|
|
"end": null,
|
|
"start": 228
|
|
}
|
|
],
|
|
"line_coverage": 98.11,
|
|
"name": "media.metadata.py"
|
|
}
|
|
],
|
|
"line_coverage": 97.75,
|
|
"name": "media"
|
|
}
|
|
],
|
|
"lost_souls": {
|
|
"item_list": [],
|
|
"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",
|
|
"system_type_uid": "_4-K5EHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_MR7eOHYYEem_kd-7nxt1sg",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_XzMFcHYZEem_kd-7nxt1sg": {
|
|
"Description": "A Method shall return the metadata for a given media filename.",
|
|
"Fitcriterion": "",
|
|
"Heading": "Method to get Metadata",
|
|
"ID": "REQ-1",
|
|
"ReasonForImplementation": "",
|
|
"last_change": "2020-01-30T20:33:27.982+01:00",
|
|
"system_type_uid": "_MR7eNHYYEem_kd-7nxt1sg",
|
|
"system_uid": "_XzMFcHYZEem_kd-7nxt1sg",
|
|
"xml_tag": "{http://www.omg.org/spec/ReqIF/20110401/reqif.xsd}SPEC-OBJECT"
|
|
},
|
|
"_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",
|
|
"_DBCGsEYCEequ74M7usLaPw",
|
|
"_Fv7V4EYCEequ74M7usLaPw",
|
|
"_HGpRMEYCEequ74M7usLaPw",
|
|
"_wvLDcEYCEequ74M7usLaPw",
|
|
"_zQ29EEYCEequ74M7usLaPw",
|
|
"_AdR7EEYDEequ74M7usLaPw",
|
|
"_CBaAQEYDEequ74M7usLaPw"
|
|
]
|
|
},
|
|
"system_information": {
|
|
"Architecture": "64bit",
|
|
"Distribution": "LinuxMint 19.3 tricia",
|
|
"Hostname": "ahorn",
|
|
"Kernel": "5.3.0-28-generic (#30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020)",
|
|
"Machine": "x86_64",
|
|
"Path": "/user_data/data/dirk/prj/unittest/media/unittest",
|
|
"System": "Linux",
|
|
"Username": "dirk"
|
|
},
|
|
"testobject_information": {
|
|
"Dependencies": [],
|
|
"Description": "The Module {\\tt media} is designed to help on all issues with media files, like tags (e.g. exif, id3) and transformations.\nFor more Information read the documentation.",
|
|
"Name": "media",
|
|
"State": "Released",
|
|
"Supported Interpreters": "python3",
|
|
"Version": "2085183bcfe39114bb35db93ee8e49cd"
|
|
},
|
|
"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",
|
|
"_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": 7,
|
|
"number_of_tests": 7,
|
|
"testcase_execution_level": 90,
|
|
"testcase_names": {
|
|
"0": "Single Test",
|
|
"10": "Smoke Test (Minumum subset)",
|
|
"50": "Short Test (Subset)",
|
|
"90": "Full Test (all defined tests)"
|
|
},
|
|
"testcases": {
|
|
"_AdR7EEYDEequ74M7usLaPw": {
|
|
"args": null,
|
|
"asctime": "2020-02-03 11:51:48,925",
|
|
"created": 1580727108.9257958,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 35,
|
|
"message": "_AdR7EEYDEequ74M7usLaPw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 925.7957935333252,
|
|
"msg": "_AdR7EEYDEequ74M7usLaPw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3013.9434337615967,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,926",
|
|
"created": 1580727108.9267018,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of rotate method without loading an image is correct (Content False and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-02-03 11:51:48,926",
|
|
"created": 1580727108.9261687,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "rotate_by_orientation",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 149,
|
|
"message": "No image available, rotation not possible",
|
|
"module": "__init__",
|
|
"msecs": 926.16868019104,
|
|
"msg": "No image available, rotation not possible",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3014.3163204193115,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of rotate method without loading an image",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,926",
|
|
"created": 1580727108.9263706,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of rotate method without loading an image): False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 926.3706207275391,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3014.5182609558105,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of rotate method without loading an image",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,926",
|
|
"created": 1580727108.9265313,
|
|
"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 without loading an image): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 926.5313148498535,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3014.678955078125,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 926.7017841339111,
|
|
"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": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3014.8494243621826,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001704692840576172
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,144",
|
|
"created": 1580727109.144775,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of rotate method with invalid orientation is correct (Content False and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,144",
|
|
"created": 1580727109.1445067,
|
|
"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": 144.50669288635254,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3232.654333114624,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"17"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,144",
|
|
"created": 1580727109.1446345,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "rotate_by_orientation",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 168,
|
|
"message": "Orientation 17 unknown for rotation",
|
|
"module": "__init__",
|
|
"msecs": 144.63448524475098,
|
|
"msg": "Orientation %s unknown for rotation",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3232.7821254730225,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of rotate method with invalid orientation",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,144",
|
|
"created": 1580727109.1446946,
|
|
"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 invalid orientation): False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 144.69456672668457,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3232.842206954956,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of rotate method with invalid orientation",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,144",
|
|
"created": 1580727109.1447349,
|
|
"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 invalid orientation): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 144.73485946655273,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3232.882499694824,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 144.7749137878418,
|
|
"msg": "Returnvalue of rotate method with invalid orientation is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3232.9225540161133,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.00543212890625e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,306",
|
|
"created": 1580727109.3064148,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of rotate method with no orientation in method call and exif is correct (Content False and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_non_exif.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,303",
|
|
"created": 1580727109.3033936,
|
|
"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": 303.3936023712158,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3391.5412425994873,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of rotate method with no orientation in method call and exif",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,306",
|
|
"created": 1580727109.3062556,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 306.255578994751,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3394.4032192230225,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of rotate method with no orientation in method call and exif",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,306",
|
|
"created": 1580727109.3063507,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 306.3507080078125,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3394.498348236084,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 306.4148426055908,
|
|
"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": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3394.5624828338623,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.413459777832031e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,739",
|
|
"created": 1580727109.739056,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"None"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,306",
|
|
"created": 1580727109.3065114,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_image.py",
|
|
"funcName": "rotate_by_orientation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 78,
|
|
"message": "Rotate with orientation None",
|
|
"module": "test_image",
|
|
"msecs": 306.51140213012695,
|
|
"msg": "Rotate with orientation %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_image.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3394.6590423583984,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,538",
|
|
"created": 1580727109.5388722,
|
|
"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": 538.872241973877,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3627.0198822021484,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"6"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,540",
|
|
"created": 1580727109.540231,
|
|
"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": 540.2309894561768,
|
|
"msg": "No orientation given, orientation %s extract from exif data",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3628.3786296844482,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
270
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,540",
|
|
"created": 1580727109.5408878,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "rotate_by_orientation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 170,
|
|
"message": "Rotating picture by 270\u00b0",
|
|
"module": "__init__",
|
|
"msecs": 540.8878326416016,
|
|
"msg": "Rotating picture by %d\u00b0",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3629.035472869873,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_none.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,592",
|
|
"created": 1580727109.592636,
|
|
"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": 592.6361083984375,
|
|
"msg": "Saving image to %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3680.783748626709,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for rotated_image_none.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,738",
|
|
"created": 1580727109.7388542,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 738.854169845581,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3827.0018100738525,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for rotated_image_none.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,738",
|
|
"created": 1580727109.7389755,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 738.9755249023438,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3827.1231651306152,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 739.0561103820801,
|
|
"msg": "Filecompare for rotated_image_none.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3827.2037506103516,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.058547973632812e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,221",
|
|
"created": 1580727110.2210581,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"6"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,739",
|
|
"created": 1580727109.7391727,
|
|
"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": 739.1726970672607,
|
|
"msg": "Rotate with orientation %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_image.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3827.320337295532,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,952",
|
|
"created": 1580727109.9523568,
|
|
"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": 952.3568153381348,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4040.5044555664062,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
270
|
|
],
|
|
"asctime": "2020-02-03 11:51:49,953",
|
|
"created": 1580727109.9539175,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "rotate_by_orientation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 170,
|
|
"message": "Rotating picture by 270\u00b0",
|
|
"module": "__init__",
|
|
"msecs": 953.9175033569336,
|
|
"msg": "Rotating picture by %d\u00b0",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4042.065143585205,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_6.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,011",
|
|
"created": 1580727110.0119002,
|
|
"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_6.jpg'",
|
|
"module": "__init__",
|
|
"msecs": 11.900186538696289,
|
|
"msg": "Saving image to %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4100.047826766968,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for rotated_image_6.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,220",
|
|
"created": 1580727110.220826,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Filecompare for rotated_image_6.jpg): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 220.8259105682373,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4308.973550796509,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for rotated_image_6.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,220",
|
|
"created": 1580727110.2209406,
|
|
"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_6.jpg): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 220.94058990478516,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4309.088230133057,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 221.05813026428223,
|
|
"msg": "Filecompare for rotated_image_6.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4309.205770492554,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00011754035949707031
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,614",
|
|
"created": 1580727110.6143177,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Filecompare for rotated_image_8.jpg is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"8"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,221",
|
|
"created": 1580727110.221166,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_image.py",
|
|
"funcName": "rotate_by_orientation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 78,
|
|
"message": "Rotate with orientation 8",
|
|
"module": "test_image",
|
|
"msecs": 221.16589546203613,
|
|
"msg": "Rotate with orientation %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_image.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4309.313535690308,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,408",
|
|
"created": 1580727110.4082205,
|
|
"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": 408.2205295562744,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4496.368169784546,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
90
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,408",
|
|
"created": 1580727110.4083848,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "rotate_by_orientation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 170,
|
|
"message": "Rotating picture by 90\u00b0",
|
|
"module": "__init__",
|
|
"msecs": 408.3847999572754,
|
|
"msg": "Rotating picture by %d\u00b0",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4496.532440185547,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_8.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,466",
|
|
"created": 1580727110.4664538,
|
|
"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_8.jpg'",
|
|
"module": "__init__",
|
|
"msecs": 466.45379066467285,
|
|
"msg": "Saving image to %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4554.601430892944,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for rotated_image_8.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,612",
|
|
"created": 1580727110.6123397,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Filecompare for rotated_image_8.jpg): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 612.3397350311279,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4700.487375259399,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for rotated_image_8.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,613",
|
|
"created": 1580727110.6134565,
|
|
"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_8.jpg): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 613.4564876556396,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4701.604127883911,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 614.3176555633545,
|
|
"msg": "Filecompare for rotated_image_8.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4702.465295791626,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0008611679077148438
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,048",
|
|
"created": 1580727111.0482926,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Filecompare for rotated_image_3.jpg is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"3"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,615",
|
|
"created": 1580727110.6155386,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test_image.py",
|
|
"funcName": "rotate_by_orientation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 78,
|
|
"message": "Rotate with orientation 3",
|
|
"module": "test_image",
|
|
"msecs": 615.5385971069336,
|
|
"msg": "Rotate with orientation %s",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_image.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4703.686237335205,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,857",
|
|
"created": 1580727110.8571296,
|
|
"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": 857.1295738220215,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4945.277214050293,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
180
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,857",
|
|
"created": 1580727110.857297,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "rotate_by_orientation",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 170,
|
|
"message": "Rotating picture by 180\u00b0",
|
|
"module": "__init__",
|
|
"msecs": 857.2969436645508,
|
|
"msg": "Rotating picture by %d\u00b0",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4945.444583892822,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/rotated_image_3.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:50,892",
|
|
"created": 1580727110.8926523,
|
|
"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_3.jpg'",
|
|
"module": "__init__",
|
|
"msecs": 892.6522731781006,
|
|
"msg": "Saving image to %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 4980.799913406372,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for rotated_image_3.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,048",
|
|
"created": 1580727111.0480573,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Filecompare for rotated_image_3.jpg): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 48.05731773376465,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5136.204957962036,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for rotated_image_3.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,048",
|
|
"created": 1580727111.048231,
|
|
"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_3.jpg): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 48.230886459350586,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5136.378526687622,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 48.29263687133789,
|
|
"msg": "Filecompare for rotated_image_3.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5136.440277099609,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.175041198730469e-05
|
|
}
|
|
],
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 2.1224968433380127,
|
|
"time_finished": "2020-02-03 11:51:51,048",
|
|
"time_start": "2020-02-03 11:51:48,925"
|
|
},
|
|
"_CBaAQEYDEequ74M7usLaPw": {
|
|
"args": null,
|
|
"asctime": "2020-02-03 11:51:51,050",
|
|
"created": 1580727111.0502262,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 36,
|
|
"message": "_CBaAQEYDEequ74M7usLaPw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 50.22621154785156,
|
|
"msg": "_CBaAQEYDEequ74M7usLaPw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5138.373851776123,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,050",
|
|
"created": 1580727111.0504732,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-02-03 11:51:51,050",
|
|
"created": 1580727111.0503435,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "join",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 184,
|
|
"message": "No image available, joining not possible",
|
|
"module": "__init__",
|
|
"msecs": 50.34351348876953,
|
|
"msg": "No image available, joining not possible",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5138.491153717041,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of join method without loading an image",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,050",
|
|
"created": 1580727111.0503967,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 50.39668083190918,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5138.544321060181,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of join method without loading an image",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,050",
|
|
"created": 1580727111.0504355,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 50.435543060302734,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5138.583183288574,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 50.47321319580078,
|
|
"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": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5138.620853424072,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.7670135498046875e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,611",
|
|
"created": 1580727111.611574,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,244",
|
|
"created": 1580727111.2448392,
|
|
"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": 244.83919143676758,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5332.986831665039,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
17
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,610",
|
|
"created": 1580727111.610782,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "join",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 215,
|
|
"message": "Join position value 17 is not supported",
|
|
"module": "__init__",
|
|
"msecs": 610.7819080352783,
|
|
"msg": "Join position value %s is not supported",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5698.92954826355,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of join method with invalid join position",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,611",
|
|
"created": 1580727111.611077,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 611.077070236206,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5699.2247104644775,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of join method with invalid join position",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,611",
|
|
"created": 1580727111.6112633,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 611.2632751464844,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5699.410915374756,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 611.5739345550537,
|
|
"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": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5699.721574783325,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00031065940856933594
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,782",
|
|
"created": 1580727111.7822633,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,774",
|
|
"created": 1580727111.774942,
|
|
"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": 774.9419212341309,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5863.089561462402,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-02-03 11:51:51,781",
|
|
"created": 1580727111.7818284,
|
|
"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: <class 'int'>",
|
|
"module": "convert",
|
|
"msecs": 781.8284034729004,
|
|
"msg": "Instance type is not supported: <class 'int'>",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/convert.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5869.976043701172,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"None"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,782",
|
|
"created": 1580727111.7820978,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "join",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 190,
|
|
"message": "Image to be joined is not supported None",
|
|
"module": "__init__",
|
|
"msecs": 782.0978164672852,
|
|
"msg": "Image to be joined is not supported %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5870.245456695557,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of join method with unknown join file",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,782",
|
|
"created": 1580727111.7821743,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 782.1743488311768,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5870.321989059448,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of join method with unknown join file",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,782",
|
|
"created": 1580727111.7822185,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 782.2184562683105,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5870.366096496582,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 782.2632789611816,
|
|
"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": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5870.410919189453,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.482269287109375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:52,492",
|
|
"created": 1580727112.4924073,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
3
|
|
],
|
|
"asctime": "2020-02-03 11:51:51,782",
|
|
"created": 1580727111.7825015,
|
|
"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": 782.5014591217041,
|
|
"msg": "Join with position %d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_image.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 5870.649099349976,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:52,008",
|
|
"created": 1580727112.00879,
|
|
"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": 8.790016174316406,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6096.937656402588,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:52,146",
|
|
"created": 1580727112.1463606,
|
|
"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": 146.3606357574463,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6234.508275985718,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
300
|
|
],
|
|
"asctime": "2020-02-03 11:51:52,146",
|
|
"created": 1580727112.1465666,
|
|
"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": 146.56662940979004,
|
|
"msg": "Resizing picture to max %d pixel in whatever direction",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6234.7142696380615,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-02-03 11:51:52,224",
|
|
"created": 1580727112.2249258,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "join",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 218,
|
|
"message": "Joining two images",
|
|
"module": "__init__",
|
|
"msecs": 224.92575645446777,
|
|
"msg": "Joining two images",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6313.073396682739,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_3.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:52,342",
|
|
"created": 1580727112.3422594,
|
|
"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": 342.25940704345703,
|
|
"msg": "Saving image to %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6430.4070472717285,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for joined_image_3.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:52,492",
|
|
"created": 1580727112.4922433,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 492.24328994750977,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6580.390930175781,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for joined_image_3.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:52,492",
|
|
"created": 1580727112.49235,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 492.35010147094727,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6580.497741699219,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 492.40732192993164,
|
|
"msg": "Filecompare for joined_image_3.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6580.554962158203,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.7220458984375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,210",
|
|
"created": 1580727113.2100096,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
4
|
|
],
|
|
"asctime": "2020-02-03 11:51:52,492",
|
|
"created": 1580727112.492497,
|
|
"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": 492.4969673156738,
|
|
"msg": "Join with position %d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_image.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6580.644607543945,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:52,684",
|
|
"created": 1580727112.684254,
|
|
"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": 684.2539310455322,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6772.401571273804,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:52,841",
|
|
"created": 1580727112.8419573,
|
|
"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": 841.9573307037354,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6930.104970932007,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
300
|
|
],
|
|
"asctime": "2020-02-03 11:51:52,842",
|
|
"created": 1580727112.8420913,
|
|
"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": 842.0913219451904,
|
|
"msg": "Resizing picture to max %d pixel in whatever direction",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6930.238962173462,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-02-03 11:51:52,907",
|
|
"created": 1580727112.9077432,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "join",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 218,
|
|
"message": "Joining two images",
|
|
"module": "__init__",
|
|
"msecs": 907.7432155609131,
|
|
"msg": "Joining two images",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 6995.890855789185,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_4.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,022",
|
|
"created": 1580727113.0225954,
|
|
"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": 22.59540557861328,
|
|
"msg": "Saving image to %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7110.743045806885,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for joined_image_4.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,209",
|
|
"created": 1580727113.2098458,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 209.84578132629395,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7297.993421554565,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for joined_image_4.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,209",
|
|
"created": 1580727113.209952,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 209.95211601257324,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7298.099756240845,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 210.00957489013672,
|
|
"msg": "Filecompare for joined_image_4.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7298.157215118408,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.745887756347656e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,894",
|
|
"created": 1580727113.8942032,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
5
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,210",
|
|
"created": 1580727113.2100995,
|
|
"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": 210.099458694458,
|
|
"msg": "Join with position %d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_image.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7298.2470989227295,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,369",
|
|
"created": 1580727113.3693988,
|
|
"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": 369.398832321167,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7457.5464725494385,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,524",
|
|
"created": 1580727113.5249228,
|
|
"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": 524.9228477478027,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7613.070487976074,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
300
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,525",
|
|
"created": 1580727113.5251005,
|
|
"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": 525.1004695892334,
|
|
"msg": "Resizing picture to max %d pixel in whatever direction",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7613.248109817505,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-02-03 11:51:53,577",
|
|
"created": 1580727113.5770705,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "join",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 218,
|
|
"message": "Joining two images",
|
|
"module": "__init__",
|
|
"msecs": 577.0704746246338,
|
|
"msg": "Joining two images",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7665.218114852905,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_5.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,721",
|
|
"created": 1580727113.7214005,
|
|
"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": 721.4004993438721,
|
|
"msg": "Saving image to %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7809.548139572144,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for joined_image_5.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,893",
|
|
"created": 1580727113.8939953,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 893.9952850341797,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7982.142925262451,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for joined_image_5.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,894",
|
|
"created": 1580727113.8941295,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 894.1295146942139,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7982.277154922485,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 894.2031860351562,
|
|
"msg": "Filecompare for joined_image_5.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7982.350826263428,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.367134094238281e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:54,593",
|
|
"created": 1580727114.5934289,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
1
|
|
],
|
|
"asctime": "2020-02-03 11:51:53,894",
|
|
"created": 1580727113.8943253,
|
|
"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": 894.3252563476562,
|
|
"msg": "Join with position %d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_image.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 7982.472896575928,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:54,039",
|
|
"created": 1580727114.0390592,
|
|
"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": 39.05916213989258,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8127.206802368164,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:54,202",
|
|
"created": 1580727114.2026494,
|
|
"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": 202.64935493469238,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8290.796995162964,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
300
|
|
],
|
|
"asctime": "2020-02-03 11:51:54,202",
|
|
"created": 1580727114.2027824,
|
|
"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": 202.78239250183105,
|
|
"msg": "Resizing picture to max %d pixel in whatever direction",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8290.930032730103,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-02-03 11:51:54,324",
|
|
"created": 1580727114.3240337,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "join",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 218,
|
|
"message": "Joining two images",
|
|
"module": "__init__",
|
|
"msecs": 324.0337371826172,
|
|
"msg": "Joining two images",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8412.181377410889,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_1.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:54,449",
|
|
"created": 1580727114.449797,
|
|
"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": 449.7969150543213,
|
|
"msg": "Saving image to %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8537.944555282593,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for joined_image_1.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:54,593",
|
|
"created": 1580727114.5932233,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 593.2233333587646,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8681.370973587036,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for joined_image_1.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:54,593",
|
|
"created": 1580727114.5933533,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 593.353271484375,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8681.500911712646,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 593.4288501739502,
|
|
"msg": "Filecompare for joined_image_1.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8681.576490402222,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 7.557868957519531e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:55,277",
|
|
"created": 1580727115.2770908,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
2
|
|
],
|
|
"asctime": "2020-02-03 11:51:54,593",
|
|
"created": 1580727114.5935304,
|
|
"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": 593.5304164886475,
|
|
"msg": "Join with position %d",
|
|
"name": "__unittest__",
|
|
"pathname": "src/tests/test_image.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8681.678056716919,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:54,742",
|
|
"created": 1580727114.7421951,
|
|
"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": 742.1951293945312,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 8830.342769622803,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:54,942",
|
|
"created": 1580727114.942605,
|
|
"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": 942.6050186157227,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9030.752658843994,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
300
|
|
],
|
|
"asctime": "2020-02-03 11:51:54,942",
|
|
"created": 1580727114.9427683,
|
|
"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": 942.7683353424072,
|
|
"msg": "Resizing picture to max %d pixel in whatever direction",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9030.915975570679,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-02-03 11:51:55,014",
|
|
"created": 1580727115.0147798,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "join",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 218,
|
|
"message": "Joining two images",
|
|
"module": "__init__",
|
|
"msecs": 14.779806137084961,
|
|
"msg": "Joining two images",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9102.927446365356,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/joined_image_2.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:55,124",
|
|
"created": 1580727115.1245804,
|
|
"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": 124.58038330078125,
|
|
"msg": "Saving image to %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9212.728023529053,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for joined_image_2.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:55,276",
|
|
"created": 1580727115.2768118,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 276.8118381500244,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9364.959478378296,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for joined_image_2.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:55,276",
|
|
"created": 1580727115.2769642,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 276.9641876220703,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9365.111827850342,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 277.09078788757324,
|
|
"msg": "Filecompare for joined_image_2.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 9365.238428115845,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001266002655029297
|
|
}
|
|
],
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.226864576339722,
|
|
"time_finished": "2020-02-03 11:51:55,277",
|
|
"time_start": "2020-02-03 11:51:51,050"
|
|
},
|
|
"_Fv7V4EYCEequ74M7usLaPw": {
|
|
"args": null,
|
|
"asctime": "2020-02-03 11:51:47,139",
|
|
"created": 1580727107.1390893,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 31,
|
|
"message": "_Fv7V4EYCEequ74M7usLaPw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 139.08934593200684,
|
|
"msg": "_Fv7V4EYCEequ74M7usLaPw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1227.2369861602783,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"<class 'NoneType'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,139",
|
|
"created": 1580727107.139268,
|
|
"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 <class 'NoneType'> and Type is <class 'type'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Type of image stored in instance, if no parameter is given",
|
|
"<class 'NoneType'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,139",
|
|
"created": 1580727107.1391797,
|
|
"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): <class 'NoneType'> (<class 'type'>)",
|
|
"module": "test",
|
|
"msecs": 139.17970657348633,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1227.3273468017578,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Type of image stored in instance, if no parameter is given",
|
|
"<class 'NoneType'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,139",
|
|
"created": 1580727107.1392264,
|
|
"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 = <class 'NoneType'> (<class 'type'>)",
|
|
"module": "test",
|
|
"msecs": 139.22643661499023,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1227.3740768432617,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 139.2679214477539,
|
|
"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": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1227.4155616760254,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.1484832763671875e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"<class 'NoneType'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,140",
|
|
"created": 1580727107.1402414,
|
|
"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 <class 'NoneType'> and Type is <class 'type'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-02-03 11:51:47,140",
|
|
"created": 1580727107.1400805,
|
|
"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: <class 'int'>",
|
|
"module": "convert",
|
|
"msecs": 140.08045196533203,
|
|
"msg": "Instance type is not supported: <class 'int'>",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/convert.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1228.2280921936035,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Type of image stored in instance, if a unsupported parameter is given",
|
|
"<class 'NoneType'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,140",
|
|
"created": 1580727107.1401498,
|
|
"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): <class 'NoneType'> (<class 'type'>)",
|
|
"module": "test",
|
|
"msecs": 140.1498317718506,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1228.297472000122,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Type of image stored in instance, if a unsupported parameter is given",
|
|
"<class 'NoneType'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,140",
|
|
"created": 1580727107.140195,
|
|
"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 = <class 'NoneType'> (<class 'type'>)",
|
|
"module": "test",
|
|
"msecs": 140.19489288330078,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1228.3425331115723,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 140.2413845062256,
|
|
"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": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1228.389024734497,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.649162292480469e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"<class 'NoneType'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,140",
|
|
"created": 1580727107.140476,
|
|
"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 <class 'NoneType'> and Type is <class 'type'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"/user_data/data/dirk/prj/unittest/media/unittest/input_data/unknown.txt"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,140",
|
|
"created": 1580727107.1403224,
|
|
"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": 140.32244682312012,
|
|
"msg": "Filetype is not supported (%s)",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/convert.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1228.4700870513916,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Type of image stored in instance, if an unknown file is given",
|
|
"<class 'NoneType'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,140",
|
|
"created": 1580727107.140401,
|
|
"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): <class 'NoneType'> (<class 'type'>)",
|
|
"module": "test",
|
|
"msecs": 140.40088653564453,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1228.548526763916,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Type of image stored in instance, if an unknown file is given",
|
|
"<class 'NoneType'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,140",
|
|
"created": 1580727107.1404388,
|
|
"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 = <class 'NoneType'> (<class 'type'>)",
|
|
"module": "test",
|
|
"msecs": 140.43879508972168,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1228.5864353179932,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 140.47598838806152,
|
|
"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": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1228.623628616333,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 3.719329833984375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"<class 'PIL.Image.Image'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,351",
|
|
"created": 1580727107.3517513,
|
|
"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 <class 'PIL.Image.Image'> and Type is <class 'type'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,351",
|
|
"created": 1580727107.3515162,
|
|
"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": 351.5162467956543,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1439.6638870239258,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Type of image stored in instance, if a image file is given",
|
|
"<class 'PIL.Image.Image'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,351",
|
|
"created": 1580727107.3516605,
|
|
"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): <class 'PIL.Image.Image'> (<class 'type'>)",
|
|
"module": "test",
|
|
"msecs": 351.66049003601074,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1439.8081302642822,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Type of image stored in instance, if a image file is given",
|
|
"<class 'PIL.Image.Image'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,351",
|
|
"created": 1580727107.3517084,
|
|
"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 = <class 'PIL.Image.Image'> (<class 'type'>)",
|
|
"module": "test",
|
|
"msecs": 351.70841217041016,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1439.8560523986816,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 351.75132751464844,
|
|
"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": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1439.89896774292,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.291534423828125e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"<class 'PIL.Image.Image'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,847",
|
|
"created": 1580727107.8470995,
|
|
"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 <class 'PIL.Image.Image'> and Type is <class 'type'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/video.mp4'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,844",
|
|
"created": 1580727107.8443635,
|
|
"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": 844.3634510040283,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1932.5110912322998,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Type of image stored in instance, if a video file is given",
|
|
"<class 'PIL.Image.Image'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,846",
|
|
"created": 1580727107.8468344,
|
|
"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): <class 'PIL.Image.Image'> (<class 'type'>)",
|
|
"module": "test",
|
|
"msecs": 846.8344211578369,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1934.9820613861084,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Type of image stored in instance, if a video file is given",
|
|
"<class 'PIL.Image.Image'>",
|
|
"<class 'type'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,847",
|
|
"created": 1580727107.8470068,
|
|
"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 = <class 'PIL.Image.Image'> (<class 'type'>)",
|
|
"module": "test",
|
|
"msecs": 847.0067977905273,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1935.1544380187988,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 847.0995426177979,
|
|
"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": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1935.2471828460693,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.274482727050781e-05
|
|
}
|
|
],
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.708010196685791,
|
|
"time_finished": "2020-02-03 11:51:47,847",
|
|
"time_start": "2020-02-03 11:51:47,139"
|
|
},
|
|
"_HGpRMEYCEequ74M7usLaPw": {
|
|
"args": null,
|
|
"asctime": "2020-02-03 11:51:47,847",
|
|
"created": 1580727107.84747,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 32,
|
|
"message": "_HGpRMEYCEequ74M7usLaPw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 847.4700450897217,
|
|
"msg": "_HGpRMEYCEequ74M7usLaPw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1935.6176853179932,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,847",
|
|
"created": 1580727107.8478415,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of failed save method is correct (Content False and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/saved_image.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,847",
|
|
"created": 1580727107.8476129,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "save",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"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": 847.6128578186035,
|
|
"msg": "No image available to be saved (%s)",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1935.760498046875,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of failed save method",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,847",
|
|
"created": 1580727107.8477066,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of failed save method): False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 847.7065563201904,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1935.854196548462,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of failed save method",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,847",
|
|
"created": 1580727107.8477752,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of failed save method): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 847.7752208709717,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1935.9228610992432,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 847.8415012359619,
|
|
"msg": "Returnvalue of failed save method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1935.9891414642334,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.628036499023438e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,849",
|
|
"created": 1580727107.8499947,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Existance of saved file is correct (Content False and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Existance of saved file",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,848",
|
|
"created": 1580727107.8482869,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Existance of saved file): False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 848.2868671417236,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1936.4345073699951,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Existance of saved file",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,849",
|
|
"created": 1580727107.8493922,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Existance of saved file): result = False (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 849.3921756744385,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1937.53981590271,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 849.9946594238281,
|
|
"msg": "Existance of saved file is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1938.1422996520996,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0006024837493896484
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,324",
|
|
"created": 1580727108.324942,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Returnvalue of successful save method is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/video.mp4'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,282",
|
|
"created": 1580727108.282489,
|
|
"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": 282.4890613555908,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2370.6367015838623,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/saved_image.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,284",
|
|
"created": 1580727108.2842104,
|
|
"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/saved_image.jpg'",
|
|
"module": "__init__",
|
|
"msecs": 284.2104434967041,
|
|
"msg": "Saving image to %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2372.3580837249756,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of successful save method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,324",
|
|
"created": 1580727108.3247736,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Returnvalue of successful save method): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 324.77355003356934,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2412.921190261841,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of successful save method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,324",
|
|
"created": 1580727108.3248885,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Returnvalue of successful save method): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 324.8884677886963,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2413.036108016968,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 324.94211196899414,
|
|
"msg": "Returnvalue of successful save method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2413.0897521972656,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 5.364418029785156e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,325",
|
|
"created": 1580727108.3252008,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Existance of saved file is correct (Content True and Type is <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Existance of saved file",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,325",
|
|
"created": 1580727108.3251183,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Existance of saved file): True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 325.1183032989502,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2413.2659435272217,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Existance of saved file",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,325",
|
|
"created": 1580727108.325158,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Existance of saved file): result = True (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 325.15811920166016,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2413.3057594299316,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 325.20079612731934,
|
|
"msg": "Existance of saved file is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2413.348436355591,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.267692565917969e-05
|
|
}
|
|
],
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.47773075103759766,
|
|
"time_finished": "2020-02-03 11:51:48,325",
|
|
"time_start": "2020-02-03 11:51:47,847"
|
|
},
|
|
"_XzMFcHYZEem_kd-7nxt1sg": {
|
|
"args": null,
|
|
"asctime": "2020-02-03 11:51:46,027",
|
|
"created": 1580727106.0273104,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 27,
|
|
"message": "_XzMFcHYZEem_kd-7nxt1sg",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 27.31037139892578,
|
|
"msg": "_XzMFcHYZEem_kd-7nxt1sg",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 115.45801162719727,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,028",
|
|
"created": 1580727106.0289743,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Media data for unknown.txt is correct (Content None and Type is <class 'NoneType'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"/user_data/data/dirk/prj/unittest/media/unittest/input_data/unknown.txt"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,028",
|
|
"created": 1580727106.0285676,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "get_media_data",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 80,
|
|
"message": "Filetype not known: /user_data/data/dirk/prj/unittest/media/unittest/input_data/unknown.txt",
|
|
"module": "__init__",
|
|
"msecs": 28.56755256652832,
|
|
"msg": "Filetype not known: %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 116.7151927947998,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for unknown.txt",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,028",
|
|
"created": 1580727106.028876,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Media data for unknown.txt): None (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 28.876066207885742,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.02370643615723,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for unknown.txt",
|
|
"None",
|
|
"<class 'NoneType'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,028",
|
|
"created": 1580727106.028927,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Media data for unknown.txt): result = None (<class 'NoneType'>)",
|
|
"module": "test",
|
|
"msecs": 28.927087783813477,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.07472801208496,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 28.974294662475586,
|
|
"msg": "Media data for unknown.txt is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 117.12193489074707,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 4.7206878662109375e-05
|
|
},
|
|
{
|
|
"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}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,319",
|
|
"created": 1580727106.3195608,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Media data for audio.mp3 is correct (Content {'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} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"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 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,319",
|
|
"created": 1580727106.319274,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 319.2739486694336,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 407.4215888977051,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for audio.mp3",
|
|
"{ '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 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,319",
|
|
"created": 1580727106.3194654,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 319.46539878845215,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 407.61303901672363,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 319.5607662200928,
|
|
"msg": "Media data for audio.mp3 is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 407.70840644836426,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.5367431640625e-05
|
|
},
|
|
{
|
|
"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}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,412",
|
|
"created": 1580727106.4128506,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"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 <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"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 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,412",
|
|
"created": 1580727106.4123337,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 412.33372688293457,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 500.48136711120605,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for audio_fail_conv.mp3",
|
|
"{ '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 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,412",
|
|
"created": 1580727106.4125612,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 412.56117820739746,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 500.70881843566895,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 412.85061836242676,
|
|
"msg": "Media data for audio_fail_conv.mp3 is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 500.99825859069824,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0002894401550292969
|
|
},
|
|
{
|
|
"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}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,556",
|
|
"created": 1580727106.5565512,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Media data for audio_year_0.mp3 is correct (Content {'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} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"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 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,556",
|
|
"created": 1580727106.556156,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 556.1559200286865,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 644.303560256958,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for audio_year_0.mp3",
|
|
"{ '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 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,556",
|
|
"created": 1580727106.5564106,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 556.410551071167,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 644.5581912994385,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 556.5512180328369,
|
|
"msg": "Media data for audio_year_0.mp3 is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 644.6988582611084,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00014066696166992188
|
|
},
|
|
{
|
|
"args": [
|
|
"{'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'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,600",
|
|
"created": 1580727106.6006143,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"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 <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,600",
|
|
"created": 1580727106.6003437,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 600.3437042236328,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 688.4913444519043,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"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, 'camera': 'motorola: motorola one', 'size': 4524705 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,600",
|
|
"created": 1580727106.6004858,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 600.4858016967773,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 688.6334419250488,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 600.6143093109131,
|
|
"msg": "Media data for image_exif_gps.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 688.7619495391846,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0001285076141357422
|
|
},
|
|
{
|
|
"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'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,605",
|
|
"created": 1580727106.6054118,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Media data for image_exif_no_gps.jpg is correct (Content {'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'} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,605",
|
|
"created": 1580727106.60523,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 605.2300930023193,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 693.3777332305908,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"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, 'camera': 'HUAWEI: EVA-L09', 'size': 2837285 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,605",
|
|
"created": 1580727106.6053212,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 605.3211688995361,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 693.4688091278076,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 605.4117679595947,
|
|
"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": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 693.5594081878662,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.059906005859375e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'size': 1139092, 'time': 1449870515, 'tm_is_subst': True}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,606",
|
|
"created": 1580727106.606047,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Media data for image_non_exif.jpg is correct (Content {'size': 1139092, 'time': 1449870515, 'tm_is_subst': True} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_non_exif.jpg"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,605",
|
|
"created": 1580727106.6058102,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "metadata.py",
|
|
"funcName": "__get_exif_data__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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": 605.8101654052734,
|
|
"msg": "%s does not have any exif information",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/metadata.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 693.9578056335449,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for image_non_exif.jpg",
|
|
"{ 'size': 1139092, 'time': 1449870515, 'tm_is_subst': True }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,605",
|
|
"created": 1580727106.6059268,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 22,
|
|
"message": "Result (Media data for image_non_exif.jpg): { 'size': 1139092, 'time': 1449870515, 'tm_is_subst': True } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 605.9267520904541,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 694.0743923187256,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for image_non_exif.jpg",
|
|
"{ 'time': 1449870515, 'tm_is_subst': True, 'size': 1139092 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,605",
|
|
"created": 1580727106.6059842,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"lineno": 26,
|
|
"message": "Expectation (Media data for image_non_exif.jpg): result = { 'time': 1449870515, 'tm_is_subst': True, 'size': 1139092 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 605.9842109680176,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 694.1318511962891,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 606.0469150543213,
|
|
"msg": "Media data for image_non_exif.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 694.1945552825928,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 6.270408630371094e-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'}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,611",
|
|
"created": 1580727106.6119304,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Media data for image_extraction_failed.jpg is correct (Content {'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'} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"{0: b'\\x02\\x02\\x00\\x00'}"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,611",
|
|
"created": 1580727106.611619,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "metadata.py",
|
|
"funcName": "__gps_conv__",
|
|
"levelname": "WARNING",
|
|
"levelno": 30,
|
|
"lineno": 221,
|
|
"message": "GPS data extraction failed for {0: b'\\x02\\x02\\x00\\x00'}",
|
|
"module": "metadata",
|
|
"msecs": 611.6189956665039,
|
|
"msg": "GPS data extraction failed for %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/metadata.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 699.7666358947754,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"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' }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,611",
|
|
"created": 1580727106.6117723,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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' } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 611.7722988128662,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 699.9199390411377,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"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, 'camera': 'Canon: Canon EOS 40D', 'size': 1301272 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,611",
|
|
"created": 1580727106.611846,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 611.8459701538086,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 699.9936103820801,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 611.9303703308105,
|
|
"msg": "Media data for image_extraction_failed.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 700.078010559082,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.440017700195312e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,695",
|
|
"created": 1580727106.695373,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Media data for video.3gp is correct (Content {'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Media data for video.3gp",
|
|
"{ 'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,695",
|
|
"created": 1580727106.6951132,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 695.1131820678711,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 783.2608222961426,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for video.3gp",
|
|
"{ 'width': 800, 'height': 480, 'ratio': 1.6666666666666667, 'duration': 3.964, 'bitrate': 2341765, 'time': 1414948303, 'size': 1160345 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,695",
|
|
"created": 1580727106.6952863,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 695.2862739562988,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 783.4339141845703,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 695.3730583190918,
|
|
"msg": "Media data for video.3gp is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 783.5206985473633,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 8.678436279296875e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,909",
|
|
"created": 1580727106.9090261,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Media data for video.mp4 is correct (Content {'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"Media data for video.mp4",
|
|
"{ 'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,908",
|
|
"created": 1580727106.9087095,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 908.7095260620117,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 996.8571662902832,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for video.mp4",
|
|
"{ 'width': 1920, 'height': 1080, 'ratio': 1.7777777777777777, 'duration': 12.453, 'bitrate': 17883888, 'time': 1503125482, 'size': 27838508 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,908",
|
|
"created": 1580727106.9088917,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 908.8916778564453,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 997.0393180847168,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 909.0261459350586,
|
|
"msg": "Media data for video.mp4 is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 997.1737861633301,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00013446807861328125
|
|
},
|
|
{
|
|
"args": [
|
|
"{'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,993",
|
|
"created": 1580727106.993735,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Media data for video_special_time.avi is correct (Content {'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'N/A'",
|
|
"duration",
|
|
"duration"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,992",
|
|
"created": 1580727106.9929793,
|
|
"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' (duration) for duration",
|
|
"module": "metadata",
|
|
"msecs": 992.9792881011963,
|
|
"msg": "Can't convert %s (%s) for %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/metadata.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1081.1269283294678,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for video_special_time.avi",
|
|
"{ 'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,993",
|
|
"created": 1580727106.9935384,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 993.5383796691895,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1081.686019897461,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for video_special_time.avi",
|
|
"{ 'width': 320, 'height': 240, 'ratio': 0.0, 'duration': 26.531264, 'bitrate': 840554, 'time': 1086778620, 'size': 2787622 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:46,993",
|
|
"created": 1580727106.9936414,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 993.6413764953613,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1081.7890167236328,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 993.7350749969482,
|
|
"msg": "Media data for video_special_time.avi is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1081.8827152252197,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.369850158691406e-05
|
|
},
|
|
{
|
|
"args": [
|
|
"{'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'size': 2965248, 'time': 1158528375, 'tm_is_subst': True}",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,138",
|
|
"created": 1580727107.1388326,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "equivalency_chk",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 142,
|
|
"message": "Media data for video_no_date.avi is correct (Content {'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'size': 2965248, 'time': 1158528375, 'tm_is_subst': True} and Type is <class 'dict'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"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 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,138",
|
|
"created": 1580727107.138515,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_result__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 138.51499557495117,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1226.6626358032227,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Media data for video_no_date.avi",
|
|
"{ 'width': 640, 'height': 480, 'ratio': 1.3333333333333333, 'duration': 11.016, 'bitrate': 2153411, 'time': 1158528375, 'tm_is_subst': True, 'size': 2965248 }",
|
|
"<class 'dict'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:47,138",
|
|
"created": 1580727107.1387355,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "test.py",
|
|
"funcName": "__report_expectation_equivalency__",
|
|
"levelname": "DEBUG",
|
|
"levelno": 10,
|
|
"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 } (<class 'dict'>)",
|
|
"module": "test",
|
|
"msecs": 138.73553276062012,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1226.8831729888916,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 138.83256912231445,
|
|
"msg": "Media data for video_no_date.avi is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 1226.980209350586,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 9.703636169433594e-05
|
|
}
|
|
],
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 1.1115221977233887,
|
|
"time_finished": "2020-02-03 11:51:47,138",
|
|
"time_start": "2020-02-03 11:51:46,027"
|
|
},
|
|
"_wvLDcEYCEequ74M7usLaPw": {
|
|
"args": null,
|
|
"asctime": "2020-02-03 11:51:48,325",
|
|
"created": 1580727108.3253405,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 33,
|
|
"message": "_wvLDcEYCEequ74M7usLaPw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 325.34050941467285,
|
|
"msg": "_wvLDcEYCEequ74M7usLaPw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2413.4881496429443,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,666",
|
|
"created": 1580727108.6662192,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_no_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,522",
|
|
"created": 1580727108.5228128,
|
|
"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": 522.8128433227539,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2610.9604835510254,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for image_data.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,664",
|
|
"created": 1580727108.6640825,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 664.0825271606445,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2752.230167388916,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Filecompare for image_data.jpg",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,665",
|
|
"created": 1580727108.6654418,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 665.4417514801025,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2753.589391708374,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 666.2192344665527,
|
|
"msg": "Filecompare for image_data.jpg is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2754.366874694824,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0007774829864501953
|
|
}
|
|
],
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.3408787250518799,
|
|
"time_finished": "2020-02-03 11:51:48,666",
|
|
"time_start": "2020-02-03 11:51:48,325"
|
|
},
|
|
"_zQ29EEYCEequ74M7usLaPw": {
|
|
"args": null,
|
|
"asctime": "2020-02-03 11:51:48,678",
|
|
"created": 1580727108.678108,
|
|
"exc_info": null,
|
|
"exc_text": null,
|
|
"filename": "__init__.py",
|
|
"funcName": "testrun",
|
|
"levelname": "INFO",
|
|
"levelno": 20,
|
|
"lineno": 34,
|
|
"message": "_zQ29EEYCEequ74M7usLaPw",
|
|
"module": "__init__",
|
|
"moduleLogger": [],
|
|
"msecs": 678.1079769134521,
|
|
"msg": "_zQ29EEYCEequ74M7usLaPw",
|
|
"name": "__tLogger__",
|
|
"pathname": "/user_data/data/dirk/prj/unittest/media/unittest/src/tests/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2766.2556171417236,
|
|
"stack_info": null,
|
|
"testcaseLogger": [
|
|
{
|
|
"args": [
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,916",
|
|
"created": 1580727108.9162145,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/input_data/image_exif_gps.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,907",
|
|
"created": 1580727108.9076145,
|
|
"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": 907.6144695281982,
|
|
"msg": "loading image from %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2995.7621097564697,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
300
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,907",
|
|
"created": 1580727108.9077542,
|
|
"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": 907.7541828155518,
|
|
"msg": "Resizing picture to max %d pixel in whatever direction",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 2995.9018230438232,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of successful resize method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,914",
|
|
"created": 1580727108.9143193,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 914.3192768096924,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3002.466917037964,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of successful resize method",
|
|
"True",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,915",
|
|
"created": 1580727108.9154572,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 915.4572486877441,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3003.6048889160156,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 916.2144660949707,
|
|
"msg": "Returnvalue of successful resize method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3004.362106323242,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.0007572174072265625
|
|
},
|
|
{
|
|
"args": [
|
|
"300",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,923",
|
|
"created": 1580727108.923456,
|
|
"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 <class 'int'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [
|
|
"'/user_data/data/dirk/prj/unittest/media/unittest/output_data/resized_image.jpg'"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,916",
|
|
"created": 1580727108.916464,
|
|
"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": 916.46409034729,
|
|
"msg": "Saving image to %s",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3004.6117305755615,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Resulution of resized image",
|
|
"300",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,922",
|
|
"created": 1580727108.9227335,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 922.7335453033447,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3010.881185531616,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Resulution of resized image",
|
|
"300",
|
|
"<class 'int'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,923",
|
|
"created": 1580727108.9232402,
|
|
"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 (<class 'int'>)",
|
|
"module": "test",
|
|
"msecs": 923.2401847839355,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3011.387825012207,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 923.4559535980225,
|
|
"msg": "Resulution of resized image is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3011.603593826294,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00021576881408691406
|
|
},
|
|
{
|
|
"args": [
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,925",
|
|
"created": 1580727108.9251208,
|
|
"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 <class 'bool'>).",
|
|
"module": "test",
|
|
"moduleLogger": [
|
|
{
|
|
"args": [],
|
|
"asctime": "2020-02-03 11:51:48,923",
|
|
"created": 1580727108.9239433,
|
|
"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": 923.943281173706,
|
|
"msg": "No image available to be resized",
|
|
"name": "MEDIA",
|
|
"pathname": "src/media/__init__.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3012.0909214019775,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of failed resize method",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,924",
|
|
"created": 1580727108.924218,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 924.217939376831,
|
|
"msg": "Result (%s): %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3012.3655796051025,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
},
|
|
{
|
|
"args": [
|
|
"Returnvalue of failed resize method",
|
|
"False",
|
|
"<class 'bool'>"
|
|
],
|
|
"asctime": "2020-02-03 11:51:48,924",
|
|
"created": 1580727108.9246697,
|
|
"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 (<class 'bool'>)",
|
|
"module": "test",
|
|
"msecs": 924.6697425842285,
|
|
"msg": "Expectation (%s): result = %s (%s)",
|
|
"name": "__unittest__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3012.8173828125,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread"
|
|
}
|
|
],
|
|
"msecs": 925.1208305358887,
|
|
"msg": "Returnvalue of failed resize method is correct (Content %s and Type is %s).",
|
|
"name": "__tLogger__",
|
|
"pathname": "src/unittest/test.py",
|
|
"process": 3545,
|
|
"processName": "MainProcess",
|
|
"relativeCreated": 3013.26847076416,
|
|
"stack_info": null,
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.00045108795166015625
|
|
}
|
|
],
|
|
"thread": 140585574717248,
|
|
"threadName": "MainThread",
|
|
"time_consumption": 0.24701285362243652,
|
|
"time_finished": "2020-02-03 11:51:48,925",
|
|
"time_start": "2020-02-03 11:51:48,678"
|
|
}
|
|
},
|
|
"testrun_id": "p3",
|
|
"time_consumption": 9.234516143798828,
|
|
"uid_list_sorted": [
|
|
"_XzMFcHYZEem_kd-7nxt1sg",
|
|
"_Fv7V4EYCEequ74M7usLaPw",
|
|
"_HGpRMEYCEequ74M7usLaPw",
|
|
"_wvLDcEYCEequ74M7usLaPw",
|
|
"_zQ29EEYCEequ74M7usLaPw",
|
|
"_AdR7EEYDEequ74M7usLaPw",
|
|
"_CBaAQEYDEequ74M7usLaPw"
|
|
]
|
|
}
|
|
],
|
|
"unittest_information": {
|
|
"Version": "19140f198948fc7dd014a1ac1cd02dcf"
|
|
}
|
|
} |