#NEWLINE# def test_add_null_reverse_related( self ) : #NEWLINE# #INDENT# nulldriver = Driver . objects . create ( name = None ) #NEWLINE# with self . assertRaises ( ValueError ) : #NEWLINE# #INDENT# nulldriver . car_set . _add_items ( 'driver' , 'car' , nulldriver . car )