mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Fix tests in the ExtruderStack.
Contributes to CURA-5628.
This commit is contained in:
parent
e1fd9b03a4
commit
b85950b128
3 changed files with 49 additions and 59 deletions
|
@ -179,7 +179,7 @@ def test_constrainDefinitionChangesValid(container, global_stack):
|
|||
getInstanceContainer(container_type = "wrong class"),
|
||||
getInstanceContainer(container_type = "material"), #Existing, but still wrong class.
|
||||
])
|
||||
def test_constrainVariantInvalid(container, global_stack):
|
||||
def test_constrainDefinitionInvalid(container, global_stack):
|
||||
with pytest.raises(InvalidContainerError): #Invalid container, should raise an error.
|
||||
global_stack.definition = container
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue