def setUp(self):
     RunAndLogTest.setUp(self)
     self.app_home = APP_HOME
     if self.dist_version == '14.04':
         self.python_version = 'python3.4'
     elif self.dist_version == '16.04':
         self.python_version = 'python3.5'
 def setUp(self):
     RunAndLogTest.setUp(self)
     self.git_repo = GIT_REPO
     p = re.compile('https://github.com/[\w\-]+/(\w+)\.git')
     self.db_name = p.match(self.git_repo).group(1)
     self.db_user = DB_USER
     self.db_admin_user = DB_ADMIN_USER
 def setUp(self):
     RunAndLogTest.setUp(self)
     self.test_dir = TEST_DIR
     if self.dist_version == '14.04':
         self.python_version = 'python3.4'
     elif self.dist_version == '16.04':
         self.python_version = 'python3.5'
 def setUp(self):
     RunAndLogTest.setUp(self)
     self.git_repo = GIT_REPO
     self.app_home = APP_HOME
     p = re.compile('https://github.com/[\w\-]+/(\w+)\.git')
     self.app_name = p.match(self.git_repo).group(1)
     self.venv = VENV
    def setUp(self):
        RunAndLogTest.setUp(self)
        self.git_repo = GIT_REPO
        self.app_home = APP_HOME
        p = re.compile('https://github.com/[\w\-]+/(\w+)\.git')
        self.app_name = p.match(self.git_repo).group(1)
        self.venv = VENV

        if os.path.exists(os.path.join(os.path.dirname(self.log_file), 'test_results')):
            shutil.rmtree(os.path.join(os.path.dirname(self.log_file), 'test_results'))
 def setUp(self):
     RunAndLogTest.setUp(self)
     self.app_home = APP_HOME_TMP
     self.web_user = WEB_USER
     self.webserver_user = WEBSERVER_USER
     self.static_path = STATIC_PATH
     self.media_path = MEDIA_PATH
     self.uwsgi_path = UWSGI_PATH
     self.down_path = DOWN_PATH
     self.nginx_conf = NGINX_CONF
     self.git_repo = GIT_REPO
     p = re.compile("https://github.com/[\w\-]+/(\w+)\.git")
     self.app_name = p.match(self.git_repo).group(1)
     self.reqs_file = REQS_FILE
     self.sys_deps_file = SYS_DEPS_FILE
     self.venv = VENV
 def tearDown(self):
     RunAndLogTest.tearDown(self)
     if os.path.exists(APP_HOME_TMP):
         shutil.rmtree(APP_HOME_TMP)
 def setUp(self):
     RunAndLogTest.setUp(self)