mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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:
|
else:
|
||||||
return []
|
return []
|
||||||
container_registry.findContainers = findContainers
|
container_registry.findContainers = findContainers
|
||||||
mock_definition = unittest.mock.MagicMock()
|
|
||||||
def findContainer(container_id = "*", container_type = None, type = "*", category = None):
|
def findContainer(container_id = "*", container_type = None, type = "*", category = None):
|
||||||
return unittest.mock.MagicMock()
|
return unittest.mock.MagicMock()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue