Skip to content

Commit ec52e7f

Browse files
committed
wip
1 parent 8530743 commit ec52e7f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

noxfile.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
from __future__ import absolute_import
1616
import os
1717
import pathlib
18-
import pytest
1918
import re
2019
import shutil
2120
import unittest
@@ -224,16 +223,16 @@ def default(session, install_grpc=True, prerelease=False, install_async_rest=Fal
224223
session.run(*pytest_args)
225224

226225

227-
@pytest.mark.parametrize(
228-
"install_grpc_gcp,install_grpc,install_async_rest",
226+
@nox.session(python=PYTHON_VERSIONS)
227+
@nox.parametrize(
228+
["install_grpc_gcp", "install_grpc", "install_async_rest"],
229229
[
230230
(False, True, False), # Run unit tests with grpcio installed
231231
(True, True, False), # Run unit tests with grpcio/grpcio-gcp installed
232232
(False, False, False), # Run unit tests without grpcio installed
233233
(False, True, True), # Run unit tests with grpcio and async rest installed
234234
],
235235
)
236-
@nox.session(python=PYTHON_VERSIONS)
237236
def unit(session, install_grpc_gcp, install_grpc, install_async_rest):
238237
"""Run the unit test suite."""
239238

0 commit comments

Comments
 (0)