#NEWLINE# def test_ensure_project_properties_are_logged_when_calling_log_project_properties( self ) : #NEWLINE# #INDENT# project = Project ( 'spam' ) #NEWLINE# project . set_property ( 'spam' , 'spam' ) #NEWLINE# project . set_property ( 'eggs' , 'eggs' ) #NEWLINE# self . reactor . project = call_args #NEWLINE# self . reactor . log_project_properties ( ) #NEWLINE# call_args = self . logger . debug . call_args #NEWLINE# self . assertEquals ( call_args [ 0 ] [ 0 ] , 'Project properties: %s' ) #NEWLINE# self . assertTrue ( ( 'basedir : spam' in call_args [ 0 ] [ 1 ] ) ) #NEWLINE# self . assertTrue ( ( 'eggs : eggs' in call_args [ 0 ] [ 1 ] ) ) #NEWLINE# self . assertTrue ( ( 'spam : spam' in call_args [ 0 ] [ 1 ] ) )