Fix path in GIMP examples
This commit is contained in:
@@ -19,7 +19,6 @@ from .pdf import check_pdf_pages
|
||||
from .slides import check_presenter_console_disable, check_image_stretch_and_center, check_slide_numbers_color, \
|
||||
compare_pptx_files, check_strikethrough, \
|
||||
check_slide_orientation_Portrait, evaluate_presentation_fill_to_rgb_distance, check_left_panel, check_transition
|
||||
# from .table import check_sheet_list, check_xlsx_freeze, check_xlsx_zoom, check_data_validations
|
||||
from .table import compare_table, compare_csv
|
||||
from .thunderbird import check_thunderbird_prefs, check_thunderbird_filter
|
||||
from .gimp import (
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1fxR-hAaF5BoONWxmzJTrIxXFw9EHTg_A",
|
||||
"path": "~/Desktop/computer.png"
|
||||
"path": "Desktop/computer.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -20,7 +20,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/computer.png"
|
||||
"Desktop/computer.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -83,12 +83,12 @@
|
||||
"func": "check_palette_and_structure_sim",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/computer.png",
|
||||
"path": "Desktop/computer.png",
|
||||
"dest": "computer.png"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/palette_computer.png",
|
||||
"path": "Desktop/palette_computer.png",
|
||||
"dest": "palette_computer.png"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1TOtPi1CQsWblGUtQ6AqayfjsPZ_THBJo",
|
||||
"path": "~/Desktop/dog_with_background.png"
|
||||
"path": "Desktop/dog_with_background.png"
|
||||
},
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=15YWmeOyUaA7vMX9Ts7-qyh82T8mHeepx",
|
||||
"path": "~/Desktop/dog_cutout_gold.png"
|
||||
"path": "Desktop/dog_cutout_gold.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -24,7 +24,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/dog_with_background.png"
|
||||
"Desktop/dog_with_background.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -87,12 +87,12 @@
|
||||
"func": "check_structure_sim",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/dog_cutout_gold.png",
|
||||
"path": "Desktop/dog_cutout_gold.png",
|
||||
"dest": "dog_cutout_gold.png"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/dog_without_background.png",
|
||||
"path": "Desktop/dog_without_background.png",
|
||||
"dest": "dog_without_background.png"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.usercontent.google.com/download?id=1-3cc3qqjlJ_3d9IpwsuvSuYpyJ2LxrIA&export=download&authuser=0&confirm=t&uuid=6b08e902-ed25-47d1-97d9-7794f9508288&at=APZUnTW74TY2hHtBbWDa0N7-cE58:1705060487948",
|
||||
"path": "~/Desktop/woman_sitting_by_the_tree2.png"
|
||||
"path": "Desktop/woman_sitting_by_the_tree2.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -20,7 +20,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/woman_sitting_by_the_tree2.png"
|
||||
"Desktop/woman_sitting_by_the_tree2.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -83,12 +83,12 @@
|
||||
"func": "check_saturation_increase_and_structure_sim",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/woman_sitting_by_the_tree2.png",
|
||||
"path": "Desktop/woman_sitting_by_the_tree2.png",
|
||||
"dest": "woman_sitting_by_the_tree2.png"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/edited_colorful.png",
|
||||
"path": "Desktop/edited_colorful.png",
|
||||
"dest": "edited_colorful.png"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1bS4xGh8bhQVSuRCwFscYZO_xzymAJgM8",
|
||||
"path": "~/Desktop/berry.png"
|
||||
"path": "Desktop/berry.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -20,7 +20,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/berry.png"
|
||||
"Desktop/berry.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -83,12 +83,12 @@
|
||||
"func": "check_image_mirror",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/berry.png",
|
||||
"path": "Desktop/berry.png",
|
||||
"dest": "berry.png"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/berry_mirror.png",
|
||||
"path": "Desktop/berry_mirror.png",
|
||||
"dest": "berry_mirror.png"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=18r4e9FqlMqqD1ltiHRixZkE_Jc865wgb",
|
||||
"path": "~/Desktop/white_background_with_object.xcf"
|
||||
"path": "Desktop/white_background_with_object.xcf"
|
||||
},
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1D9rLa3XDEk5warlI0jVxcbixyr8SQm_C",
|
||||
"path": "~/Desktop/white_background_with_object.png"
|
||||
"path": "Desktop/white_background_with_object.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -24,7 +24,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/white_background_with_object.xcf"
|
||||
"Desktop/white_background_with_object.xcf"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -87,12 +87,12 @@
|
||||
"func": "check_green_background",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/white_background_with_object.png",
|
||||
"path": "Desktop/white_background_with_object.png",
|
||||
"dest": "white_background_with_object.png"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/green_background_with_object.png",
|
||||
"path": "Desktop/green_background_with_object.png",
|
||||
"dest": "green_background_with_object.png"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.usercontent.google.com/download?id=13ECFsPxznuoCANto21ijj9OzP0APukIH&export=download&authuser=0&confirm=t&uuid=d8f2dd03-8992-4646-be62-3a3cf89583f2&at=APZUnTVsR0xmbXvpFIpXLzCcLrMa:1705062951627",
|
||||
"path": "~/Desktop/The_Lost_River_Of_Dreams.jpg"
|
||||
"path": "Desktop/The_Lost_River_Of_Dreams.jpg"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -20,7 +20,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/The_Lost_River_Of_Dreams.jpg"
|
||||
"Desktop/The_Lost_River_Of_Dreams.jpg"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -33,12 +33,12 @@
|
||||
"func": "check_file_exists_and_structure_sim",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/The_Lost_River_Of_Dreams.jpg",
|
||||
"path": "Desktop/The_Lost_River_Of_Dreams.jpg",
|
||||
"dest": "The_Lost_River_Of_Dreams.jpg"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/export.jpg",
|
||||
"path": "Desktop/export.jpg",
|
||||
"dest": "export.jpg"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.usercontent.google.com/download?id=1SIvX9Wimyw6i2UvnoLTNDHIObvDLAsIM&export=download&authuser=0&confirm=t&uuid=a48447ab-13a2-421f-9662-6ffff8f6f6d5&at=APZUnTVRxofs822XxgEv33WwYCkb:1705046264363",
|
||||
"path": "~/Desktop/woman_sitting_by_the_tree.png"
|
||||
"path": "Desktop/woman_sitting_by_the_tree.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -20,7 +20,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/woman_sitting_by_the_tree.png"
|
||||
"Desktop/woman_sitting_by_the_tree.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -83,12 +83,12 @@
|
||||
"func": "check_brightness_decrease_and_structure_sim",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/woman_sitting_by_the_tree.png",
|
||||
"path": "Desktop/woman_sitting_by_the_tree.png",
|
||||
"dest": "woman_sitting_by_the_tree.png"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/edited_darker.png",
|
||||
"path": "Desktop/edited_darker.png",
|
||||
"dest": "edited_darker.png"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1IQPiNT6Vmd0YO0OytaB8lb_Dvo1mCGnP",
|
||||
"path": "~/Desktop/dog_with_background.png"
|
||||
"path": "Desktop/dog_with_background.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -20,7 +20,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/dog_with_background.png"
|
||||
"Desktop/dog_with_background.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1CqcNw_8O0VeLuD0VkVTgDHOoUMFQNOXN",
|
||||
"path": "~/Desktop/white_background.xcf"
|
||||
"path": "Desktop/white_background.xcf"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -20,7 +20,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/white_background.xcf"
|
||||
"Desktop/white_background.xcf"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=14ZEnUNHrIVDvcyF6A6EFgma6LcgPWj1X",
|
||||
"path": "~/Desktop/dog_with_background.png"
|
||||
"path": "Desktop/dog_with_background.png"
|
||||
},
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1wq2sjBX8X-SGIEj1GKLGAuQ8BNVYqa0-",
|
||||
"path": "~/Desktop/dog_with_background_two_layers.xcf"
|
||||
"path": "Desktop/dog_with_background_two_layers.xcf"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -24,7 +24,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/dog_with_background_two_layers.xcf"
|
||||
"Desktop/dog_with_background_two_layers.xcf"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -87,12 +87,12 @@
|
||||
"func": "check_image_size_and_structure_sim",
|
||||
"expected":{
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/dog_with_background.png",
|
||||
"path": "Desktop/dog_with_background.png",
|
||||
"dest": "dog_with_background.png"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/resized.png",
|
||||
"path": "Desktop/resized.png",
|
||||
"dest": "resized.png"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1KMHuScgF8Eq9OPR40SCntxO3Q1DUmbKV",
|
||||
"path": "~/Desktop/orange_background.xcf"
|
||||
"path": "Desktop/orange_background.xcf"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -20,7 +20,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/orange_background.xcf"
|
||||
"Desktop/orange_background.xcf"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -83,7 +83,7 @@
|
||||
"func": "check_textbox_on_leftside",
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/leftside_textbox.png",
|
||||
"path": "Desktop/leftside_textbox.png",
|
||||
"dest": "leftside_textbox.png"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,11 +10,11 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1p0m5meh7NIT4v6hNdqJqK3GCcpZiMapB",
|
||||
"path": "~/Desktop/Triangle_On_The_Side.png"
|
||||
"path": "Desktop/Triangle_On_The_Side.png"
|
||||
},
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1w7f2fW2mWkUbteQvQd-lepHzvBC9GaG_",
|
||||
"path": "~/Desktop/Triangle_On_The_Side.xcf"
|
||||
"path": "Desktop/Triangle_On_The_Side.xcf"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -24,7 +24,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/Triangle_On_The_Side.xcf"
|
||||
"Desktop/Triangle_On_The_Side.xcf"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -87,7 +87,7 @@
|
||||
"func": "check_triangle_position",
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/Triangle_In_The_Middle.png",
|
||||
"path": "Desktop/Triangle_In_The_Middle.png",
|
||||
"dest": "Triangle_In_The_Middle.png"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.google.com/uc?export=download&id=1X42_kOanL74vu_p6QdcZuiyzDQi3kA7F",
|
||||
"path": "~/Desktop/berries.png"
|
||||
"path": "Desktop/berries.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -20,7 +20,7 @@
|
||||
"parameters": {
|
||||
"command": [
|
||||
"gimp",
|
||||
"~/Desktop/berries.png"
|
||||
"Desktop/berries.png"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -83,12 +83,12 @@
|
||||
"func": "check_contrast_increase_and_structure_sim",
|
||||
"expected": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/berries.png",
|
||||
"path": "Desktop/berries.png",
|
||||
"dest": "berries.png"
|
||||
},
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "~/Desktop/berries_contrast.png",
|
||||
"path": "Desktop/berries_contrast.png",
|
||||
"dest": "berries_contrast.png"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user