Commit 48507a7c authored by thomas Bousselin's avatar thomas Bousselin
Browse files

fix: robotpath

parent 23019b26
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ from re import match, findall, finditer, sub, MULTILINE

class GenerateRobotData:
    def __init__(self, robot_file: str, execdir: str):
        self.robot_file = robot_file
        self.robot_file = robot_file.replace('\\', "/")
        self.execdir = execdir
        self.suite = TestSuiteBuilder().build(robot_file)

+1 −2
Original line number Diff line number Diff line
@@ -7,8 +7,7 @@ from os import makedirs, walk

def create_json_of_robotfile(robot_file_to_be_processed: str, computestatistics: bool=False):
    # TODO: ApiUtils.resource -> 'Delete Context Source Registration Subscription' added 'url=' as parameter
    folder_test_suites = dirname(dirname(__file__))

    folder_test_suites = dirname(dirname(__file__)).replace('\\', "/")
    folder_result_path = f'{folder_test_suites}/doc/results'
    result_file = f'{folder_result_path}/{robot_file_to_be_processed}.json'
    robot_path_to_be_processed, robot_file = find_robot_file(basedir=folder_test_suites,