4b64702c794b18b443a1f2a2042641114c0a122a,testing/test_deploy.py,,main,#,193

Before Change


    logging.info("GOOGLE_APPLICATION_CREDENTIALS is set; configuring gcloud "
                 "to use service account.")
    // Since a service account is set tell gcloud to use it.
    util.run(["gcloud", "auth", "activate-service-account", "--key-file=" +
              os.getenv("GOOGLE_APPLICATION_CREDENTIALS")])
  setup(args)

if __name__ == "__main__":

After Change



  subparsers = parser.add_subparsers()

  parser_setup = subparsers.add_parser(
    "setup",
    help="setup the test infrastructure.")

  parser_setup.set_defaults(func=setup)

  parser_teardown = subparsers.add_parser(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: kubeflow/kubeflow
Commit Name: 4b64702c794b18b443a1f2a2042641114c0a122a
Time: 2018-02-12
Author: jeremy@lewi.us
File Name: testing/test_deploy.py
Class Name:
Method Name: main


Project Name: etal/cnvkit
Commit Name: 7cc3d2ae2985701bcd24dc416af654de22b5b9e7
Time: 2016-05-25
Author: eric.talevich@gmail.com
File Name: cnvlib/commands.py
Class Name:
Method Name:


Project Name: danforthcenter/plantcv
Commit Name: 86ac6632c5c84d1b5a0018d395542d649d27ca6a
Time: 2017-05-03
Author: noahfahlgren@gmail.com
File Name: plantcv-train.py
Class Name:
Method Name: options