#NEWLINE# def test_primary_key_foreign_key_types( self ) : #NEWLINE# #INDENT# d = Department . objects . create ( id = 10 , name = 'IT' ) #NEWLINE# w = Worker . objects . create ( department = d , name = 'Full-time' ) #NEWLINE# self . assertEqual ( unicode ( w ) , 'Full-time' )