def __init__(self): self.custom_timers = {} self.br = init_browser() while True: self.user = FakeUser(self.br) timer = self.user.log_in() self.custom_timers[timer[0]] = timer[1] if self.user.logged_in: break
class Transaction(object): def __init__(self): self.custom_timers = {} self.br = init_browser() while True: self.user = FakeUser(self.br) timer = self.user.log_in() self.custom_timers[timer[0]] = timer[1] if self.user.logged_in: break def run(self): timer = self.user.post_chirp() self.custom_timers[timer[0]] = timer[1]
class Transaction(object): def __init__(self): self.custom_timers={} self.br = init_browser() while True: self.user = FakeUser(self.br) timer=self.user.log_in() self.custom_timers[ timer[0] ]=timer[1] if self.user.logged_in: break def run(self): timer=self.user.follow() self.custom_timers[ timer[0] ]=timer[1]
def __init__(self): self.custom_timers={} self.br = init_browser() while True: self.user = FakeUser(self.br) timer=self.user.log_in() self.custom_timers[ timer[0] ]=timer[1] if self.user.logged_in: break