File tree Expand file tree Collapse file tree 1 file changed +0
-49
lines changed
tests/unit/experimental/components Expand file tree Collapse file tree 1 file changed +0
-49
lines changed Original file line number Diff line number Diff line change @@ -960,55 +960,6 @@ async def test_schema_from_text_filters_relationships_without_labels(
960960 assert ("Person" , "MANAGES" , "Organization" ) in schema .patterns
961961
962962
963- @pytest .fixture
964- def valid_schema_json_with_markdown () -> str :
965- return """```json
966- {
967- "node_types": [
968- {
969- "label": "Person",
970- "properties": [
971- {"name": "name", "type": "STRING"}
972- ]
973- },
974- {
975- "label": "Organization",
976- "properties": [
977- {"name": "name", "type": "STRING"}
978- ]
979- }
980- ],
981- "relationship_types": [
982- {
983- "label": "WORKS_FOR",
984- "properties": [
985- {"name": "since", "type": "DATE"}
986- ]
987- }
988- ],
989- "patterns": [
990- ["Person", "WORKS_FOR", "Organization"]
991- ]
992- }
993- ```"""
994-
995-
996- @pytest .fixture
997- def valid_schema_json_with_markdown_no_language () -> str :
998- return """```
999- {
1000- "node_types": [
1001- {
1002- "label": "Person",
1003- "properties": [
1004- {"name": "name", "type": "STRING"}
1005- ]
1006- }
1007- ]
1008- }
1009- ```"""
1010-
1011-
1012963def test_clean_json_content_markdown_with_json_language (
1013964 schema_from_text : SchemaFromTextExtractor ,
1014965) -> None :
You can’t perform that action at this time.
0 commit comments