#NEWLINE# def test_init( self ) : #NEWLINE# #INDENT# testObject = self . pObjectClass ( id = 'test_id' ) #NEWLINE# self . assertEqual ( testObject . _id , 'test_id' ) #NEWLINE# testObject2 = self . pObjectClass ( ) #NEWLINE# self . assertIsNot ( testObject2 . _id , None ) #NEWLINE# self . assertEqual ( set ( [ 'name' , 'tags' ] ) , testObject . properties ( ) ) #NEWLINE# self . assertDictEqual ( dict ( name = None , tags = [ ] ) , testObject . properties_with_values ( include_defaults = True ) ) #NEWLINE# self . assertDictEqual ( dict ( ) , testObject . properties_with_values ( include_defaults = False ) )