<s> from shakespeare . tests import * <EOL> import shakespeare . model as model <EOL> class TestAnthologyController ( TestController ) : <EOL> @ classmethod <EOL> def setup_class ( cls ) : <EOL> TestData . make_fixture ( ) <EOL> @ classmethod <EOL> def teardown_class ( cls ) : <EOL> TestData . remove_fixtures ( ) <EOL> model . Session . remove ( ) <EOL> def test_index ( self ) : <EOL> response = self . app . get ( url_for ( controller = '<STR_LIT>' , action = '<STR_LIT:index>' ) ) <EOL> assert '<STR_LIT>' in response , response <EOL> form = response . forms [ <NUM_LIT:1> ] <EOL> form [ '<STR_LIT:text>' ] = '<STR_LIT>' <EOL> response = form . submit ( ) <EOL> assert '<STR_LIT>' in response , response <EOL> assert '<STR_LIT>' in response , response </s>
