using py.test - their documentation is very friendly