62 Commits

Author SHA1 Message Date
Ghostkeeper
80329ad6e8
Fix test name
Oops. Copy-paste mistake.

Contributes to issue CURA-3497.
2017-03-22 17:26:37 +01:00
Ghostkeeper
66b5fe6702
Align test parameters for readability
Contributes to issue CURA-3497.
2017-03-22 17:25:22 +01:00
Ghostkeeper
eae6ad0e05
Add test to see whether quality profiles deserialise well
Works just the same as the quality-changes stuff.

Contributes to issue CURA-3497.
2017-03-22 17:24:21 +01:00
Ghostkeeper
ba43b835f4
Move reading the stack file to a separate function
That whole os.path stuff is a bit opaque. Now it's separated from the actual test.

Contributes to issue CURA-3497.
2017-03-22 17:10:04 +01:00
Ghostkeeper
09a3b90dcc
Add test for detecting quality changes
I should try to re-use a bit of code here because there's going to be a lot of these.

Contributes to issue CURA-3497.
2017-03-22 16:58:06 +01:00
Ghostkeeper
2eed596280
Align parameters better for overview
Contributes to issue CURA-3497.
2017-03-22 16:49:59 +01:00
Ghostkeeper
9d9832f8e2
Move findSomeContainers out to global function
This way we can re-use it for other tests.

Contributes to issue CURA-3497.
2017-03-22 16:48:58 +01:00
Ghostkeeper
c14b3e4f2b
Add test with complete stack
In this stack, all profiles are filled in properly with an instance container. This required some magic to make the container registry always return the desired profiles.

Contributes to issue CURA-3497.
2017-03-22 16:45:38 +01:00
Ghostkeeper
a2fe051c09
Allow all profiles as some_* to be instances
This allows us to differentiate between one container in the stack and the other.

Contributes to issue CURA-3497.
2017-03-22 15:58:28 +01:00
Ghostkeeper
ebd08ac994
Add test case where there is only a user changes profile
Specifically what this test requires.

Contributes to issue CURA-3497.
2017-03-22 15:54:32 +01:00
Ghostkeeper
60b6b72912
Rename some_material to some_instance
This way we can semantically use it in place of other instances on the stack as well without changing our test.

Contributes to issue CURA-3497.
2017-03-22 15:51:45 +01:00
Ghostkeeper
49fad35d28
Add test for global stack getting user changes
Tests fail right now because running the test actually deletes files. Got to fix that.

Contributes to issue CURA-3497.
2017-03-22 15:40:13 +01:00