#NEWLINE# def test_one_to_one_relationship( self ) : #NEWLINE# #INDENT# user = OratorTestUser . create ( email = 'john@doe.com' ) #NEWLINE# user . post ( ) . create ( name = 'First Post' ) #NEWLINE# post = user . post #NEWLINE# user = post . user #NEWLINE# self . assertEqual ( 'john@doe.com' , user . email ) #NEWLINE# self . assertEqual ( 'First Post' , post . name )