Align parameters better for overview

Contributes to issue CURA-3497.
This commit is contained in:
Ghostkeeper 2017-03-22 16:49:59 +01:00
parent 9d9832f8e2
commit 2eed596280
No known key found for this signature in database
GPG Key ID: C5F96EE2BC0F7E75

View File

@ -31,12 +31,12 @@ def findSomeContainers(container_id = "*", container_type = None, type = None, c
return unittest.mock.MagicMock() return unittest.mock.MagicMock()
## Tests whether the user changes are being read properly from a global stack. ## Tests whether the user changes are being read properly from a global stack.
@pytest.mark.parametrize("filename, user_changes_id", [ @pytest.mark.parametrize("filename, user_changes_id", [
("Global.global.cfg", "empty"), ("Global.global.cfg", "empty"),
("Global.stack.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. ("OnlyUser.global.cfg", "some_instance"), #This one does have a user profile.
("Complete.global.cfg", "some_user_changes") ("Complete.global.cfg", "some_user_changes")
]) ])
def test_deserializeUserChanges(filename, user_changes_id, container_registry): def test_deserializeUserChanges(filename, user_changes_id, container_registry):
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "stacks", filename)) as file_handle: with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), "stacks", filename)) as file_handle: