def _parse_readrows_acceptance_tests(filename):
 import json
 with open(filename) as json_file:
  test_json = json.load(json_file)
 for test in test_json['tests']:
  name = test['name']
  chunks = _generate_cell_chunks(test['chunks'])
  results = test['results']
  (yield (name, chunks, results))

def _parse_readrows_acceptance_tests ( filename ) : import json with open ( filename ) as json_file : test_json = json . load ( json_file ) for test in test_json [ 'tests' ] : name = test [ 'name' ] chunks = _generate_cell_chunks ( test [ 'chunks' ] ) results = test [ 'results' ] ( yield ( name , chunks , results ) )
parse acceptance tests from json see: URL 4d3185662ca61bc9fa1bdf1ec0166f6e5ecf86c6/bigtable-client-core/src/ test/resources/com/google/cloud/bigtable/grpc/scanner/v2/ read-rows-acceptance-test .