Skip to content

Commit b696f77

Browse files
committed
Fix mypy complaints
1 parent 297cf7d commit b696f77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python-wrapper/tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ def aura_ds_instance() -> Generator[Any, None, None]:
4343

4444
# setting as environment variables to run notebooks with this connection
4545
os.environ["NEO4J_URI"] = dbms_connection_info.uri
46+
assert isinstance(dbms_connection_info.username, str)
4647
os.environ["NEO4J_USER"] = dbms_connection_info.username
48+
assert isinstance(dbms_connection_info.password, str)
4749
os.environ["NEO4J_PASSWORD"] = dbms_connection_info.password
4850
yield dbms_connection_info
4951

python-wrapper/tests/gds_helper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ def create_aurads_instance(api: AuraApi) -> tuple[str, DbmsConnectionInfo]:
6262
if wait_result.error:
6363
raise Exception(f"Error while waiting for instance to be running: {wait_result.error}")
6464

65-
wait_result.connection_url
66-
6765
return instance_details.id, DbmsConnectionInfo(
6866
uri=wait_result.connection_url,
6967
username="neo4j",

0 commit comments

Comments
 (0)