39aecdfcdb5903e32ffd61868e52312b542e62fa,deploy/create_project_test.py,CreateProjectTest,test_project_config_validate_check_correct,#CreateProjectTest#,54

Before Change


      yaml.dump(root_config, f)
      f.flush()
      FLAGS.project_yaml = f.name
      with tempfile.NamedTemporaryFile() as fout:
        FLAGS.output_yaml_path = fout.name
        create_project.main([])

  def test_create_project_with_spanned_configs(self):
    FLAGS.project_yaml = (
        "deploy/samples/spanned_configs/root.yaml")
    FLAGS.projects = ["*"]

After Change


    ]

    with tempfile.TemporaryDirectory() as tmp_dir:
      FLAGS.output_yaml_path = os.path.join(tmp_dir, "conf.yaml")
      FLAGS.project_yaml = FLAGS.output_yaml_path
      FLAGS.output_cleanup_path = os.path.join(tmp_dir, "cleanup.sh")
      with open(FLAGS.project_yaml, "w") as f:
        yaml = ruamel.yaml.YAML()
        yaml.dump(root_config, f)
        f.flush()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: GoogleCloudPlatform/healthcare
Commit Name: 39aecdfcdb5903e32ffd61868e52312b542e62fa
Time: 2019-02-11
Author: noreply@google.com
File Name: deploy/create_project_test.py
Class Name: CreateProjectTest
Method Name: test_project_config_validate_check_correct


Project Name: MIC-DKFZ/trixi
Commit Name: 345e25e9594d6fcf0fe1b55c4f640106437467de
Time: 2018-11-23
Author: jens.petersen@dkfz.de
File Name: setup.py
Class Name:
Method Name:


Project Name: GoogleCloudPlatform/healthcare
Commit Name: 39aecdfcdb5903e32ffd61868e52312b542e62fa
Time: 2019-02-11
Author: noreply@google.com
File Name: deploy/create_project_test.py
Class Name: CreateProjectTest
Method Name: test_project_config_validate_check_raise


Project Name: GoogleCloudPlatform/healthcare
Commit Name: 39aecdfcdb5903e32ffd61868e52312b542e62fa
Time: 2019-02-11
Author: noreply@google.com
File Name: deploy/create_project_test.py
Class Name: CreateProjectTest
Method Name: test_project_config_validate_check_correct