File tree Expand file tree Collapse file tree
terminusdb_client/tests/integration_tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -385,34 +385,6 @@ def test_diff_ops(docker_url, test_schema):
385385 my_schema = test_schema .copy ()
386386 my_schema .object .pop ("Employee" )
387387 assert my_schema .to_dict () != test_schema .to_dict ()
388- ## Temporary switch off schema diff
389- # result = client.diff(test_schema, my_schema)
390- # assert result.content == {
391- # "@op": "CopyList",
392- # "@rest": {
393- # "@after": [],
394- # "@before": [
395- # {
396- # "@id": "Employee",
397- # "@inherits": ["Person"],
398- # "@key": {"@type": "Random"},
399- # "@type": "Class",
400- # "address_of": "Address",
401- # "age": "xsd:integer",
402- # "contact_number": {"@class": "xsd:string", "@type": "Optional"},
403- # "friend_of": {"@class": "Person", "@type": "Set"},
404- # "managed_by": "Employee",
405- # "member_of": "Team",
406- # "name": "xsd:string",
407- # "permisstion": {"@class": "Role", "@type": "Set"},
408- # }
409- # ],
410- # "@op": "SwapList",
411- # "@rest": {"@op": "KeepList"},
412- # },
413- # "@to": 4,
414- # }
415- # assert client.patch(test_schema, result) == my_schema.to_dict()
416388
417389
418390@pytest .mark .skipif (
You can’t perform that action at this time.
0 commit comments