Browse Source

Document test_deserializeWrongDefinitionClass

Contributes to issue CURA-3497.
Ghostkeeper 8 years ago
parent
commit
f27e7fca88
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/Settings/TestGlobalStack.py

+ 2 - 0
tests/Settings/TestGlobalStack.py

@@ -324,6 +324,8 @@ def test_deserializeRemovesWrongContainerClass(global_stack):
 
     assert global_stack.quality == global_stack._empty_instance_container #Replaced with empty.
 
+##  Tests whether an instance container in the definition spot results in an
+#   error.
 def test_deserializeWrongDefinitionClass(global_stack):
     global_stack._containers[cura.Settings.CuraContainerStack._ContainerIndexes.Definition] = getInstanceContainer(container_type = "definition") #Correct type but wrong class.