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