49512597fbc4976e7a180a0a80334969e56b644f,tests/projects/test_docker_projects.py,,test_docker_project_execution,#Any#Any#Any#,31

Before Change


        "mlflow.gitRepoURL": "https://github.com/mlflow/mlflow",
    }
    assert len(run.data.tags) == len(exact_expected_tags) + len(approx_expected_tags)
    for tag in run.data.tags:
        if tag.key in exact_expected_tags:
            assert tag.value == exact_expected_tags[tag.key]
        else:
            assert tag.value.startswith(approx_expected_tags[tag.key])


@pytest.mark.parametrize("tracking_uri, expected_command_segment", [
    (None, "-e MLFLOW_TRACKING_URI=/mlflow/tmp/mlruns"),
    ("http://some-tracking-uri", "-e MLFLOW_TRACKING_URI=http://some-tracking-uri"),
    ("databricks://some-profile", "-e MLFLOW_TRACKING_URI=databricks ")

After Change


        "mlflow.docker.image.name": "mlflow-docker-example",
        "mlflow.docker.image.id": "sha256:",
    }
    run_tags = {tag.key: tag.value for tag in run.data.tags}
    for k, v in exact_expected_tags.items():
        assert run_tags[k] == v
    for k, v in approx_expected_tags.items():
        assert run_tags[k].startswith(v)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: mlflow/mlflow
Commit Name: 49512597fbc4976e7a180a0a80334969e56b644f
Time: 2019-01-18
Author: mani@databricks.com
File Name: tests/projects/test_docker_projects.py
Class Name:
Method Name: test_docker_project_execution


Project Name: mlflow/mlflow
Commit Name: cf05c5bd1943dd0f855c3d2a51c904e775e6eae7
Time: 2019-03-13
Author: wacrozier@gmail.com
File Name: tests/projects/test_projects.py
Class Name:
Method Name: test_run_local_git_repo


Project Name: mlflow/mlflow
Commit Name: cf05c5bd1943dd0f855c3d2a51c904e775e6eae7
Time: 2019-03-13
Author: wacrozier@gmail.com
File Name: tests/projects/test_projects.py
Class Name:
Method Name: test_run