mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 06:55:54 +08:00
Fix structure of mock container tree
Found during testing and tooling.
This commit is contained in:
parent
f33937eb7b
commit
4e8929a072
@ -35,7 +35,7 @@ def mock_container_tree() -> MagicMock:
|
|||||||
"um3_aa4_pla_normal": MagicMock(
|
"um3_aa4_pla_normal": MagicMock(
|
||||||
quality_type = "normal",
|
quality_type = "normal",
|
||||||
intents = {
|
intents = {
|
||||||
"smooth": MagicMock(
|
"um3_aa4_pla_smooth_normal": MagicMock(
|
||||||
intent_category = "smooth",
|
intent_category = "smooth",
|
||||||
getMetadata = MagicMock(return_value = mocked_intent_metadata[0])
|
getMetadata = MagicMock(return_value = mocked_intent_metadata[0])
|
||||||
)
|
)
|
||||||
@ -44,7 +44,7 @@ def mock_container_tree() -> MagicMock:
|
|||||||
"um3_aa4_pla_abnorm": MagicMock(
|
"um3_aa4_pla_abnorm": MagicMock(
|
||||||
quality_type = "abnorm",
|
quality_type = "abnorm",
|
||||||
intents = {
|
intents = {
|
||||||
"strong": MagicMock(
|
"um3_aa4_pla_strong_abnorm": MagicMock(
|
||||||
intent_category = "strong",
|
intent_category = "strong",
|
||||||
getMetadata = MagicMock(return_value = mocked_intent_metadata[1])
|
getMetadata = MagicMock(return_value = mocked_intent_metadata[1])
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user