mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Remove unused variable
This was changed earlier that it doesn't return the same mock every time but creates a new mock in findContainer. So the single mock that used to be returned every time is no longer needed. Contributes to issue CURA-3497.
This commit is contained in:
parent
91192b702e
commit
96c7a4ed77
1 changed files with 1 additions and 2 deletions
|
@ -36,7 +36,6 @@ def test_loadTypes(filename, output_class, container_registry):
|
|||
else:
|
||||
return []
|
||||
container_registry.findContainers = findContainers
|
||||
mock_definition = unittest.mock.MagicMock()
|
||||
def findContainer(container_id = "*", container_type = None, type = "*", category = None):
|
||||
return unittest.mock.MagicMock()
|
||||
|
||||
|
@ -51,4 +50,4 @@ def test_loadTypes(filename, output_class, container_registry):
|
|||
assert type(container) == output_class
|
||||
break
|
||||
else:
|
||||
assert False #Container stack with specified ID was not loaded.
|
||||
assert False #Container stack with specified ID was not loaded.
|
Loading…
Add table
Add a link
Reference in a new issue