<s> from unittest import TestCase <EOL> from flask . ext . acl import ACLManager <EOL> from flask . ext . login import LoginManager <EOL> from flask import Flask <EOL> class FlaskTestCase ( TestCase ) : <EOL> def setUp ( self ) : <EOL> self . flask = Flask ( '<STR_LIT>' ) <EOL> self . flask . config [ '<STR_LIT>' ] = '<STR_LIT>' <EOL> self . authn = LoginManager ( self . flask ) <EOL> self . authz = ACLManager ( self . flask ) <EOL> self . client = self . flask . test_client ( ) <EOL> @ self . flask . route ( '<STR_LIT>' ) <EOL> @ self . authz . route_acl ( '<STR_LIT>' ) <EOL> def login ( ) : <EOL> return '<STR_LIT>' , <NUM_LIT> </s>
