Skip to content

Commit

Permalink
Update spontini_server_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
paopre authored Apr 7, 2024
1 parent d07cb04 commit 8737149
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/spontini_server_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ def createCompileAndRemoveDummyLyFile():

##########################

exampleName = "padding-on-brackets-example"
logTaskLabel("CREATE PDF FILE FROM " + exampleName + ".ly")
body = {'cmd': 'CREATE_PDF', 'param1': exampleName + '.ly'}
jsonRes = sendMsgToSpontiniServer(body)
if jsonRes['status'] != 'OK' or \
os.path.getsize(os.path.join(examplesDir, exampleName + "-svgexport.pdf")) <= 0:
shutdownServerAndExit(webServerProc, 1)
else:
os.remove(os.path.join(examplesDir, exampleName + "-svgexport.pdf"))
#exampleName = "padding-on-brackets-example"
#logTaskLabel("CREATE PDF FILE FROM " + exampleName + ".ly")
#body = {'cmd': 'CREATE_PDF', 'param1': exampleName + '.ly'}
#jsonRes = sendMsgToSpontiniServer(body)
#if jsonRes['status'] != 'OK' or \
# os.path.getsize(os.path.join(examplesDir, exampleName + "-svgexport.pdf")) <= 0:
# shutdownServerAndExit(webServerProc, 1)
#else:
# os.remove(os.path.join(examplesDir, exampleName + "-svgexport.pdf"))

##########################

Expand Down

0 comments on commit 8737149

Please sign in to comment.