8bc9a55687a4d0c08d8d852b3eddeb2b36ebc2c6,tests/entities/model_registry/test_registered_model.py,TestRegisteredModel,test_creation_and_hydration,#TestRegisteredModel#,12

Before Change



    def test_creation_and_hydration(self):
        name = random_str()
        registered_model = RegisteredModel(name)
        self._check(registered_model, name)

        as_dict = {"name": name}
        self.assertEqual(dict(registered_model), as_dict)

After Change


    def test_creation_and_hydration(self):
        name = random_str()
        description = random_str()
        rmd_1 = RegisteredModel(name, 1, 2, description, [])
        self._check(rmd_1, name, 1, 2, description, [])

        as_dict = {"name": name,
                   "creation_timestamp": 1,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: mlflow/mlflow
Commit Name: 8bc9a55687a4d0c08d8d852b3eddeb2b36ebc2c6
Time: 2020-02-24
Author: 33237569+tomasatdatabricks@users.noreply.github.com
File Name: tests/entities/model_registry/test_registered_model.py
Class Name: TestRegisteredModel
Method Name: test_creation_and_hydration


Project Name: mlflow/mlflow
Commit Name: 8bc9a55687a4d0c08d8d852b3eddeb2b36ebc2c6
Time: 2020-02-24
Author: 33237569+tomasatdatabricks@users.noreply.github.com
File Name: tests/entities/model_registry/test_registered_model.py
Class Name: TestRegisteredModel
Method Name: test_string_repr


Project Name: mlflow/mlflow
Commit Name: 0cb05ada988cb34e30f5c277ed6ca19afe826935
Time: 2020-07-08
Author: 64800904+zhidongqu-db@users.noreply.github.com
File Name: tests/entities/model_registry/test_registered_model.py
Class Name: TestRegisteredModel
Method Name: test_creation_and_hydration