Skip to content

Commit 9cc1f90

Browse files
committed
fix(nox): remove test_config generation from unit session
This prevents the sqlalchemy pytest plugin from automatically provisioning a test database connection during unit testing, which was failing due to missing credentials.
1 parent a80b91c commit 9cc1f90

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

packages/sqlalchemy-spanner/noxfile.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -325,13 +325,6 @@ def unit(session, test_type):
325325
session.install("opentelemetry-api")
326326
session.install("opentelemetry-sdk")
327327
session.install("opentelemetry-instrumentation")
328-
session.run(
329-
"python",
330-
"create_test_config.py",
331-
"my-project",
332-
"my-instance",
333-
"my-database",
334-
)
335328
session.run("py.test", "--quiet", os.path.join("test/unit"), *session.posargs)
336329
return
337330

0 commit comments

Comments
 (0)