#NEWLINE# @ admins_add_fixtures #NEWLINE# def test_admins_add_returns_index_on_success( admins_index ) : #NEWLINE# #INDENT# request = DummyRequest ( params = { #NEWLINE# #INDENT# 'add' : 'seanh' , #NEWLINE# #UNINDENT# } ) #NEWLINE# admins_index . return_value = 'expected data' #NEWLINE# result = views . admins_add ( result ) #NEWLINE# assert ( result == 'expected data' )