#NEWLINE# def test_node_port_list_marker( self ) : #NEWLINE# #INDENT# self . api = utils . FakeAPI ( fake_responses_pagination ) #NEWLINE# self . mgr = node . NodeManager ( self . api ) #NEWLINE# ports = self . mgr . list_ports ( NODE1 [ 'uuid' ] , marker = PORT [ 'uuid' ] ) #NEWLINE# expect = [ ( 'GET' , ( '/v1/nodes/%s/ports?marker=%s' % ( NODE1 [ 'uuid' ] , PORT [ 'uuid' ] ) ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , None ) ] #NEWLINE# self . assertEqual ( expect , self . api . calls ) #NEWLINE# self . assertThat ( self , HasLength ( 1 ) )