def create_app(self): app = create_app() app.config['TESTING'] = True app.config['INUPYPI_REPO'] = str(self.repo) app.config['HTAUTH_HTPASSWD_PATH'] = str(self.htpasswd) app.config['HTAUTH_REALM'] = 'Testing Authentication' return app
def create_app(self): app = create_app() app.config['TESTING'] = True app.config['INUPYPI_REPO'] = str(self.temp) return app