Use classname instead of self for static method

This commit is contained in:
Shay Nehmad 2019-09-16 16:34:13 +03:00
parent 3b06768a98
commit 1f56e8df61
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class CommunicateAsNewUser(PBA):
super(CommunicateAsNewUser, self).__init__(name=POST_BREACH_COMMUNICATE_AS_NEW_USER) super(CommunicateAsNewUser, self).__init__(name=POST_BREACH_COMMUNICATE_AS_NEW_USER)
def run(self): def run(self):
username = self.get_random_new_user_name() username = CommunicateAsNewUser.get_random_new_user_name()
if is_windows_os(): if is_windows_os():
self.communicate_as_new_user_windows(username) self.communicate_as_new_user_windows(username)
else: else: