def __init__(self): test_rail_info = ConfigLoader.get_test_report_config() self.test_rail = TestRailAPIClient(test_rail_info['URL'], test_rail_info['User'], test_rail_info['Password']) self.test_sections = {} self.build_number = None
def __init__(self, test_run_id, tested_build_version): self.tested_build_version = tested_build_version self.test_run_id = test_run_id test_rail_info = ConfigLoader.get_test_report_config() self.test_rail = TestRailAPIClient( test_rail_info['URL'], test_rail_info['User'], test_rail_info['Password'])