Commit bed99335 authored by aureliano sinatra's avatar aureliano sinatra Committed by Michele Carignani
Browse files

fixed comit

parent 7b0e27f3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ if [ "$1" != "" ]; then
	for file in $DIR/*.robot; do
		filename=$(basename "$file")
		if [[ $filename != *"$EXCLUDE"* ]]; then
			python robot2doc/main.py $file "${filename%.*}.docx" $COMMIT
			python robot2doc/main.py $file "${filename%.*}.docx" "${filename%.*}" $COMMIT
		else
			echo "excluded file: $filename"	
		fi
+4 −3
Original line number Diff line number Diff line
@@ -121,11 +121,12 @@ class TestSpec():
        file, according to the configured URL prefix configured.
        '''
        empty_par = self.doc.add_paragraph("")
        note_par = self.doc.add_paragraph("NOTE: Robot code can be found at ")
        
        hyperlink = add_hyperlink(note_par, commit + robot_file, commit + robot_file, None, True)
        commit_url="https://forge.etsi.org/gitlab/nfv/api-tests/raw/"+commit+"/SOL00Y/AAA-API/"+robot_file

        note_par = self.doc.add_paragraph("NOTE: Robot code can be found at ")
        note_par.style = self.doc.styles["NO"]
        hyperlink = add_hyperlink(note_par, commit_url, commit_url, None, True)

    def add_tp(self, fields, testbehaviour):
        table = self.doc.add_table(cols=2, rows=1)