open-bounty/test/end-to-end/tests/__init__.py

22 lines
577 B
Python

import configparser
import os
class TestData(object):
def __init__(self):
self.test_name = None
self.config = configparser.ConfigParser()
# define here path to your config.ini file
# example - config_example.ini
self.config.read(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'config.ini'))
# self.issue['title'] is set in GithubPage::create_new_bounty
# self.issue['id'] is set in GithubPage::create_new_bounty
# self.local_repo_path is set in GithubPage::clone_repo
test_data = TestData()