@after.all
def stop_video_server(_total):
 video_server = getattr(world, 'video_source', None)
 if video_server:
  video_server.shutdown()

@ after . all def stop_video_server ( _total ) : video_server = getattr ( world , 'video_source' , None ) if video_server : video_server . shutdown ( )
stop the html5 video source server after all tests have executed .