Skip to content

Commit 2023b10

Browse files
committed
chore(django-spanner): include mockserver tests in unit session for 100% CI coverage
1 parent 3b53a87 commit 2023b10

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/django-google-spanner/noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,21 +118,21 @@ def default(session):
118118
session.install(
119119
*UNIT_TEST_STANDARD_DEPENDENCIES,
120120
*UNIT_TEST_EXTERNAL_DEPENDENCIES,
121-
*UNIT_TEST_DEPENDENCIES,
121+
*UNIT_TEST_MOCKSERVER_DEPENDENCIES,
122122
)
123123
session.install("-e", ".")
124124

125-
# Run py.test against the unit tests.
125+
# Run py.test against unit and mockserver tests.
126126
session.run(
127127
"py.test",
128128
"--quiet",
129129
"--cov=django_spanner",
130-
"--cov=tests.unit",
131130
"--cov-append",
132131
"--cov-config=.coveragerc",
133132
"--cov-report=",
134133
"--cov-fail-under=0",
135134
os.path.join("tests", "unit"),
135+
os.path.join("tests", "mockserver_tests"),
136136
*session.posargs,
137137
)
138138

0 commit comments

Comments
 (0)