#NEWLINE# def test_get_raises_doesnotexist( self ) : #NEWLINE# #INDENT# manager = make_manager ( ) #NEWLINE# inst = ManagerMock ( manager ) #NEWLINE# inst . model . DoesNotExist = Exception #NEWLINE# self . assertRaises ( inst . model . DoesNotExist , inst . get )