mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-23 16:43:49 +08:00
Tests: Fix client/app output comparisons
This commit is contained in:
@@ -34,7 +34,7 @@ def ctrl_dynsec_cmd(args, ports, response=None, input=None):
|
||||
|
||||
proc = subprocess.run([mosq_paths.mosquitto_ctrl]
|
||||
+ opts + ["dynsec"] + args,
|
||||
env=env, capture_output=True, encoding='utf-8', timeout=2, input=input)
|
||||
env=env, capture_output=True, text=True, encoding='utf-8', input=input)
|
||||
|
||||
if response is not None:
|
||||
if proc.stdout != response:
|
||||
|
||||
Reference in New Issue
Block a user