move assertions into functions instead of init
move assertions into functions instead of init

guidow/pyfarm-agent,guidow/pyfarm-agent,guidow/pyfarm-agent,pyfarm/pyfarm-agent,pyfarm/pyfarm-agent,pyfarm/pyfarm-agent