wip
This commit is contained in:
Binary file not shown.
@@ -485,7 +485,8 @@ class TestGenerateTextureImage:
|
||||
overlay = MagicMock()
|
||||
overlay.enabled = True
|
||||
overlay.image_path = str(overlay_path)
|
||||
overlay.positioning_mode = 'ABSOLUTE'
|
||||
overlay.component_type = 'IMAGE'
|
||||
overlay.placement_mode = 'ABSOLUTE'
|
||||
overlay.x_position = 0.5
|
||||
overlay.y_position = 0.5
|
||||
overlay.scale = 1.0
|
||||
@@ -537,7 +538,8 @@ class TestGenerateTextureImage:
|
||||
overlay = MagicMock()
|
||||
overlay.enabled = True
|
||||
overlay.image_path = str(svg_path)
|
||||
overlay.positioning_mode = 'ABSOLUTE'
|
||||
overlay.component_type = 'IMAGE'
|
||||
overlay.placement_mode = 'ABSOLUTE'
|
||||
overlay.x_position = 0.5
|
||||
overlay.y_position = 0.5
|
||||
overlay.scale = 1.0
|
||||
@@ -580,7 +582,8 @@ class TestGenerateTextureImage:
|
||||
overlay = MagicMock()
|
||||
overlay.enabled = True
|
||||
overlay.image_path = ""
|
||||
overlay.positioning_mode = 'ABSOLUTE'
|
||||
overlay.component_type = 'IMAGE'
|
||||
overlay.placement_mode = 'ABSOLUTE'
|
||||
overlay.x_position = 0.5
|
||||
overlay.y_position = 0.5
|
||||
overlay.scale = 1.0
|
||||
@@ -619,7 +622,8 @@ class TestGenerateTextureImage:
|
||||
overlay = MagicMock()
|
||||
overlay.enabled = True
|
||||
overlay.image_path = str(overlay_path)
|
||||
overlay.positioning_mode = 'APPEND'
|
||||
overlay.component_type = 'IMAGE'
|
||||
overlay.placement_mode = 'APPEND'
|
||||
overlay.text_spacing = 10.0 # push further right
|
||||
overlay.image_spacing = 0.0
|
||||
overlay.scale = 1.0
|
||||
@@ -676,7 +680,8 @@ class TestGenerateTextureImage:
|
||||
overlay = MagicMock()
|
||||
overlay.enabled = True
|
||||
overlay.image_path = str(overlay_path)
|
||||
overlay.positioning_mode = 'PREPEND'
|
||||
overlay.component_type = 'IMAGE'
|
||||
overlay.placement_mode = 'PREPEND'
|
||||
overlay.text_spacing = 10.0 # push further left
|
||||
overlay.image_spacing = 0.0
|
||||
overlay.scale = 1.0
|
||||
|
||||
Reference in New Issue
Block a user