869d420ded61dce0ef4fd036cebf8f567915f69a,app/tests/retina_api_tests/test_viewsets.py,TestSinglePolygonAnnotationViewSet,test_partial_update_view,#TestSinglePolygonAnnotationViewSet#Any#Any#Any#,519

Before Change


        )

        if user_type in ("retina_grader", "retina_admin"):
            response.data["annotation_set"] = str(
                response.data["annotation_set"]
            )
            assert response.data == model_serialized

    def test_destroy_view(self, TwoRetinaPolygonAnnotationSets, rf, user_type):
        view_test(

After Change


        ).data
        annotation_set = SinglePolygonAnnotationFactory()
        model_serialized["value"] = annotation_set.value
        partial_model = copy.deepcopy(model_serialized)
        del partial_model["annotation_set"]
        del partial_model["id"]
        model_json = json.dumps(partial_model)

        response = view_test(
            "partial_update",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: comic/grand-challenge.org
Commit Name: 869d420ded61dce0ef4fd036cebf8f567915f69a
Time: 2019-04-08
Author: harm.van.zeeland@gmail.com
File Name: app/tests/retina_api_tests/test_viewsets.py
Class Name: TestSinglePolygonAnnotationViewSet
Method Name: test_partial_update_view


Project Name: ClimbsRocks/auto_ml
Commit Name: bc449c0d1e1349af857e220fdf8bf5d5a311c3b7
Time: 2017-07-04
Author: climbsbytes@gmail.com
File Name: auto_ml/utils_model_training.py
Class Name: FinalModelATC
Method Name: fit


Project Name: catalyst-cooperative/pudl
Commit Name: c5bdd246618f1f90ac156525debe6570f9292ec3
Time: 2020-09-22
Author: zane.selvans@catalyst.coop
File Name: src/pudl/workspace/datastore.py
Class Name: Datastore
Method Name: get_resources