tests done
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build was killed

This commit is contained in:
2020-03-30 19:33:09 +02:00
parent 39d32f39f4
commit 50dec05e6b
7 changed files with 250 additions and 20 deletions

View File

@ -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:
"""