#NEWLINE# def test_simple( ) : #NEWLINE# #INDENT# project = Project ( id = UUID ( hex = '33846695b2774b29a71795a009e8168a' ) , slug = 'hello-world' , name = 'Hello world' , date_created = datetime ( 2013 , 9 , 19 , 22 , 15 , 22 ) ) #NEWLINE# result = serialize ( project ) #NEWLINE# assert ( result [ 'name' ] == 'Hello world' ) #NEWLINE# assert ( result [ 'id' ] == '33846695b2774b29a71795a009e8168a' ) #NEWLINE# assert ( result [ 'slug' ] == 'hello-world' ) #NEWLINE# assert ( result [ 'dateCreated' ] == '2013-09-19T22:15:22' )