File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -129,14 +129,16 @@ async def setup_class(self):
129
129
asserts .fail ('This test requires a TH_ICD_SERVER app. Specify app path with --string-arg th_icd_server_app_path:<path_to_app>' )
130
130
131
131
self .kvs = f'kvs_{ str (uuid .uuid4 ())} '
132
- self .port = 5543
133
132
discriminator = 3850
134
133
passcode = 20202021
135
- app_args = f'--secured-device-port { self .port } --discriminator { discriminator } --passcode { passcode } --KVS { self .kvs } '
136
- cmd = f'{ app } { app_args } '
134
+ cmd = [app ]
135
+ cmd .extend (['--secured-device-port' , str (5543 )])
136
+ cmd .extend (['--discriminator' , str (discriminator )])
137
+ cmd .extend (['--passcode' , str (passcode )])
138
+ cmd .extend (['--KVS' , self .kvs ])
137
139
138
140
logging .info ("Starting ICD Server App" )
139
- self .app_process = subprocess .Popen (cmd , bufsize = 0 , shell = True )
141
+ self .app_process = subprocess .Popen (cmd )
140
142
logging .info ("ICD started" )
141
143
time .sleep (3 )
142
144
You can’t perform that action at this time.
0 commit comments