def test_it_does_not_pass_modified_dict_to_document_metas_from_data(
            self,
            parse_document_claims):
        document = {
            'top_level_key': 'original_value',
            'sub_dict': {
                'key': 'original_value'
            }
        }
        def document_uris_from_data(document, claimant):
            document['new_key'] = 'new_value'
            document['top_level_key'] = 'new_value'
            document['sub_dict']['key'] = 'new_value'
        parse_document_claims.document_uris_from_data.side_effect = (
            document_uris_from_data)
        schema = schemas.AnnotationSchema(testing.DummyRequest())

        schema.validate(annotation_data(document=document))

        assert (
            parse_document_claims.document_metas_from_data.call_args[0][0] ==
            document)
Determine if indicated string is exactly contained in the calling string.
dataset/ETHPy150Open hypothesis/h/h/api/test/schemas_test.py/TestAnnotationSchema.test_it_does_not_pass_modified_dict_to_document_metas_from_data--crossover with--dataset/ETHPy150Open cloudera/ibis/ibis/expr/api.py/_string_contains