Skip to content

Commit a42bc4f

Browse files
committed
chore: update name of directory from test to tests
1 parent 19c82b9 commit a42bc4f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/sqlalchemy-spanner/noxfile.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class = StreamHandler
7979

8080
BLACK_VERSION = "black==23.7.0"
8181
ISORT_VERSION = "isort==5.11.0"
82-
BLACK_PATHS = ["google", "test", "noxfile.py", "setup.py", "samples"]
82+
BLACK_PATHS = ["google", "tests", "noxfile.py", "setup.py", "samples"]
8383
UNIT_TEST_PYTHON_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
8484
ALL_PYTHON = list(UNIT_TEST_PYTHON_VERSIONS)
8585
ALL_PYTHON.extend(["3.7"])
@@ -114,7 +114,7 @@ def lint(session):
114114
session.run(
115115
"flake8",
116116
"google",
117-
"test",
117+
"tests",
118118
"--max-line-length=88",
119119
)
120120

@@ -171,13 +171,13 @@ def compliance_test_14(session):
171171
session.run(
172172
"py.test",
173173
"--cov=google.cloud.sqlalchemy_spanner",
174-
"--cov=test",
174+
"--cov=tests",
175175
"--cov-append",
176176
"--cov-config=.coveragerc",
177177
"--cov-report=",
178178
"--cov-fail-under=0",
179179
"--asyncio-mode=auto",
180-
"test/test_suite_14.py",
180+
"tests/test_suite_14.py",
181181
*session.posargs,
182182
)
183183

@@ -213,13 +213,13 @@ def compliance_test_20(session):
213213
session.run(
214214
"py.test",
215215
"--cov=google.cloud.sqlalchemy_spanner",
216-
"--cov=test",
216+
"--cov=tests",
217217
"--cov-append",
218218
"--cov-config=.coveragerc",
219219
"--cov-report=",
220220
"--cov-fail-under=0",
221221
"--asyncio-mode=auto",
222-
"test/test_suite_20.py",
222+
"tests/test_suite_20.py",
223223
*session.posargs,
224224
)
225225

@@ -245,7 +245,7 @@ def mockserver(session):
245245
"9999",
246246
)
247247
session.run(
248-
"py.test", "--quiet", os.path.join("test", "mockserver_tests"), *session.posargs
248+
"py.test", "--quiet", os.path.join("tests", "mockserver_tests"), *session.posargs
249249
)
250250

251251

@@ -336,7 +336,7 @@ def unit(session, test_type):
336336
session.install("opentelemetry-api")
337337
session.install("opentelemetry-sdk")
338338
session.install("opentelemetry-instrumentation")
339-
session.run("py.test", "--quiet", os.path.join("test/unit"), *session.posargs)
339+
session.run("py.test", "--quiet", os.path.join("tests/unit"), *session.posargs)
340340
return
341341

342342

@@ -387,7 +387,7 @@ def system(session, test_type):
387387
session.run("python", "create_test_database.py")
388388
session.install("sqlalchemy>=2.0")
389389
session.run(
390-
"py.test", "--quiet", os.path.join("test", "system"), *session.posargs
390+
"py.test", "--quiet", os.path.join("tests", "system"), *session.posargs
391391
)
392392
session.run("python", "drop_test_database.py")
393393
elif test_type == "compliance_14":

0 commit comments

Comments
 (0)