Commit aabc5a40 authored by Hamza Baqa's avatar Hamza Baqa

More prints

parent 9305abb8
......@@ -44,17 +44,24 @@ print('Preparing to send the file 1 to the OV to the address : ' + URL_to_send_
#Upload file 1
file_1 = {'file': open(file_1_to_validate_path, 'rb')}
r_1 = requests.post(URL_to_send_validation, files=file_1)
print('file 1 sent and the response ' + r_2.text)
print('file 1 sent and the response ' + r_1.text)
ioppytest_cli._ui_display_markdown_text('file 1 sent and the response ' + r_1.text)
j_1 = json.loads(r_1.text)
print('file 1 uploaded and it cointains these ontologies ' +j_1 )
ioppytest_cli._ui_display_markdown_text('file 1 uploaded and it cointains these ontologies ' +j_1)
print('Preparing to send the file 2 to the OV to the address : '+ URL_to_send_validation )
#Upload file 2
file_2 = {'file': open(file_2_to_validate_path, 'rb')}
r_2 = requests.post(URL_to_send_validation, files=file_2)
print('file 2 sent and the response ' + r_2.text)
ioppytest_cli._ui_display_markdown_text('file 2 sent and the response ' + r_2.text)
j_2 = json.loads(r_2.text)
print('file 1 uploaded and it cointains these ontologies ' +j_1 )
print('file 2 uploaded and it cointains these ontologies ' +j_2 )
ioppytest_cli._ui_display_markdown_text('file 2 uploaded and it cointains these ontologies ' +j_2)
def dico_to_ont_list_ontopath(my_dico):
li = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment