def test_correctly_prints_mutation_with_artifacts():
    query_ast_shorthanded = parse(
      'mutation ($foo: TestType) @testDirective { id, name }'
    )
    assert print_ast(query_ast_shorthanded) == '''mutation ($foo: TestType) @testDirective {
  id
  name
}
'''
dataset/ETHPy150Open graphql-python/graphql-core/tests/core_language/test_printer.py/test_correctly_prints_mutation_with_artifacts/original