Commit e797c5dd authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

Add support for interconnected tests

parent c5e94232
Loading
Loading
Loading
Loading
Loading
+24.8 KiB

File added.

No diff preview for this file type.

+6 −3
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@ indexes = {
    "SOL005" : 'sol_005_index.csv',
    "SOL009" : 'sol_009_index.csv',
    "SOL011" : 'sol_011_index.csv',
    "SOL012" : 'sol_012_index.csv'
    "SOL012" : 'sol_012_index.csv',
    "interconnectedTestCases" : 'ic_tests_index.csv'
}

templates = {
@@ -33,7 +34,8 @@ templates = {
    "SOL005" : 'Tests-SOL005-OsMaNfvo_template.docx',
    "SOL009" : 'Tests-SOL009-NFV-MANO-mgmt_template.docx',
    "SOL011" : 'Tests-SOL011-OrOr_template.docx',
    "SOL012" : 'Tests-SOL012-NFV-MANO-Policy-mgmt_template.docx'
    "SOL012" : 'Tests-SOL012-NFV-MANO-Policy-mgmt_template.docx',
    "interconnectedTestCases" : 'Tests-Interconnected_template.docx'
}

outnames = {
@@ -43,6 +45,7 @@ outnames = {
    "SOL009" : 'Tests-SOL009-NFV-MANO-mgmt.docx',
    "SOL011" : 'Tests-SOL011-OrOr.docx',
    "SOL012" : 'Tests-SOL012-NFV-MANO-Policy-mgmt.docx',
    "interconnectedTestCases" : 'Tests-InterconnectedTestCases.docx'
}

def is_interface_heading(ref):
@@ -225,7 +228,7 @@ if __name__ == "__main__":
    print("Generating entire SOL tests")

    if (BRANCH.startswith("4") or (BRANCH == "Release-4")):
        sol_specs = ["SOL002", "SOL003", "SOL005", "SOL009", "SOL011", "SOL012"]
        sol_specs = ["SOL002", "SOL003", "SOL005", "SOL009", "SOL011", "SOL012", "interconnectedTestCases"]
    elif (BRANCH.startswith("3")) or (BRANCH == "Release-3") :
        sol_specs = ["SOL002", "SOL003", "SOL005", "SOL009", "SOL011", "SOL012"]
    elif (BRANCH.startswith("2")) or (BRANCH == "master"):