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


      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()
      create_project.main([])

  def test_create_project_with_spanned_configs(self):
    FLAGS.project_yaml = (
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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: GRAAL-Research/pytoune
Commit Name: d03443dda7f4782e845819de1a45a6699c41899f
Time: 2020-11-14
Author: fredy_14@live.fr
File Name: poutyne/framework/callbacks/_utils.py
Class Name:
Method Name: atomic_lambda_save


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