Properly set the ContainerRegistry for the missing container test

This commit is contained in:
Arjen Hiemstra 2017-04-10 17:51:46 +02:00
parent dfd8cfb2b8
commit 73779eef25

View File

@ -357,6 +357,8 @@ def test_deserializeMoveDefinitionContainer(global_stack):
assert global_stack.material.getId() == "empty" assert global_stack.material.getId() == "empty"
assert global_stack.definition.getId() != "empty" assert global_stack.definition.getId() != "empty"
UM.Settings.ContainerStack._containerRegistry = None
## Tests whether getProperty properly applies the stack-like behaviour on its ## Tests whether getProperty properly applies the stack-like behaviour on its
# containers. # containers.
def test_getPropertyFallThrough(global_stack): def test_getPropertyFallThrough(global_stack):