old_contents: """
  Usage:
  
  $ python test_group_name.py group_1
  test_foo.py test_bar.py::TestClass
  $
  
  This is used by CI to run only a certain set of tests on a particular builder.
  
  See ``test_groups.yaml`` for details.
  """
  
  import yaml
  from pathlib import Path
  from typing import List
  
  import click
  
  
  def patterns_from_group(group_name: str) -> List[str]:
      """
      Given a group name, return all the pytest patterns defined for that group
      in ``test_groups.yaml``.
      """
      test_group_file = Path(__file__).parent / 'test_groups.yaml'
      test_group_file_contents = test_group_file.read_text()
      test_groups = yaml.load(test_group_file_contents)['groups']
      return test_groups[group_name]
  
  @click.command('list-integration-test-patterns')
  @click.argument('group_name')
  def list_integration_test_patterns(group_name: str) -> None:
      """
      Perform a release.
      """
      test_patterns = patterns_from_group(group_name=group_name)
      click.echo(' '.join(test_patterns), nl=False)
  
  
  if __name__ == '__main__':
      list_integration_test_patterns()
  
new_contents: """
  Usage:
  
  $ python get_test_group.py group_1
  test_foo.py test_bar.py::TestClass
  $
  
  This is used by CI to run only a certain set of tests on a particular builder.
  
  See ``test_groups.yaml`` for details.
  """
  
  import yaml
  from pathlib import Path
  from typing import List
  
  import click
  
  
  def patterns_from_group(group_name: str) -> List[str]:
      """
      Given a group name, return all the pytest patterns defined for that group
      in ``test_groups.yaml``.
      """
      test_group_file = Path(__file__).parent / 'test_groups.yaml'
      test_group_file_contents = test_group_file.read_text()
      test_groups = yaml.load(test_group_file_contents)['groups']
      return test_groups[group_name]
  
  @click.command('list-integration-test-patterns')
  @click.argument('group_name')
  def list_integration_test_patterns(group_name: str) -> None:
      """
      Perform a release.
      """
      test_patterns = patterns_from_group(group_name=group_name)
      click.echo(' '.join(test_patterns), nl=False)
  
  
  if __name__ == '__main__':
      list_integration_test_patterns()
  
subject: Fix usage comment to refer to the correct filename