We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 62cc2b2 + feadfc4 commit 2bcb931Copy full SHA for 2bcb931
neo4j/testcontainers/neo4j/__init__.py
@@ -76,8 +76,7 @@ def _connect(self) -> None:
76
with self.get_driver() as driver:
77
# Drivers may or may not be lazy
78
# force them to do a round trip to confirm neo4j is working
79
- with driver.session() as session:
80
- session.run("RETURN 1").single()
+ driver.verify_connectivity()
81
82
def get_driver(self, **kwargs) -> Driver:
83
return GraphDatabase.driver(
0 commit comments