2018-01-24 12:58:58 +02:00
|
|
|
import configparser
|
2018-03-02 21:56:03 +02:00
|
|
|
import os
|
2017-12-03 16:02:14 +01:00
|
|
|
|
|
|
|
class TestData(object):
|
|
|
|
|
|
|
|
def __init__(self):
|
2018-02-05 16:14:28 +02:00
|
|
|
self.test_name = None
|
2018-01-24 12:58:58 +02:00
|
|
|
self.config = configparser.ConfigParser()
|
|
|
|
|
|
|
|
# define here path to your config.ini file
|
2018-01-26 20:12:58 +02:00
|
|
|
# example - config_example.ini
|
2018-01-24 12:58:58 +02:00
|
|
|
|
2018-03-02 21:56:03 +02:00
|
|
|
self.config.read(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'config.ini'))
|
2018-01-26 20:12:58 +02:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2018-01-24 12:58:58 +02:00
|
|
|
|
2017-12-03 16:02:14 +01:00
|
|
|
|
|
|
|
test_data = TestData()
|