akiko19191 commited on
Commit
ef55933
·
verified ·
1 Parent(s): fd100a7

Update tests.py

Browse files
Files changed (1) hide show
  1. tests.py +3 -1
tests.py CHANGED
@@ -103,7 +103,7 @@ def run(cmd, timeout_sec,forever_cmd):
103
 
104
  Parent.sendline(command)
105
  Parent.readline().decode()
106
- return str(Parent.readline().decode()) + "[INFO] The opened ports can be externally accessed at https://suitable-liked-ibex.ngrok-free.app/ (ONLY if the website is running successfully)"
107
  t=time.time()
108
  child = pexpect.spawn("bash")
109
  output=""
@@ -260,6 +260,8 @@ def run_code_files(start_cmd:str,forever_cmd:str) -> dict:
260
  Notes:
261
  - After execution, embed a download link (or display images/gifs/videos directly in markdown format) in your response.
262
  - When editing and subsequently re-executing the server with the forever_cmd='true' setting, the previous server instance will be automatically terminated, and the updated server will commence operation. This functionality negates the requirement for manual process termination commands such as pkill node.
 
 
263
  """
264
  global files_list
265
 
 
103
 
104
  Parent.sendline(command)
105
  Parent.readline().decode()
106
+ return str(Parent.readline().decode())
107
  t=time.time()
108
  child = pexpect.spawn("bash")
109
  output=""
 
260
  Notes:
261
  - After execution, embed a download link (or display images/gifs/videos directly in markdown format) in your response.
262
  - When editing and subsequently re-executing the server with the forever_cmd='true' setting, the previous server instance will be automatically terminated, and the updated server will commence operation. This functionality negates the requirement for manual process termination commands such as pkill node.
263
+ - The opened ports can be externally accessed at https://suitable-liked-ibex.ngrok-free.app/ (ONLY if the website is running successfully)
264
+
265
  """
266
  global files_list
267