dd470f1d6491400242e0d6e836674e61c9c7a6b0,tests/test_polyaxonfile/test_specification.py,TestSpecifications,test_create_build_specification,#TestSpecifications#,93
Before Change
assert BuildSpecification.read(config).parsed_data == config
assert config["environment"]["config_map_refs"] == ["foo"]
config = BuildSpecification.create_specification(run_config, secret_refs=["foo"])
assert BuildSpecification.read(config).parsed_data == config
assert config["environment"]["secret_refs"] == ["foo"]
assert config["image"] == "blabla"
spec = BuildSpecification.create_specification(run_config, to_dict=False)
After Change
// Run config
run_config = {"image": "blabla", "cmd": "some command"}
config = BuildSpecification.create_specification(run_config)
spec = BuildSpecification.read(config)
spec.parse_data()
assert spec.parsed_data == config
config = BuildSpecification.create_specification(run_config,
config_map_refs=None,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: polyaxon/polyaxon
Commit Name: dd470f1d6491400242e0d6e836674e61c9c7a6b0
Time: 2019-06-24
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_specification.py
Class Name: TestSpecifications
Method Name: test_create_build_specification
Project Name: polyaxon/polyaxon
Commit Name: dd470f1d6491400242e0d6e836674e61c9c7a6b0
Time: 2019-06-24
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_specification.py
Class Name: TestSpecifications
Method Name: test_create_tensorboard_specification
Project Name: polyaxon/polyaxon
Commit Name: dd470f1d6491400242e0d6e836674e61c9c7a6b0
Time: 2019-06-24
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_specification.py
Class Name: TestSpecifications
Method Name: test_patch_experiment
Project Name: polyaxon/polyaxon
Commit Name: dd470f1d6491400242e0d6e836674e61c9c7a6b0
Time: 2019-06-24
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_specification.py
Class Name: TestSpecifications
Method Name: test_create_job_specification