#NEWLINE# def test_get_properties( self ) : #NEWLINE# #INDENT# expected = ssh . COMMON_PROPERTIES #NEWLINE# expected2 = ( list ( ssh . COMMON_PROPERTIES ) + list ( ssh . CONSOLE_PROPERTIES ) ) #NEWLINE# with task_manager . acquire ( self . context , self . node . uuid , shared = True ) as task : #NEWLINE# #INDENT# self . assertEqual ( expected , task . driver . power . get_properties ( ) ) #NEWLINE# self . assertEqual ( expected , task . driver . management . get_properties ( ) ) #NEWLINE# self . assertEqual ( sorted ( expected2 ) , sorted ( task . driver . console . get_properties ( ) . keys ( ) ) ) #NEWLINE# self . assertEqual ( sorted ( expected2 ) , sorted ( task . driver . get_properties ( ) . keys ( ) ) )