Skip to content

Commit

Permalink
Fixed linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alexthomas93 committed Dec 13, 2024
1 parent 551b03f commit 8f30f94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/neo4j/tests/unit_tests/graphs/test_neo4j_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,13 @@ def test_refresh_schema_handles_client_error(mock_neo4j_driver: MagicMock) -> No
graph.query.assert_any_call("SHOW CONSTRAINTS")


def test_get_schema(mock_neo4j_driver) -> None:
def test_get_schema(mock_neo4j_driver: MagicMock) -> None:
"""Tests the get_schema property."""
graph = Neo4jGraph(
url="bolt://localhost:7687",
username="neo4j",
password="password",
refresh_schema=False
refresh_schema=False,
)
graph.schema = "test"
assert graph.get_schema == "test"
Expand Down

0 comments on commit 8f30f94

Please sign in to comment.