#NEWLINE# def _run_coverage_for( kind ) : #NEWLINE# #INDENT# assert ( kind in ( 'unit' , 'integration' , '' ) ) #NEWLINE# test_folder = 'test/{0!s}' . format ( kind ) #NEWLINE# local ( ( 'coverage run --source=btsync,%(test_folder)s $(which nosetests) %(test_folder)s' % dict ( test_folder = test_folder ) ) )