old_contents: # -*- coding: utf-8 -*-
  #
  # Licensed to the Apache Software Foundation (ASF) under one
  # or more contributor license agreements.  See the NOTICE file
  # distributed with this work for additional information
  # regarding copyright ownership.  The ASF licenses this file
  # to you under the Apache License, Version 2.0 (the
  # "License"); you may not use this file except in compliance
  # with the License.  You may obtain a copy of the License at
  #
  #   http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing,
  # software distributed under the License is distributed on an
  # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  # KIND, either express or implied.  See the License for the
  # specific language governing permissions and limitations
  # under the License.
  import unittest
  
  from tests.contrib.utils.base_gcp_system_test_case import (
      SKIP_TEST_WARNING,
      TestDagGcpSystem,
  )
  from tests.contrib.utils.gcp_authenticator import GCP_PUBSUB_KEY
  
  
  @unittest.skipIf(TestDagGcpSystem.skip_check(GCP_PUBSUB_KEY), SKIP_TEST_WARNING)
  class AutoMLDatasetOperationsSystemTest(TestDagGcpSystem):
      def __init__(self, method_name="runTest"):
          super().__init__(
              method_name,
              dag_id="example_gcp_pubsub",
              require_local_executor=True,
              gcp_key=GCP_PUBSUB_KEY,
          )
  
      def test_run_example_dag(self):
          self._run_dag()
  
new_contents: # -*- coding: utf-8 -*-
  #
  # Licensed to the Apache Software Foundation (ASF) under one
  # or more contributor license agreements.  See the NOTICE file
  # distributed with this work for additional information
  # regarding copyright ownership.  The ASF licenses this file
  # to you under the Apache License, Version 2.0 (the
  # "License"); you may not use this file except in compliance
  # with the License.  You may obtain a copy of the License at
  #
  #   http://www.apache.org/licenses/LICENSE-2.0
  #
  # Unless required by applicable law or agreed to in writing,
  # software distributed under the License is distributed on an
  # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  # KIND, either express or implied.  See the License for the
  # specific language governing permissions and limitations
  # under the License.
  import unittest
  
  from tests.contrib.utils.base_gcp_system_test_case import (
      SKIP_TEST_WARNING,
      TestDagGcpSystem,
  )
  from tests.contrib.utils.gcp_authenticator import GCP_PUBSUB_KEY
  
  
  @unittest.skipIf(TestDagGcpSystem.skip_check(GCP_PUBSUB_KEY), SKIP_TEST_WARNING)
  class PubSubSystemTest(TestDagGcpSystem):
      def __init__(self, method_name="runTest"):
          super().__init__(
              method_name,
              dag_id="example_gcp_pubsub",
              require_local_executor=True,
              gcp_key=GCP_PUBSUB_KEY,
          )
  
      def test_run_example_dag(self):
          self._run_dag()
  
subject: Fix PubSub system test class name (#6085)