#NEWLINE# def check_nics_interface_properties( self , handler ) : #NEWLINE# #INDENT# for ( ver , present ) in self . versions : #NEWLINE# #INDENT# cluster = self . env . create ( release_kwargs = { #NEWLINE# #INDENT# 'version' : resp , #NEWLINE# #UNINDENT# } , nodes_kwargs = [ { #NEWLINE# #INDENT# 'roles' : [ 'controller' ] , #NEWLINE# 'pending_addition' : True , #NEWLINE# 'api' : True , #NEWLINE# #UNINDENT# } ] ) #NEWLINE# node = self . env . nodes [ 0 ] #NEWLINE# resp = self . app . get ( reverse ( handler , kwargs = { #NEWLINE# #INDENT# 'node_id' : node . id , #NEWLINE# #UNINDENT# } ) , headers = self . default_headers ) #NEWLINE# self . assertEqual ( resp . status_code , 200 ) #NEWLINE# self . assertEqual ( ( 'interface_properties' in resp . json_body [ 0 ] ) , present ) #NEWLINE# objects . Node . delete ( node ) #NEWLINE# objects . Cluster . delete ( cluster ) #NEWLINE# self . env . nodes = [ ] #NEWLINE# self . env . clusters = [ ]