#NEWLINE# def test_data( self ) : #NEWLINE# #INDENT# serializer = UserSerializer ( self . fixture . users , many = True , sideload = True ) #NEWLINE# self . assertEqual ( serializer . data , { #NEWLINE# #INDENT# 'users' : [ OrderedDict ( [ ( 'id' , 1 ) , ( 'name' , '0' ) , ( 'location' , 1 ) ] ) , OrderedDict ( [ ( 'id' , 2 ) , ( 'name' , '1' ) , ( 'location' , 1 ) ] ) , OrderedDict ( [ ( 'id' , 3 ) , ( 'name' , '2' ) , ( 'location' , 2 ) ] ) , OrderedDict ( [ ( 'id' , 4 ) , ( 'name' , '3' ) , ( 'location' , 3 ) ] ) ] , #NEWLINE# #UNINDENT# } )