#2706 - Removed some un-necessary comments and changes to network used in terminal ACL unit test
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user