Ghostkeeper
|
dfd8cfb2b8
Skip test_deserializeMoveDefinitionContainer
|
7 years ago |
Ghostkeeper
|
71aca6aa4b
Remove old deserialize tests
|
7 years ago |
Ghostkeeper
|
f12ffad2c1
Add test for moving definition containers
|
7 years ago |
Ghostkeeper
|
e807739117
Add test for moving containers through deserialising
|
7 years ago |
Ghostkeeper
|
f27e7fca88
Document test_deserializeWrongDefinitionClass
|
7 years ago |
Ghostkeeper
|
5e9695773a
Add test for instance containers on definition spot
|
7 years ago |
Ghostkeeper
|
00412e905f
Add test for removing definitions from instance locations
|
7 years ago |
Ghostkeeper
|
a955c3dfdd
Add test for removing invalid instance containers from serialisation
|
7 years ago |
Ghostkeeper
|
64ce8c0bb1
Add test for whether an empty stack deserialises to proper size
|
7 years ago |
Ghostkeeper
|
069235f9e0
Split test_constrainContainerTypes into multiple tests
|
7 years ago |
Ghostkeeper
|
d74aa4d24e
Don't get with default from dictionary using named parameters
|
7 years ago |
Ghostkeeper
|
16b3c78667
Guard against type checking of DefinitionContainer
|
7 years ago |
Ghostkeeper
|
7158ebdaea
Guard against type checking when replacing definition container
|
7 years ago |
Ghostkeeper
|
d5df226024
Cache the indexes class
|
7 years ago |
Ghostkeeper
|
f4fcb50a4f
Fix container types of mock containers in fallthrough
|
7 years ago |
Ghostkeeper
|
4dfc86d5bb
Remove unused import
|
7 years ago |
Ghostkeeper
|
e71af663c3
Make getEmptyInstanceContainer return a container with ID 'empty'
|
7 years ago |
Ghostkeeper
|
7ce89f5d80
Simplify defaults for container IDs in fixtures
|
7 years ago |
Ghostkeeper
|
46f3b5bd97
Use yield_fixture for fixtures with teardown
|
7 years ago |
Ghostkeeper
|
8506c21099
Replace DefinitionContainer with MagicMock in test_addExtruder
|
7 years ago |
Arjen Hiemstra
|
d7984c888b
Use a proper container mock for test user/quality changes
|
7 years ago |
Arjen Hiemstra
|
30fd1ded45
Fix setPropertyOtherContainers test
|
7 years ago |
Arjen Hiemstra
|
3c1cbd5aa9
Do not compare string to actual type
|
7 years ago |
Arjen Hiemstra
|
3620ce4c0a
Fix setPropertyUser test with the right container and parameter order of setProperty
|
7 years ago |
Arjen Hiemstra
|
87ce6246d8
Introduce a "writable global stack" fixture
|
7 years ago |
Arjen Hiemstra
|
dc84141714
Implement set/getProperty for MockContainer
|
7 years ago |
Arjen Hiemstra
|
7175ac0d20
Do not try to perform a setProperty on a definition
|
7 years ago |
Arjen Hiemstra
|
2a2df31c5b
Set the User container to a writable container in testSetProperty
|
7 years ago |
Arjen Hiemstra
|
3f1f4a172d
Fix constrainContainerTypes test
|
7 years ago |
Arjen Hiemstra
|
593c6c0c8f
Set and clear ContainerStack's _containerRegistry property
|
7 years ago |
Arjen Hiemstra
|
8f36e76588
Make sure to use the right metadata type entry for mock containers
|
7 years ago |
Arjen Hiemstra
|
60ee1a3f75
We also raise InvalidContainer when setting variant
|
7 years ago |
Arjen Hiemstra
|
5892f13349
Fix naming of definitionChanges property in test
|
7 years ago |
Arjen Hiemstra
|
da751fa0ea
We raise InvalidContainerError, not KeyError when a container was not found
|
7 years ago |
Arjen Hiemstra
|
270cdd08cb
Don't modify ContainerStack._containerRegistry property
|
7 years ago |
Arjen Hiemstra
|
385d8ac5b5
Properly mock Container and ContainerRegistry objects in Global stack test
|
7 years ago |
Ghostkeeper
|
2936b9bf24
Fail deserialize test if missing container doesn't raise an exception
|
7 years ago |
Ghostkeeper
|
14ac41e58f
Add tests for setQualityChangesById
|
7 years ago |
Ghostkeeper
|
498956a190
Add tests for setQualityById
|
7 years ago |
Ghostkeeper
|
d9ba848dc8
Add tests for setMeterialById
|
7 years ago |
Ghostkeeper
|
3e437074ae
Sort tests better
|
7 years ago |
Ghostkeeper
|
dbc4a90e10
Add tests for setDefinitionChangesById
|
7 years ago |
Ghostkeeper
|
928181507d
Add tests for setDefinitionById
|
7 years ago |
Ghostkeeper
|
f29d5e897c
Add tests for setVariantById
|
7 years ago |
Ghostkeeper
|
72bbb8ec0c
Also test whether adding an extruder had any effect on the extruder list
|
7 years ago |
Ghostkeeper
|
55dd17cae7
Add tests for changing properties on specified containers
|
7 years ago |
Ghostkeeper
|
319fd929d8
Add test for setProperty to set properties on user changes
|
7 years ago |
Ghostkeeper
|
3d7dbe2e3b
Expand constrainContainerTypes test with subclasses of container types
|
7 years ago |
Ghostkeeper
|
00c1c2dcf6
Add test to verify that you can't change types of containers
|
7 years ago |
Ghostkeeper
|
d1dc48d7e1
Add test to verify priority of resolve property
|
7 years ago |