<s> import unittest <EOL> from coaster . manage import init_manager , set_alembic_revision <EOL> import coaster <EOL> from flask . ext . sqlalchemy import SQLAlchemy <EOL> from flask import Flask <EOL> class TestManagePy ( unittest . TestCase ) : <EOL> def setUp ( self ) : <EOL> self . app = Flask ( __name__ ) <EOL> self . app . config . from_pyfile ( '<STR_LIT>' ) <EOL> self . db = SQLAlchemy ( self . app ) <EOL> self . manage = init_manager ( self . app , self . db , self . init_for ) <EOL> def test_sqlalchemy_database_uri ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertEqual ( '<STR_LIT>' , self . app . config . get ( '<STR_LIT>' ) ) <EOL> def init_for ( self , env ) : <EOL> coaster . app . init_app ( self . app , env ) <EOL> def test_set_alembic_revision ( self ) : <EOL> set_alembic_revision ( path = '<STR_LIT>' ) </s>
