Example #1
0
    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
Example #2
0
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]
Example #3
0
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]
Example #4
0
 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