fix functional tests linelength pylint issues