def __init__(self, index): Application.__init__(self) self.log_level = logging.INFO self.index = index # Add requests self.add_request(DocAction()) self.add_request(pypi_index) self.add_request(pypi_download) self.add_request(pypi_upload)
def __init__(self): Application.__init__(self) self.load_specs(os.path.join(os.path.dirname(__file__), 'test_app_files')) self.load_requests(os.path.join(os.path.dirname(__file__), 'test_app_files')) self.log_level = logging.INFO