<s> """<STR_LIT>""" <EOL> from flaskext . testing import TestCase as _TestCase <EOL> from simblin import create_app <EOL> from simblin . extensions import db <EOL> class TestCase ( _TestCase ) : <EOL> """<STR_LIT>""" <EOL> TESTING = True <EOL> CSRF_ENABLED = False <EOL> SQLALCHEMY_DATABASE_URI = "<STR_LIT>" <EOL> SQLALCHEMY_ECHO = False <EOL> def create_app ( self ) : <EOL> return create_app ( self ) <EOL> def clear_db ( self ) : <EOL> db . drop_all ( ) <EOL> db . create_all ( ) <EOL> def setUp ( self ) : <EOL> db . create_all ( ) <EOL> def tearDown ( self ) : <EOL> db . session . remove ( ) <EOL> self . _ctx . push ( ) <EOL> db . drop_all ( ) </s>
