Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2017-05-12 17:32:55 +0300
committerGhostkeeper <rubend@tutanota.com>2017-05-12 17:32:55 +0300
commit1bac7c2b2a91166d42cb56e8c937d6a116d3b46b (patch)
tree14de0493d6986fe542e8128544286e2a0644a4cd /tests
parentdef93f8dc94420129391bcb7054454ef7cdd1923 (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/Settings/TestCuraContainerRegistry.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/Settings/TestCuraContainerRegistry.py b/tests/Settings/TestCuraContainerRegistry.py
index 268ad7fb90..ad79f74dd4 100644
--- a/tests/Settings/TestCuraContainerRegistry.py
+++ b/tests/Settings/TestCuraContainerRegistry.py
@@ -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):