#NEWLINE# def test_find_stream_limit_asc( self ) : #NEWLINE# #INDENT# streams = self . db . find_streams ( limit = 2 , mark = '+' ) #NEWLINE# self . assertEqual ( len ( streams ) , 2 ) #NEWLINE# self . assertEqual ( streams [ 0 ] [ 'id' ] , 1 ) #NEWLINE# self . assertEqual ( streams [ 1 ] [ 'id' ] , 2 )