mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Add test case where there is only a user changes profile
Specifically what this test requires. Contributes to issue CURA-3497.
This commit is contained in:
parent
60b6b72912
commit
ebd08ac994
2 changed files with 10 additions and 1 deletions
|
|
@ -13,7 +13,8 @@ import UM.Settings.ContainerRegistry
|
|||
@pytest.mark.parametrize("filename, user_changes_id", [
|
||||
("Global.global.cfg", "empty"),
|
||||
("Global.stack.cfg", "empty"),
|
||||
("MachineLegacy.stack.cfg", "empty")
|
||||
("MachineLegacy.stack.cfg", "empty"),
|
||||
("OnlyUser.global.cfg", "some_instance") #This one does have a user profile.
|
||||
])
|
||||
def test_deserializeUserChanges(filename, user_changes_id):
|
||||
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "stacks", filename)) as file_handle:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue