d7d01384523f7f91c90423ab0727780e48352e6c,tests/test_polyaxonfile/test_polyaxonfile_typing.py,TestPolyaxonfileWithTypes,test_run_simple_file_passes,#TestPolyaxonfileWithTypes#,115

Before Change


            "--loss={{loss}}",
        ]

        new_spec = spec.apply_context(params={"num_masks": 100})
        assert new_spec.version == 0.6
        assert new_spec.tags == {"foo": "bar"}
        assert new_spec.is_job
        assert new_spec.environment is None

After Change


        with self.assertRaises(PolyaxonfileError):  // Applying context before applying params
            spec.apply_context()

        spec.apply_params(params={"num_masks": 100})
        new_spec = spec.apply_context()
        assert new_spec.version == 0.6
        assert new_spec.tags == {"foo": "bar"}
        assert new_spec.is_job
        assert new_spec.environment is None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: polyaxon/polyaxon
Commit Name: d7d01384523f7f91c90423ab0727780e48352e6c
Time: 2019-09-23
Author: contact@polyaxon.com
File Name: tests/test_polyaxonfile/test_polyaxonfile_typing.py
Class Name: TestPolyaxonfileWithTypes
Method Name: test_run_simple_file_passes


Project Name: polyaxon/polyaxon
Commit Name: d7d01384523f7f91c90423ab0727780e48352e6c
Time: 2019-09-23
Author: contact@polyaxon.com
File Name: tests/test_polyaxonfile/test_polyaxonfile_typing.py
Class Name: TestPolyaxonfileWithTypes
Method Name: test_required_inputs_with_params


Project Name: polyaxon/polyaxon
Commit Name: d7d01384523f7f91c90423ab0727780e48352e6c
Time: 2019-09-23
Author: contact@polyaxon.com
File Name: tests/test_polyaxonfile/test_polyaxonfile_typing.py
Class Name: TestPolyaxonfileWithTypes
Method Name: test_run_with_refs


Project Name: polyaxon/polyaxon
Commit Name: d7d01384523f7f91c90423ab0727780e48352e6c
Time: 2019-09-23
Author: contact@polyaxon.com
File Name: tests/test_polyaxonfile/test_polyaxonfile.py
Class Name: TestPolyaxonfile
Method Name: test_passing_params_overrides_polyaxonfiles