#NEWLINE# def test_prefix_and_generator_raises_error( self ) : #NEWLINE# #INDENT# from pyramid.exceptions import ConfigurationError #NEWLINE# settings = { #NEWLINE# #INDENT# 'redis.sessions.secret' : 'test' , #NEWLINE# 'redis.sessions.prefix' : 'test' , #NEWLINE# 'redis.sessions.id_generator' : 'test' , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertRaises ( ConfigurationError , self . _makeOne , settings )