#NEWLINE# def test_ports_list_marker( self ) : #NEWLINE# #INDENT# self . api = utils . FakeAPI ( fake_responses_pagination ) #NEWLINE# self . mgr = ironicclient . v1 . port . PortManager ( self . api ) #NEWLINE# ports = self . mgr . list ( marker = PORT [ 'uuid' ] ) #NEWLINE# expect = [ ( 'GET' , ( '/v1/ports/?marker=%s' % PORT [ 'uuid' ] ) , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , None ) ] #NEWLINE# self . assertEqual ( expect , self . api . calls ) #NEWLINE# self . assertThat ( ports , HasLength ( 1 ) )