Update test_server.py
This commit is contained in:
parent
81d321a62f
commit
9473668dd4
|
@ -40,7 +40,7 @@ def get_config(request):
|
|||
def setup_module(get_config):
|
||||
def run_cmd(command):
|
||||
print("CMD:", command)
|
||||
result = subprocess.run(command, capture_output=True, text=False, shell=False)
|
||||
result = subprocess.run(command, capture_output=True, text=True, shell=True)
|
||||
print("STDOUT:", result.stdout)
|
||||
print("STDERR:", result.stderr)
|
||||
print("Return Code:", result.returncode)
|
||||
|
|
Loading…
Reference in New Issue