tests done
This commit is contained in:
@ -28,10 +28,10 @@ class MessageSender:
|
||||
"""
|
||||
self.communicator = communicator
|
||||
|
||||
def randomstring(self, stringLength) -> str:
|
||||
def randomstring(self, stringlength: int) -> str:
|
||||
"""Generate a random string of fixed length """
|
||||
letters = string.ascii_lowercase
|
||||
return ''.join(random.choice(letters) for i in range(stringLength))
|
||||
return ''.join(random.choice(letters) for i in range(stringlength))
|
||||
|
||||
def sendmessage(self, message: str = "") -> None:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user