Switched from py.test to nosetests