#NEWLINE# def test_fs_session_lising( tmpdir ) : #NEWLINE# #INDENT# store = FilesystemSessionStore ( str ( tmpdir ) , renew_missing = True ) #NEWLINE# sessions = set ( ) #NEWLINE# for x in range ( 10 ) : #NEWLINE# #INDENT# sess = store . new ( ) #NEWLINE# store . save ( sess ) #NEWLINE# sessions . add ( sess . sid ) #NEWLINE# #UNINDENT# listed_sessions = set ( store . list ( ) ) #NEWLINE# assert ( store == listed_sessions )