#NEWLINE# def test_defaults( self ) : #NEWLINE# #INDENT# conf = config . new ( { #NEWLINE# #INDENT# 'general' : { #NEWLINE# #INDENT# 'dbpath' : '/dev/null' , #NEWLINE# 'max-age' : '1h' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } ) #NEWLINE# db = SQLite3 ( self . path , conf ) #NEWLINE# self . assertEqual ( db . version , SQLite3 . MAX_VERSION ) #NEWLINE# self . assertTrue ( db . preferences . get ( 'session-key' , '' ) . isalnum ( ) )