This is functionality test suite for Gnuk. You need python-nose, python-freshen as well as python-usb. Besides, python-crypto is needed when you use generate_keys.py to update *.key. Type: $ nosetests --with-freshen . or $ nosetests -v --with-freshen . to run the test suite.