8b0ea9c9b33c30915fcb8a7793becdd86ff14886,tests/test_polyaxonfile/test_polyaxonfile_typing.py,TestPolyaxonfileWithTypes,test_jupyter_lab_job_with_node_selectors,#TestPolyaxonfileWithTypes#,150

Before Change


        assert isinstance(spec.build, BuildConfig)
        assert isinstance(spec.environment, EnvironmentConfig)
        assert [r.to_light_dict() for r in spec.artifact_refs] == [{"name": "outputs1"}]
        assert [r.to_light_dict() for r in spec.data_refs] == [{"name": "data1"}, {"name": "data2"}]
        assert [r.to_light_dict() for r in spec.secret_refs] == [{"name": "secret1"},
                                                                 {"name": "secret2"}]
        assert [r.to_light_dict() for r in spec.config_map_refs] == [{"name": "config_map1"},
                                                                     {"name": "config_map2"}]

After Change


        assert sorted(spec.tags) == sorted(["foo", "bar"])
        assert isinstance(spec.build, BuildConfig)
        assert isinstance(spec.environment, EnvironmentConfig)
        artifact_refs = [r.to_light_dict()["name"] for r in spec.artifact_refs]
        assert len(artifact_refs) == 3
        assert set(artifact_refs) == {"data1", "data2", "outputs1"}
        assert [r.to_light_dict() for r in spec.secret_refs] == [{"name": "secret1"},
                                                                 {"name": "secret2"}]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 5

Instances


Project Name: polyaxon/polyaxon
Commit Name: 8b0ea9c9b33c30915fcb8a7793becdd86ff14886
Time: 2019-08-25
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_polyaxonfile_typing.py
Class Name: TestPolyaxonfileWithTypes
Method Name: test_jupyter_lab_job_with_node_selectors


Project Name: polyaxon/polyaxon
Commit Name: 8b0ea9c9b33c30915fcb8a7793becdd86ff14886
Time: 2019-08-25
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_polyaxonfile.py
Class Name: TestPolyaxonfile
Method Name: test_run_job_with_node_selectors


Project Name: polyaxon/polyaxon
Commit Name: 8b0ea9c9b33c30915fcb8a7793becdd86ff14886
Time: 2019-08-25
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_polyaxonfile.py
Class Name: TestPolyaxonfile
Method Name: test_notebook_job_with_node_selectors


Project Name: polyaxon/polyaxon
Commit Name: 8b0ea9c9b33c30915fcb8a7793becdd86ff14886
Time: 2019-08-25
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_polyaxonfile.py
Class Name: TestPolyaxonfile
Method Name: test_matrix_file_passes


Project Name: polyaxon/polyaxon
Commit Name: 8b0ea9c9b33c30915fcb8a7793becdd86ff14886
Time: 2019-08-25
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_polyaxonfile_deprecation.py
Class Name: TestPolyaxonfileDeprecation
Method Name: test_deprecated_notebook_job_with_node_selectors


Project Name: polyaxon/polyaxon
Commit Name: 8b0ea9c9b33c30915fcb8a7793becdd86ff14886
Time: 2019-08-25
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_polyaxonfile_deprecation.py
Class Name: TestPolyaxonfileDeprecation
Method Name: test_deprecated_advanced_file_with_custom_configs_and_resources_passes


Project Name: polyaxon/polyaxon
Commit Name: 8b0ea9c9b33c30915fcb8a7793becdd86ff14886
Time: 2019-08-25
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_polyaxonfile.py
Class Name: TestPolyaxonfile
Method Name: test_jupyter_lab_job_with_node_selectors


Project Name: polyaxon/polyaxon
Commit Name: 8b0ea9c9b33c30915fcb8a7793becdd86ff14886
Time: 2019-08-25
Author: mouradmourafiq@gmail.com
File Name: tests/test_polyaxonfile/test_polyaxonfile.py
Class Name: TestPolyaxonfile
Method Name: test_advanced_file_with_custom_configs_and_resources_passes