def generate_expected_output(start, end, num_shards):
  """Generate the expected stdout and stderr for the dummy test."""
  stdout = ''
  stderr = ''
  for i in range(start, end):
    stdout += 'Running shard %d of %d\n' % (i, num_shards)
  stdout += '\nALL SHARDS PASSED!\nALL TESTS PASSED!\n'

  return (stdout, stderr)