#2706 - Removed some un-necessary comments and changes to network used in terminal ACL unit test

This commit is contained in:
Charlie Crane
2024-07-29 14:20:29 +01:00
parent 586e3f6389
commit f78cb24150
2 changed files with 9 additions and 8 deletions

View File

@@ -72,8 +72,6 @@ class Terminal(Service):
kwargs["protocol"] = IPProtocol.TCP
super().__init__(**kwargs)
# %% Util
def describe_state(self) -> Dict:
"""
Produce a dictionary describing the current state of this object.
@@ -182,8 +180,6 @@ class Terminal(Service):
"""Message that is reported when a request is rejected by this validator."""
return "Cannot perform request on terminal as not logged in."
# %% Inbound
def login(self, username: str, password: str, ip_address: Optional[IPv4Address] = None) -> bool:
"""Process User request to login to Terminal.
@@ -310,8 +306,6 @@ class Terminal(Service):
return True
# %% Outbound
def execute(self, command: List[Any]) -> bool:
"""Execute a passed ssh command via the request manager."""
# TODO: Expand as necessary, as new functionalilty is needed.