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:
Ghostkeeper 2017-03-23 16:16:32 +01:00
parent 91192b702e
commit 96c7a4ed77
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -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.