#NEWLINE# def test_15776( self ) : #NEWLINE# #INDENT# policy = Policy . objects . create ( pk = 1 , policy_number = '1234' ) #NEWLINE# version = Version . objects . create ( policy = policy ) #NEWLINE# location = Location . objects . create ( version = version ) #NEWLINE# item = Item . objects . create ( version = version , location = location ) #NEWLINE# policy . delete ( )