Skip to content

Commit fe1f71d

Browse files
soerenreichardtFlorentinD
authored andcommitted
Fix length check for params
Co-Authored-By: Florentin Dörre <florentin.dorre@neo4j.com>
1 parent b6e71f9 commit fe1f71d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphdatascience/tests/unit/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def last_query(self) -> str:
7373
return self.queries[-1]
7474

7575
def last_params(self) -> dict[str, Any]:
76-
if len(self.queries) == 0:
76+
if len(self.params) == 0:
7777
return {}
7878
return self.params[-1]
7979

0 commit comments

Comments
 (0)