#NEWLINE# @ testcase . attr ( 'positive' ) #NEWLINE# def test_get_orders_defaults( self ) : #NEWLINE# #INDENT# 'Covers getting a list of orders.' #NEWLINE# limit = 7 #NEWLINE# offset = 0 #NEWLINE# total = 10 #NEWLINE# for i in range ( 0 , ( self + 1 ) ) : #NEWLINE# #INDENT# order = self . barbicanclient . orders . create_key ( ** order_create_key_data ) #NEWLINE# order_ref = self . cleanup . add_entity ( order ) #NEWLINE# self . assertIsNotNone ( order_ref ) #NEWLINE# #UNINDENT# orders_list = self . barbicanclient . orders . list ( limit = limit , offset = offset ) #NEWLINE# self . assertEqual ( limit , len ( orders_list ) )