Exemplo n.º 1
0
    def _delete_test_dir(self, test_id: Text):
        """Deletes files for this test including the module file and data files.

    Args:
      test_id: Randomly generated id of the test.
    """
        test_utils.delete_gcs_files(self._GCP_PROJECT_ID, self._BUCKET_NAME,
                                    'test_data/{}'.format(test_id))
Exemplo n.º 2
0
  def _delete_pipeline_output(self, pipeline_name: Text):
    """Deletes output produced by the named pipeline.

    Args:
      pipeline_name: The name of the pipeline.
    """
    test_utils.delete_gcs_files(self._GCP_PROJECT_ID, self._BUCKET_NAME,
                                'test_output/{}'.format(pipeline_name))