f67e0f54ef3b6b253d29bf8a86c20944ec6bd7b5,tests/test_polyaxonfile/test_polyaxonfile_typing.py,TestPolyaxonfileWithTypes,test_required_inputs_with_params,#TestPolyaxonfileWithTypes#,29

Before Change


        assert spec.is_job

        plxfile = PolyaxonFile(
            os.path.abspath("tests/fixtures/typing/required_inputs.yml"),
            params={"loss": "bar", "flag": True},
        )
        spec = plxfile.specification

After Change


            os.path.abspath("tests/fixtures/typing/required_inputs.yml"),
        )
        spec = plxfile.specification
        with self.assertRaises(PolyaxonfileError):
            spec.apply_context()

        spec = spec.apply_context(params={"loss": "bar", "flag": False})
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: polyaxon/polyaxon
Commit Name: f67e0f54ef3b6b253d29bf8a86c20944ec6bd7b5
Time: 2019-09-22
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: eth-cscs/reframe
Commit Name: ebd0f5ca45dbdafc0491170b06bb6b3fa2e5bda3
Time: 2020-11-18
Author: manitaras@cscs.ch
File Name: unittests/test_cli.py
Class Name:
Method Name: test_unuse_module_path


Project Name: catalyst-cooperative/pudl
Commit Name: 0237ac54b60eae889b088cfb40d53aec7c763f29
Time: 2018-12-12
Author: zane.selvans@catalyst.coop
File Name: scripts/init_pudl.py
Class Name:
Method Name: