@@ -163,7 +163,7 @@ def take_screenshot(endpoint,container_tag):
163163# Main container test logic
164164def container_test (tag ):
165165 # Start the container
166- print ('Starting ' tag )
166+ print ('Starting ' + tag )
167167 container = client .containers .run (image + ':' + tag ,
168168 detach = True ,
169169 environment = dockerenv )
@@ -181,10 +181,10 @@ def container_test(tag):
181181 print (error )
182182 remove_container (container )
183183 if logsfound == True :
184- print ('Startup completed for ' tag )
184+ print ('Startup completed for ' + tag )
185185 report_tests .append (['Startup ' + tag ,'PASS' ])
186186 elif logsfound == False :
187- print ('Startup failed for ' tag )
187+ print ('Startup failed for ' + tag )
188188 report_tests .append (['Startup ' + tag ,'FAIL INIT NOT FINISHED' ])
189189 mark_fail ()
190190 if screenshot == 'true' :
@@ -199,7 +199,7 @@ def container_test(tag):
199199 ip = container .attrs ["NetworkSettings" ]["Networks" ]["bridge" ]["IPAddress" ]
200200 take_screenshot (proto + webauth + '@' + ip + ':' + port + webpath ,tag )
201201 # Dump package information
202- print ('Dumping package info for ' tag )
202+ print ('Dumping package info for ' + tag )
203203 if base == 'alpine' :
204204 command = 'apk info -v'
205205 elif base == 'debian' or base == 'ubuntu' :
@@ -208,7 +208,7 @@ def container_test(tag):
208208 info = container .exec_run (command )
209209 packages = info [1 ].decode ("utf-8" )
210210 report_tests .append (['Dump Versions ' + tag ,'PASS' ])
211- print ('Got Package info for ' tag )
211+ print ('Got Package info for ' + tag )
212212 except Exception as error :
213213 print (error )
214214 report_tests .append (['Dump Versions ' + tag ,'FAIL' ])
0 commit comments