def acquire(self, waitflag=None, timeout=-1):
        if waitflag is None or waitflag:
            self.locked_status = True
            return True
        else:
            if not self.locked_status:
                self.locked_status = True
                return True
            else:
                if timeout > 0:
                    import time
                    time.sleep(timeout)
                return False
Test successful login of mobile user.
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/_dummy_thread.py/LockType.acquire--crossover with--dataset/ETHPy150Open viewfinderco/viewfinder/backend/www/test/auth_facebook_test.py/AuthFacebookTestCase.testLoginMobileUser