"from tito.common import *" don't allow me me to use common inside the script, so I've added that import to have a possibility for mocking common.error_out. I did this, because I would like to make an assertion against error output to ensure that a rpmbuild's output line is provided along with the error message. Perhaps there exists other way for mocking error_out function or asserting the result. I'll gladly learn it.