#NEWLINE# def test_serialize( self ) : #NEWLINE# #INDENT# '\n        Serialization of a list of items should return a list of items.\n        ' #NEWLINE# input_object = BasicObject ( integers = [ 123 , 456 ] , booleans = [ True , False ] ) #NEWLINE# expected_output = { #NEWLINE# #INDENT# 'integers' : [ 123 , 456 ] , #NEWLINE# 'booleans' : [ True , False ] , #NEWLINE# #UNINDENT# } #NEWLINE# serializer = self . Serializer ( input_object ) #NEWLINE# assert ( serializer . data == expected_output )