def setup_py_test():
 nose.main(addplugins=[NoseSQLAlchemy()], argv=['runner'])

def setup_py_test ( ) : nose . main ( addplugins = [ NoseSQLAlchemy ( ) ] , argv = [ 'runner' ] )
runner to use for the test_suite entry of your setup .