@before.all
def start_video_server():
 video_source_dir = '{}/data/video'.format(settings.TEST_ROOT)
 video_server = VideoSourceHttpService(port_num=settings.VIDEO_SOURCE_PORT)
 video_server.config['root_dir'] = video_source_dir
 world.video_source = video_server

@ before . all def start_video_server ( ) : video_source_dir = '{}/data/video' . format ( settings . TEST_ROOT ) video_server = VideoSourceHttpService ( port_num = settings . VIDEO_SOURCE_PORT ) video_server . config [ 'root_dir' ] = video_source_dir world . video_source = video_server
serve the html5 video sources from a local port .