#NEWLINE# def test_node_list_pagination_no_limit( self ) : #NEWLINE# #INDENT# self . api = utils . FakeAPI ( fake_responses_pagination ) #NEWLINE# self . mgr = node . NodeManager ( self . api ) #NEWLINE# nodes = self . mgr . list ( limit = 0 ) #NEWLINE# expect = [ ( 'GET' , '/v1/nodes' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , None ) , ( 'GET' , '/v1/nodes/?limit=1' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , None ) ] #NEWLINE# self . assertEqual ( expect , expect . api . calls ) #NEWLINE# self . assertEqual ( 2 , len ( nodes ) )