mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 03:38:59 +08:00
Align test parameters for readability
Contributes to issue CURA-3497.
This commit is contained in:
parent
eae6ad0e05
commit
66b5fe6702
@ -62,12 +62,12 @@ def test_deserializeUserChanges(filename, user_changes_id, container_registry):
|
||||
|
||||
## Tests whether the quality changes are being read properly from a global
|
||||
# stack.
|
||||
@pytest.mark.parametrize("filename, quality_changes_id", [
|
||||
("Global.global.cfg", "empty"),
|
||||
("Global.stack.cfg", "empty"),
|
||||
("MachineLegacy.stack.cfg", "empty"),
|
||||
@pytest.mark.parametrize("filename, quality_changes_id", [
|
||||
("Global.global.cfg", "empty"),
|
||||
("Global.stack.cfg", "empty"),
|
||||
("MachineLegacy.stack.cfg", "empty"),
|
||||
("OnlyQualityChanges.global.cfg", "some_instance"),
|
||||
("Complete.global.cfg", "some_quality_changes")
|
||||
("Complete.global.cfg", "some_quality_changes")
|
||||
])
|
||||
def test_deserializeQualityChanges(filename, quality_changes_id, container_registry):
|
||||
serialized = readStack(filename)
|
||||
@ -83,12 +83,12 @@ def test_deserializeQualityChanges(filename, quality_changes_id, container_regis
|
||||
|
||||
## Tests whether the quality profile is being read properly from a global
|
||||
# stack.
|
||||
@pytest.mark.parametrize("filename, quality_id", [
|
||||
("Global.global.cfg", "empty"),
|
||||
("Global.stack.cfg", "empty"),
|
||||
@pytest.mark.parametrize("filename, quality_id", [
|
||||
("Global.global.cfg", "empty"),
|
||||
("Global.stack.cfg", "empty"),
|
||||
("MachineLegacy.stack.cfg", "empty"),
|
||||
("OnlyQuality.global.cfg", "some_instance"),
|
||||
("Complete.global.cfg", "some_quality")
|
||||
("OnlyQuality.global.cfg", "some_instance"),
|
||||
("Complete.global.cfg", "some_quality")
|
||||
])
|
||||
def test_deserializeQualityChanges(filename, quality_id, container_registry):
|
||||
serialized = readStack(filename)
|
||||
|
Loading…
x
Reference in New Issue
Block a user