From b1bf1de9fd1b17edaa4d87b1efe3469219a0160b Mon Sep 17 00:00:00 2001 From: Leila Messallem Date: Mon, 27 May 2024 09:36:47 +0200 Subject: [PATCH] Fix a typo in the e2e fixture name --- tests/e2e/conftest.py | 2 +- tests/e2e/test_schema_e2e.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/e2e/conftest.py b/tests/e2e/conftest.py index 38b26c357..248fc5e2f 100644 --- a/tests/e2e/conftest.py +++ b/tests/e2e/conftest.py @@ -114,7 +114,7 @@ def setup_neo4j_for_schema_query(driver): @pytest.fixture(scope="module") -def ssetup_neo4j_for_schema_query_with_excluded_labels(driver): +def setup_neo4j_for_schema_query_with_excluded_labels(driver): # Delete all nodes in the graph driver.execute_query("MATCH (n) DETACH DELETE n") # Create two labels and a relationship to be excluded diff --git a/tests/e2e/test_schema_e2e.py b/tests/e2e/test_schema_e2e.py index f4f5b9489..78ef53432 100644 --- a/tests/e2e/test_schema_e2e.py +++ b/tests/e2e/test_schema_e2e.py @@ -78,7 +78,7 @@ def test_cypher_returns_correct_relationships(driver): ) -@pytest.mark.usefixtures("ssetup_neo4j_for_schema_query_with_excluded_labels") +@pytest.mark.usefixtures("setup_neo4j_for_schema_query_with_excluded_labels") def test_filtering_labels_node_properties(driver): node_properties = [ data["output"] @@ -92,8 +92,8 @@ def test_filtering_labels_node_properties(driver): assert node_properties == [] -@pytest.mark.usefixtures("ssetup_neo4j_for_schema_query_with_excluded_labels") -def test_get_schema_filtering_labels_relationship_properties(driver): +@pytest.mark.usefixtures("setup_neo4j_for_schema_query_with_excluded_labels") +def test_filtering_labels_relationship_properties(driver): relationship_properties = [ data["output"] for data in query_database( @@ -104,7 +104,7 @@ def test_get_schema_filtering_labels_relationship_properties(driver): assert relationship_properties == [] -@pytest.mark.usefixtures("ssetup_neo4j_for_schema_query_with_excluded_labels") +@pytest.mark.usefixtures("setup_neo4j_for_schema_query_with_excluded_labels") def test_filtering_labels_relationships(driver): relationships = [ data["output"]