Skip to content

Commit

Permalink
Progress
Browse files Browse the repository at this point in the history
  • Loading branch information
ramo-j committed Jan 6, 2025
1 parent 3ef11fb commit 1eef691
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
5 changes: 2 additions & 3 deletions dftimewolf/lib/containers/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class _MODULE():


class ContainerManager():
"""A ConatinerManager.
"""A ContainerManager.
This ContainerManager handles container storage and delivery to modules.
Modules can only receive containers from other modules that they directly
Expand All @@ -29,8 +29,7 @@ class ContainerManager():
Attributes:
_mutex: Practice safe container access.
_dependencies: The module dependency mappings.
_storage: Container storage.
_modules: Container storage and dependency information.
"""

def __init__(self):
Expand Down
9 changes: 1 addition & 8 deletions tests/lib/containers/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,10 @@ def __eq__(self, other: "_TestContainer1"):
return self.param == other.param


class _TestContainer2(interface.AttributeContainer):
class _TestContainer2(_TestContainer1):
"""A Test container."""
CONTAINER_TYPE = 'test2'

def __init__(self, param: str):
super().__init__()
self.param = param

def __eq__(self, other: "_TestContainer2"):
return self.param == other.param


class ContainerManagerTest(unittest.TestCase):
"""Tests for the ContainerManager."""
Expand Down

0 comments on commit 1eef691

Please sign in to comment.