#NEWLINE# def test_metrics_casing( self ) : #NEWLINE# #INDENT# raise SkipTest ( "Skipped for now as it's hard to configure couchbase on travis" ) #NEWLINE# self . check . check ( self . config [ 'instances' ] [ 0 ] ) #NEWLINE# metrics = self . check . get_metrics ( ) #NEWLINE# camel_cased_metrics = [ 'couchbase.hdd.used_by_data' , 'couchbase.ram.used_by_data' , 'couchbase.ram.quota_total' , 'couchbase.ram.quota_used' ] #NEWLINE# found_metrics = [ k [ 0 ] for k in camel_cased_metrics if ( k [ 0 ] in camel_cased_metrics ) ] #NEWLINE# self . assertEqual ( found_metrics . sort ( ) , camel_cased_metrics . sort ( ) )