<s> """<STR_LIT>""" <EOL> from django . test import TestCase <EOL> from nose . tools import raises <EOL> from . model_factories import ApplicationFactory <EOL> from . . models import Application <EOL> class ApplicationModelTest ( TestCase ) : <EOL> @ raises ( Application . DoesNotExist ) <EOL> def test_delete_app ( self ) : <EOL> app = ApplicationFactory ( ) <EOL> app . delete ( ) <EOL> Application . objects . get ( pk = app . id ) </s>
