def setUp(self):
        # setup gateway4labs environment
        add_sample_users()
        
        global CURRENT_PORT
        CURRENT_PORT += 1

        print "Launching process..."
        self.flask_process = subprocess.Popen([sys.executable, 'run.py', '--port', str(CURRENT_PORT), '--register-fake-rlms', '--testing'])
        print "Launched"

        # setup selenium environment
        self.driver = webdriver.Firefox()
        self.driver.implicitly_wait(30)
        self.base_url = "http://localhost:%s/" % CURRENT_PORT
        self.verificationErrors = []
        self.accept_next_alert = True

        print "Base URL: ", self.base_url
dataset/ETHPy150Open gateway4labs/labmanager/labmanager/tests/deprecated/integration/base.py/IntegrationTestCase.setUp/original