rasterlib: recheck from start #32
Annotations
10 errors and 1 warning
macOS build:
raster/r.colors.out/tests/r3_colors_out_test.py#L83
test_r3_colors_out_json_with_default_option
AssertionError: test failed: expected [{'value': 1, 'hex': '#00BFBF'}, {'value': 1.8, 'hex': '#00FF00'}, {'value': 2.6, 'hex': '#FFFF00'}, {'value': 3.4, 'hex': '#FF7F00'}, {'value': 4.2, 'hex': '#BF7F3F'}, {'value': 5, 'hex': '#C8C8C8'}, {'value': 'nv', 'hex': '#FFFFFF'}, {'value': 'default', 'hex': '#FFFFFF'}] but got [{'value': '1', 'hex': '#00BFBF'}, {'value': '1.8', 'hex': '#00FF00'}, {'value': '2.6', 'hex': '#FFFF00'}, {'value': '3.4', 'hex': '#FF7F00'}, {'value': '4.2', 'hex': '#BF7F3F'}, {'value': '5', 'hex': '#C8C8C8'}, {'value': 'nv', 'hex': '#FFFFFF'}, {'value': 'default', 'hex': '#FFFFFF'}]
assert [{'hex': '#00...lue': 5}, ...] == [{'hex': '#00...e': '5'}, ...]
At index 0 diff: {'value': 1, 'hex': '#00BFBF'} != {'value': '1', 'hex': '#00BFBF'}
Full diff:
[
{
'hex': '#00BFBF',
- 'value': '1',
? - -
+ 'value': 1,
},
{
'hex': '#00FF00',
- 'value': '1.8',
? - -
+ 'value': 1.8,
},
{
'hex': '#FFFF00',
- 'value': '2.6',
? - -
+ 'value': 2.6,
},
{
'hex': '#FF7F00',
- 'value': '3.4',
? - -
+ 'value': 3.4,
},
{
'hex': '#BF7F3F',
- 'value': '4.2',
? - -
+ 'value': 4.2,
},
{
'hex': '#C8C8C8',
- 'value': '5',
? - -
+ 'value': 5,
},
{
'hex': '#FFFFFF',
'value': 'nv',
},
{
'hex': '#FFFFFF',
'value': 'default',
},
]
|
macOS build:
raster/r.colors.out/tests/r3_colors_out_test.py#L103
test_r3_colors_out_json_with_triplet_option
AssertionError: test failed: expected [{'value': 1, 'triplet': '0:191:191'}, {'value': 1.8, 'triplet': '0:255:0'}, {'value': 2.6, 'triplet': '255:255:0'}, {'value': 3.4, 'triplet': '255:127:0'}, {'value': 4.2, 'triplet': '191:127:63'}, {'value': 5, 'triplet': '200:200:200'}, {'value': 'nv', 'triplet': '255:255:255'}, {'value': 'default', 'triplet': '255:255:255'}] but got [{'value': '1', 'triplet': '0:191:191'}, {'value': '1.8', 'triplet': '0:255:0'}, {'value': '2.6', 'triplet': '255:255:0'}, {'value': '3.4', 'triplet': '255:127:0'}, {'value': '4.2', 'triplet': '191:127:63'}, {'value': '5', 'triplet': '200:200:200'}, {'value': 'nv', 'triplet': '255:255:255'}, {'value': 'default', 'triplet': '255:255:255'}]
assert [{'triplet': ...lue': 5}, ...] == [{'triplet': ...e': '5'}, ...]
At index 0 diff: {'value': 1, 'triplet': '0:191:191'} != {'value': '1', 'triplet': '0:191:191'}
Full diff:
[
{
'triplet': '0:191:191',
- 'value': '1',
? - -
+ 'value': 1,
},
{
'triplet': '0:255:0',
- 'value': '1.8',
? - -
+ 'value': 1.8,
},
{
'triplet': '255:255:0',
- 'value': '2.6',
? - -
+ 'value': 2.6,
},
{
'triplet': '255:127:0',
- 'value': '3.4',
? - -
+ 'value': 3.4,
},
{
'triplet': '191:127:63',
- 'value': '4.2',
? - -
+ 'value': 4.2,
},
{
'triplet': '200:200:200',
- 'value': '5',
? - -
+ 'value': 5,
},
{
'triplet': '255:255:255',
'value': 'nv',
},
{
'triplet': '255:255:255',
'value': 'default',
},
]
|
macOS build:
raster/r.colors.out/tests/r_colors_out_test.py#L83
test_r_colors_out_json_with_default_option
AssertionError: test failed: expected [{'value': 1, 'hex': '#00BFBF'}, {'value': 1.4, 'hex': '#00FF00'}, {'value': 1.8, 'hex': '#FFFF00'}, {'value': 2.2, 'hex': '#FF7F00'}, {'value': 2.6, 'hex': '#BF7F3F'}, {'value': 3, 'hex': '#C8C8C8'}, {'value': 'nv', 'hex': '#FFFFFF'}, {'value': 'default', 'hex': '#FFFFFF'}] but got [{'value': '1', 'hex': '#00BFBF'}, {'value': '1.4', 'hex': '#00FF00'}, {'value': '1.8', 'hex': '#FFFF00'}, {'value': '2.2', 'hex': '#FF7F00'}, {'value': '2.6', 'hex': '#BF7F3F'}, {'value': '3', 'hex': '#C8C8C8'}, {'value': 'nv', 'hex': '#FFFFFF'}, {'value': 'default', 'hex': '#FFFFFF'}]
assert [{'hex': '#00...lue': 3}, ...] == [{'hex': '#00...e': '3'}, ...]
At index 0 diff: {'value': 1, 'hex': '#00BFBF'} != {'value': '1', 'hex': '#00BFBF'}
Full diff:
[
{
'hex': '#00BFBF',
- 'value': '1',
? - -
+ 'value': 1,
},
{
'hex': '#00FF00',
- 'value': '1.4',
? - -
+ 'value': 1.4,
},
{
'hex': '#FFFF00',
- 'value': '1.8',
? - -
+ 'value': 1.8,
},
{
'hex': '#FF7F00',
- 'value': '2.2',
? - -
+ 'value': 2.2,
},
{
'hex': '#BF7F3F',
- 'value': '2.6',
? - -
+ 'value': 2.6,
},
{
'hex': '#C8C8C8',
- 'value': '3',
? - -
+ 'value': 3,
},
{
'hex': '#FFFFFF',
'value': 'nv',
},
{
'hex': '#FFFFFF',
'value': 'default',
},
]
|
macOS build:
raster/r.colors.out/tests/r3_colors_out_test.py#L127
test_r3_colors_out_json_with_rgb_option
AssertionError: test failed: expected [{'value': 1, 'rgb': 'rgb(0, 191, 191)'}, {'value': 1.8, 'rgb': 'rgb(0, 255, 0)'}, {'value': 2.6, 'rgb': 'rgb(255, 255, 0)'}, {'value': 3.4, 'rgb': 'rgb(255, 127, 0)'}, {'value': 4.2, 'rgb': 'rgb(191, 127, 63)'}, {'value': 5, 'rgb': 'rgb(200, 200, 200)'}, {'value': 'nv', 'rgb': 'rgb(255, 255, 255)'}, {'value': 'default', 'rgb': 'rgb(255, 255, 255)'}] but got [{'value': '1', 'rgb': 'rgb(0, 191, 191)'}, {'value': '1.8', 'rgb': 'rgb(0, 255, 0)'}, {'value': '2.6', 'rgb': 'rgb(255, 255, 0)'}, {'value': '3.4', 'rgb': 'rgb(255, 127, 0)'}, {'value': '4.2', 'rgb': 'rgb(191, 127, 63)'}, {'value': '5', 'rgb': 'rgb(200, 200, 200)'}, {'value': 'nv', 'rgb': 'rgb(255, 255, 255)'}, {'value': 'default', 'rgb': 'rgb(255, 255, 255)'}]
assert [{'rgb': 'rgb...lue': 5}, ...] == [{'rgb': 'rgb...e': '5'}, ...]
At index 0 diff: {'value': 1, 'rgb': 'rgb(0, 191, 191)'} != {'value': '1', 'rgb': 'rgb(0, 191, 191)'}
Full diff:
[
{
'rgb': 'rgb(0, 191, 191)',
- 'value': '1',
? - -
+ 'value': 1,
},
{
'rgb': 'rgb(0, 255, 0)',
- 'value': '1.8',
? - -
+ 'value': 1.8,
},
{
'rgb': 'rgb(255, 255, 0)',
- 'value': '2.6',
? - -
+ 'value': 2.6,
},
{
'rgb': 'rgb(255, 127, 0)',
- 'value': '3.4',
? - -
+ 'value': 3.4,
},
{
'rgb': 'rgb(191, 127, 63)',
- 'value': '4.2',
? - -
+ 'value': 4.2,
},
{
'rgb': 'rgb(200, 200, 200)',
- 'value': '5',
? - -
+ 'value': 5,
},
{
'rgb': 'rgb(255, 255, 255)',
'value': 'nv',
},
{
'rgb': 'rgb(255, 255, 255)',
'value': 'default',
},
]
|
macOS build:
raster/r.colors.out/tests/r_colors_out_test.py#L103
test_r_colors_out_json_with_triplet_option
AssertionError: test failed: expected [{'value': 1, 'triplet': '0:191:191'}, {'value': 1.4, 'triplet': '0:255:0'}, {'value': 1.8, 'triplet': '255:255:0'}, {'value': 2.2, 'triplet': '255:127:0'}, {'value': 2.6, 'triplet': '191:127:63'}, {'value': 3, 'triplet': '200:200:200'}, {'value': 'nv', 'triplet': '255:255:255'}, {'value': 'default', 'triplet': '255:255:255'}] but got [{'value': '1', 'triplet': '0:191:191'}, {'value': '1.4', 'triplet': '0:255:0'}, {'value': '1.8', 'triplet': '255:255:0'}, {'value': '2.2', 'triplet': '255:127:0'}, {'value': '2.6', 'triplet': '191:127:63'}, {'value': '3', 'triplet': '200:200:200'}, {'value': 'nv', 'triplet': '255:255:255'}, {'value': 'default', 'triplet': '255:255:255'}]
assert [{'triplet': ...lue': 3}, ...] == [{'triplet': ...e': '3'}, ...]
At index 0 diff: {'value': 1, 'triplet': '0:191:191'} != {'value': '1', 'triplet': '0:191:191'}
Full diff:
[
{
'triplet': '0:191:191',
- 'value': '1',
? - -
+ 'value': 1,
},
{
'triplet': '0:255:0',
- 'value': '1.4',
? - -
+ 'value': 1.4,
},
{
'triplet': '255:255:0',
- 'value': '1.8',
? - -
+ 'value': 1.8,
},
{
'triplet': '255:127:0',
- 'value': '2.2',
? - -
+ 'value': 2.2,
},
{
'triplet': '191:127:63',
- 'value': '2.6',
? - -
+ 'value': 2.6,
},
{
'triplet': '200:200:200',
- 'value': '3',
? - -
+ 'value': 3,
},
{
'triplet': '255:255:255',
'value': 'nv',
},
{
'triplet': '255:255:255',
'value': 'default',
},
]
|
macOS build:
raster/r.colors.out/tests/r3_colors_out_test.py#L151
test_r3_colors_out_json_with_hex_option
AssertionError: test failed: expected [{'value': 1, 'hex': '#00BFBF'}, {'value': 1.8, 'hex': '#00FF00'}, {'value': 2.6, 'hex': '#FFFF00'}, {'value': 3.4, 'hex': '#FF7F00'}, {'value': 4.2, 'hex': '#BF7F3F'}, {'value': 5, 'hex': '#C8C8C8'}, {'value': 'nv', 'hex': '#FFFFFF'}, {'value': 'default', 'hex': '#FFFFFF'}] but got [{'value': '1', 'hex': '#00BFBF'}, {'value': '1.8', 'hex': '#00FF00'}, {'value': '2.6', 'hex': '#FFFF00'}, {'value': '3.4', 'hex': '#FF7F00'}, {'value': '4.2', 'hex': '#BF7F3F'}, {'value': '5', 'hex': '#C8C8C8'}, {'value': 'nv', 'hex': '#FFFFFF'}, {'value': 'default', 'hex': '#FFFFFF'}]
assert [{'hex': '#00...lue': 5}, ...] == [{'hex': '#00...e': '5'}, ...]
At index 0 diff: {'value': 1, 'hex': '#00BFBF'} != {'value': '1', 'hex': '#00BFBF'}
Full diff:
[
{
'hex': '#00BFBF',
- 'value': '1',
? - -
+ 'value': 1,
},
{
'hex': '#00FF00',
- 'value': '1.8',
? - -
+ 'value': 1.8,
},
{
'hex': '#FFFF00',
- 'value': '2.6',
? - -
+ 'value': 2.6,
},
{
'hex': '#FF7F00',
- 'value': '3.4',
? - -
+ 'value': 3.4,
},
{
'hex': '#BF7F3F',
- 'value': '4.2',
? - -
+ 'value': 4.2,
},
{
'hex': '#C8C8C8',
- 'value': '5',
? - -
+ 'value': 5,
},
{
'hex': '#FFFFFF',
'value': 'nv',
},
{
'hex': '#FFFFFF',
'value': 'default',
},
]
|
macOS build:
raster/r.colors.out/tests/r_colors_out_test.py#L127
test_r_colors_out_json_with_rgb_option
AssertionError: test failed: expected [{'value': 1, 'rgb': 'rgb(0, 191, 191)'}, {'value': 1.4, 'rgb': 'rgb(0, 255, 0)'}, {'value': 1.8, 'rgb': 'rgb(255, 255, 0)'}, {'value': 2.2, 'rgb': 'rgb(255, 127, 0)'}, {'value': 2.6, 'rgb': 'rgb(191, 127, 63)'}, {'value': 3, 'rgb': 'rgb(200, 200, 200)'}, {'value': 'nv', 'rgb': 'rgb(255, 255, 255)'}, {'value': 'default', 'rgb': 'rgb(255, 255, 255)'}] but got [{'value': '1', 'rgb': 'rgb(0, 191, 191)'}, {'value': '1.4', 'rgb': 'rgb(0, 255, 0)'}, {'value': '1.8', 'rgb': 'rgb(255, 255, 0)'}, {'value': '2.2', 'rgb': 'rgb(255, 127, 0)'}, {'value': '2.6', 'rgb': 'rgb(191, 127, 63)'}, {'value': '3', 'rgb': 'rgb(200, 200, 200)'}, {'value': 'nv', 'rgb': 'rgb(255, 255, 255)'}, {'value': 'default', 'rgb': 'rgb(255, 255, 255)'}]
assert [{'rgb': 'rgb...lue': 3}, ...] == [{'rgb': 'rgb...e': '3'}, ...]
At index 0 diff: {'value': 1, 'rgb': 'rgb(0, 191, 191)'} != {'value': '1', 'rgb': 'rgb(0, 191, 191)'}
Full diff:
[
{
'rgb': 'rgb(0, 191, 191)',
- 'value': '1',
? - -
+ 'value': 1,
},
{
'rgb': 'rgb(0, 255, 0)',
- 'value': '1.4',
? - -
+ 'value': 1.4,
},
{
'rgb': 'rgb(255, 255, 0)',
- 'value': '1.8',
? - -
+ 'value': 1.8,
},
{
'rgb': 'rgb(255, 127, 0)',
- 'value': '2.2',
? - -
+ 'value': 2.2,
},
{
'rgb': 'rgb(191, 127, 63)',
- 'value': '2.6',
? - -
+ 'value': 2.6,
},
{
'rgb': 'rgb(200, 200, 200)',
- 'value': '3',
? - -
+ 'value': 3,
},
{
'rgb': 'rgb(255, 255, 255)',
'value': 'nv',
},
{
'rgb': 'rgb(255, 255, 255)',
'value': 'default',
},
]
|
macOS build:
raster/r.colors.out/tests/r3_colors_out_test.py#L175
test_r3_colors_out_json_with_hsv_option
AssertionError: test failed: expected [{'value': 1, 'hsv': 'hsv(180, 100, 74)'}, {'value': 1.8, 'hsv': 'hsv(120, 100, 100)'}, {'value': 2.6, 'hsv': 'hsv(60, 100, 100)'}, {'value': 3.4, 'hsv': 'hsv(29, 100, 100)'}, {'value': 4.2, 'hsv': 'hsv(30, 67, 74)'}, {'value': 5, 'hsv': 'hsv(0, 0, 78)'}, {'value': 'nv', 'hsv': 'hsv(0, 0, 100)'}, {'value': 'default', 'hsv': 'hsv(0, 0, 100)'}] but got [{'value': '1', 'hsv': 'hsv(180, 100, 74)'}, {'value': '1.8', 'hsv': 'hsv(120, 100, 100)'}, {'value': '2.6', 'hsv': 'hsv(60, 100, 100)'}, {'value': '3.4', 'hsv': 'hsv(29, 100, 100)'}, {'value': '4.2', 'hsv': 'hsv(30, 67, 74)'}, {'value': '5', 'hsv': 'hsv(0, 0, 78)'}, {'value': 'nv', 'hsv': 'hsv(0, 0, 100)'}, {'value': 'default', 'hsv': 'hsv(0, 0, 100)'}]
assert [{'hsv': 'hsv...lue': 5}, ...] == [{'hsv': 'hsv...e': '5'}, ...]
At index 0 diff: {'value': 1, 'hsv': 'hsv(180, 100, 74)'} != {'value': '1', 'hsv': 'hsv(180, 100, 74)'}
Full diff:
[
{
'hsv': 'hsv(180, 100, 74)',
- 'value': '1',
? - -
+ 'value': 1,
},
{
'hsv': 'hsv(120, 100, 100)',
- 'value': '1.8',
? - -
+ 'value': 1.8,
},
{
'hsv': 'hsv(60, 100, 100)',
- 'value': '2.6',
? - -
+ 'value': 2.6,
},
{
'hsv': 'hsv(29, 100, 100)',
- 'value': '3.4',
? - -
+ 'value': 3.4,
},
{
'hsv': 'hsv(30, 67, 74)',
- 'value': '4.2',
? - -
+ 'value': 4.2,
},
{
'hsv': 'hsv(0, 0, 78)',
- 'value': '5',
? - -
+ 'value': 5,
},
{
'hsv': 'hsv(0, 0, 100)',
'value': 'nv',
},
{
'hsv': 'hsv(0, 0, 100)',
'value': 'default',
},
]
|
macOS build:
raster/r.colors.out/tests/r_colors_out_test.py#L151
test_r_colors_out_json_with_hex_option
AssertionError: test failed: expected [{'value': 1, 'hex': '#00BFBF'}, {'value': 1.4, 'hex': '#00FF00'}, {'value': 1.8, 'hex': '#FFFF00'}, {'value': 2.2, 'hex': '#FF7F00'}, {'value': 2.6, 'hex': '#BF7F3F'}, {'value': 3, 'hex': '#C8C8C8'}, {'value': 'nv', 'hex': '#FFFFFF'}, {'value': 'default', 'hex': '#FFFFFF'}] but got [{'value': '1', 'hex': '#00BFBF'}, {'value': '1.4', 'hex': '#00FF00'}, {'value': '1.8', 'hex': '#FFFF00'}, {'value': '2.2', 'hex': '#FF7F00'}, {'value': '2.6', 'hex': '#BF7F3F'}, {'value': '3', 'hex': '#C8C8C8'}, {'value': 'nv', 'hex': '#FFFFFF'}, {'value': 'default', 'hex': '#FFFFFF'}]
assert [{'hex': '#00...lue': 3}, ...] == [{'hex': '#00...e': '3'}, ...]
At index 0 diff: {'value': 1, 'hex': '#00BFBF'} != {'value': '1', 'hex': '#00BFBF'}
Full diff:
[
{
'hex': '#00BFBF',
- 'value': '1',
? - -
+ 'value': 1,
},
{
'hex': '#00FF00',
- 'value': '1.4',
? - -
+ 'value': 1.4,
},
{
'hex': '#FFFF00',
- 'value': '1.8',
? - -
+ 'value': 1.8,
},
{
'hex': '#FF7F00',
- 'value': '2.2',
? - -
+ 'value': 2.2,
},
{
'hex': '#BF7F3F',
- 'value': '2.6',
? - -
+ 'value': 2.6,
},
{
'hex': '#C8C8C8',
- 'value': '3',
? - -
+ 'value': 3,
},
{
'hex': '#FFFFFF',
'value': 'nv',
},
{
'hex': '#FFFFFF',
'value': 'default',
},
]
|
macOS build:
raster/r.colors.out/tests/r_colors_out_test.py#L175
test_r_colors_out_json_with_hsv_option
AssertionError: test failed: expected [{'value': 1, 'hsv': 'hsv(180, 100, 74)'}, {'value': 1.4, 'hsv': 'hsv(120, 100, 100)'}, {'value': 1.8, 'hsv': 'hsv(60, 100, 100)'}, {'value': 2.2, 'hsv': 'hsv(29, 100, 100)'}, {'value': 2.6, 'hsv': 'hsv(30, 67, 74)'}, {'value': 3, 'hsv': 'hsv(0, 0, 78)'}, {'value': 'nv', 'hsv': 'hsv(0, 0, 100)'}, {'value': 'default', 'hsv': 'hsv(0, 0, 100)'}] but got [{'value': '1', 'hsv': 'hsv(180, 100, 74)'}, {'value': '1.4', 'hsv': 'hsv(120, 100, 100)'}, {'value': '1.8', 'hsv': 'hsv(60, 100, 100)'}, {'value': '2.2', 'hsv': 'hsv(29, 100, 100)'}, {'value': '2.6', 'hsv': 'hsv(30, 67, 74)'}, {'value': '3', 'hsv': 'hsv(0, 0, 78)'}, {'value': 'nv', 'hsv': 'hsv(0, 0, 100)'}, {'value': 'default', 'hsv': 'hsv(0, 0, 100)'}]
assert [{'hsv': 'hsv...lue': 3}, ...] == [{'hsv': 'hsv...e': '3'}, ...]
At index 0 diff: {'value': 1, 'hsv': 'hsv(180, 100, 74)'} != {'value': '1', 'hsv': 'hsv(180, 100, 74)'}
Full diff:
[
{
'hsv': 'hsv(180, 100, 74)',
- 'value': '1',
? - -
+ 'value': 1,
},
{
'hsv': 'hsv(120, 100, 100)',
- 'value': '1.4',
? - -
+ 'value': 1.4,
},
{
'hsv': 'hsv(60, 100, 100)',
- 'value': '1.8',
? - -
+ 'value': 1.8,
},
{
'hsv': 'hsv(29, 100, 100)',
- 'value': '2.2',
? - -
+ 'value': 2.2,
},
{
'hsv': 'hsv(30, 67, 74)',
- 'value': '2.6',
? - -
+ 'value': 2.6,
},
{
'hsv': 'hsv(0, 0, 78)',
- 'value': '3',
? - -
+ 'value': 3,
},
{
'hsv': 'hsv(0, 0, 100)',
'value': 'nv',
},
{
'hsv': 'hsv(0, 0, 100)',
'value': 'default',
},
]
|
macOS build
No files were found with the provided path: testreport. No artifacts will be uploaded.
|