#NEWLINE# def test_to_pb( self ) : #NEWLINE# #INDENT# from gcloud.bigtable._generated import bigtable_data_pb2 as data_pb2 #NEWLINE# regex = 'family-regex' #NEWLINE# row_filter = self . _makeOne ( regex ) #NEWLINE# pb_val = row_filter . to_pb ( ) #NEWLINE# expected_pb = data_pb2 . RowFilter ( family_name_regex_filter = regex ) #NEWLINE# self . assertEqual ( pb_val , row_filter )