#NEWLINE# def test_list_domains( self ) : #NEWLINE# #INDENT# domains = self . auth_instance . list_domains ( ) #NEWLINE# self . assertEqual ( len ( self ) , 1 ) #NEWLINE# self . assertEqual ( domains [ 0 ] . id , 'default' ) #NEWLINE# self . assertEqual ( domains [ 0 ] . name , 'Default' ) #NEWLINE# self . assertTrue ( domains [ 0 ] . enabled )