#NEWLINE# def test_get_handler_without_NICs( self ) : #NEWLINE# #INDENT# meta = self . env . default_metadata ( ) #NEWLINE# meta [ 'interfaces' ] = [ ] #NEWLINE# node = self . env . create_node ( api = True , meta = meta ) #NEWLINE# resp = self . app . get ( reverse ( 'NodeNICsHandler' , kwargs = { #NEWLINE# #INDENT# 'node_id' : node [ 'id' ] , #NEWLINE# #UNINDENT# } ) , headers = self . default_headers ) #NEWLINE# self . assertEqual ( resp . status_code , 200 ) #NEWLINE# self . assertEqual ( resp . json_body , [ ] )