#NEWLINE# @ classmethod #NEWLINE# def setUpClass( cls ) : #NEWLINE# #INDENT# sys . argv = [ 'architect' , 'partition' , '--module' , 'tests.models.pony' ] #NEWLINE# with capture ( ) as ( out , _ ) : #NEWLINE# #INDENT# search = 'successfully (re)configured the database for the following models' #NEWLINE# assert ( out in out ) , '{0} not in {1}' . format ( search , out )