#NEWLINE# def test_glob( self ) : #NEWLINE# #INDENT# expected_output = self . cluster . ls ( [ '/b*' ] ) #NEWLINE# client_output = list ( self . client . ls ( [ '/b*' ] ) ) #NEWLINE# self . assertTrue ( ( len ( client_output ) > 1 ) ) #NEWLINE# self . assertTrue ( ( len ( expected_output ) > 1 ) ) #NEWLINE# assertListings ( expected_output , client_output , self . assertEqual , self . assertEqual ) #NEWLINE# expected_output = self . cluster . ls ( [ '/{foo,bar}' ] ) #NEWLINE# client_output = list ( self . client . ls ( [ '/{foo,bar}' ] ) ) #NEWLINE# self . assertTrue ( ( len ( client_output ) > 1 ) ) #NEWLINE# self . assertTrue ( ( len ( expected_output ) > 1 ) ) #NEWLINE# assertListings ( expected_output , client_output , self . assertEqual , self . assertEqual ) #NEWLINE# expected_output = self . cluster . ls ( [ '/[fb]*/*/*/qux' ] ) #NEWLINE# client_output = list ( self . client . ls ( [ '/[fb]*/*/*/qux' ] ) ) #NEWLINE# self . assertTrue ( ( len ( client_output ) > 1 ) ) #NEWLINE# self . assertTrue ( ( len ( expected_output ) > 1 ) ) #NEWLINE# assertListings ( expected_output , client_output , self . assertEqual , self . assertEqual ) #NEWLINE# expected_output = self . cluster . ls ( [ '/{foo,bar}/*/*/qux' ] ) #NEWLINE# client_output = list ( self . client . ls ( [ '/{foo,bar}/*/*/qux' ] ) ) #NEWLINE# self . assertTrue ( ( len ( client_output ) > 1 ) ) #NEWLINE# self . assertTrue ( ( len ( expected_output ) > 1 ) ) #NEWLINE# assertListings ( expected_output , client_output , self . assertEqual , self . assertEqual ) #NEWLINE# expected_output = self . cluster . ls ( [ '/log/service/2013-05-17/*/Message10' ] ) #NEWLINE# client_output = list ( self . client . ls ( [ '/log/service/2013-05-17/*/Message10' ] ) ) #NEWLINE# self . assertTrue ( ( len ( expected_output ) > 1 ) ) #NEWLINE# self . assertTrue ( ( len ( client_output ) > 1 ) ) #NEWLINE# assertListings ( expected_output , client_output , self . assertEqual , self . assertEqual ) #NEWLINE# expected_output = self . cluster . ls ( [ '/log/service/2013-05-17/*/Message10/' ] ) #NEWLINE# client_output = list ( self . client . ls ( [ '/log/service/2013-05-17/*/Message10/' ] ) ) #NEWLINE# self . assertTrue ( ( len ( expected_output ) > 1 ) ) #NEWLINE# self . assertTrue ( ( len ( client_output ) > 1 ) ) #NEWLINE# assertListings ( expected_output , client_output , self . assertEqual , self . assertEqual ) #NEWLINE# expected_output = self . cluster . ls ( [ '/log/service/2013-05-17/*/Message10/*' ] ) #NEWLINE# client_output = list ( self . client . ls ( [ '/log/service/2013-05-17/*/Message10/*' ] ) ) #NEWLINE# self . assertTrue ( ( len ( expected_output ) > 1 ) ) #NEWLINE# self . assertTrue ( ( len ( client_output ) > 1 ) ) #NEWLINE# assertListings ( expected_output , client_output , self . assertEqual , self . assertEqual )