Commit 08eca6d1 authored by Giuseppe Tropea's avatar Giuseppe Tropea
Browse files

changed direct link url to "tests-up-to-"

parent 0afb8d18
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ if __name__ == "__main__":
    number_of_all_testcases = 0
    number_of_successes = 0
    ROBOT_FILE_EXTENSION = ".robot"
    BASE_URL_OF_FORGE="https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/blob/testsuitedata/TP/NGSI-LD/"
    BASE_URL_OF_FORGE="https://forge.etsi.org/rep/cim/ngsi-ld-test-suite/-/blob/tests-up-to-1_5/TP/NGSI-LD/"

    fullpath = basedir+"/TP/NGSI-LD"
    for root, dirs, files in walk(fullpath):
@@ -43,7 +43,7 @@ if __name__ == "__main__":
                    else:
                        json_of_test_case["config_id"] = "CF_01"
                    # upgrade the version and add the reference in square brackets
                    json_of_test_case["reference"] = re.sub(r"V1.3.1 \[\]", "V1.5.1 [1]", json_of_test_case["reference"])
                    json_of_test_case["reference"] = re.sub(r"V1.3.1 \[\]", "version 1.5.1 [1]", json_of_test_case["reference"])
                    # now for each permutation inside this test case, create the permutation's correct parent_release
                    if "test_cases" in json_of_test_case:
                        # grab everything that is a permutation_body inside the "sub" test_cases,