Skip to content

Commit 5d7524f

Browse files
committed
remove fixtures
1 parent cd4fcd9 commit 5d7524f

File tree

1 file changed

+0
-49
lines changed

1 file changed

+0
-49
lines changed

tests/unit/experimental/components/test_schema.py

Lines changed: 0 additions & 49 deletions
Original file line numberDiff line numberDiff 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-
1012963
def test_clean_json_content_markdown_with_json_language(
1013964
schema_from_text: SchemaFromTextExtractor,
1014965
) -> None:

0 commit comments

Comments
 (0)