#NEWLINE# def test_whether_included_in_props_with_values( self ) : #NEWLINE# #INDENT# obj = HasStringDictProp ( ) #NEWLINE# self . assertFalse ( ( 'foo' in obj . properties_with_values ( include_defaults = False ) ) ) #NEWLINE# self . assertTrue ( ( 'foo' in obj . properties_with_values ( include_defaults = True ) ) ) #NEWLINE# foo = obj . foo #NEWLINE# self . assertEqual ( self , foo ) #NEWLINE# self . assertFalse ( ( 'foo' in obj . properties_with_values ( include_defaults = False ) ) ) #NEWLINE# self . assertTrue ( ( 'foo' in obj . properties_with_values ( include_defaults = True ) ) ) #NEWLINE# obj . foo [ 'bar' ] = 42 #NEWLINE# self . assertTrue ( ( 'foo' in obj . properties_with_values ( include_defaults = False ) ) ) #NEWLINE# self . assertTrue ( ( 'foo' in obj . properties_with_values ( include_defaults = True ) ) )