mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 22:35:03 -06:00
Don't register registry at ContainerStack class any more
The fixture does this for us automatically now. It's not entirely neat since this is not cleaned up afterwards, but it does make sense to put it there in the fixture, logically. Contributes to issue CURA-3427.
This commit is contained in:
parent
def93f8dc9
commit
1bac7c2b2a
1 changed files with 0 additions and 1 deletions
|
@ -119,7 +119,6 @@ def test_addContainerBadSettingVersion(container_registry, definition_container)
|
|||
])
|
||||
def test_loadTypes(filename, output_class, container_registry):
|
||||
#Mock some dependencies.
|
||||
UM.Settings.ContainerStack.setContainerRegistry(container_registry)
|
||||
Resources.getAllResourcesOfType = unittest.mock.MagicMock(return_value = [os.path.join(os.path.dirname(os.path.abspath(__file__)), "stacks", filename)]) #Return just this tested file.
|
||||
|
||||
def findContainers(container_type = 0, id = None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue