Skip to content

Commit 55f42f9

Browse files
1 parent 85f93d3 commit 55f42f9

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

‎noxfile.py

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3434

3535
DEFAULT_PYTHON_VERSION = "3.8"
36-
DEFAULT_MOCK_SERVER_TESTS_PYTHON_VERSION = "3.12"
3736

3837
UNIT_TEST_PYTHON_VERSIONS: List[str] = [
3938
"3.7",
@@ -235,34 +234,6 @@ def unit(session, protobuf_implementation):
235234
)
236235

237236

238-
@nox.session(python=DEFAULT_MOCK_SERVER_TESTS_PYTHON_VERSION)
239-
def mockserver(session):
240-
# Install all test dependencies, then install this package in-place.
241-
242-
constraints_path = str(
243-
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
244-
)
245-
# install_unittest_dependencies(session, "-c", constraints_path)
246-
standard_deps = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_DEPENDENCIES
247-
session.install(*standard_deps, "-c", constraints_path)
248-
session.install("-e", ".", "-c", constraints_path)
249-
250-
# Run py.test against the mockserver tests.
251-
session.run(
252-
"py.test",
253-
"--quiet",
254-
f"--junitxml=unit_{session.python}_sponge_log.xml",
255-
"--cov=google",
256-
"--cov=tests/unit",
257-
"--cov-append",
258-
"--cov-config=.coveragerc",
259-
"--cov-report=",
260-
"--cov-fail-under=0",
261-
os.path.join("tests", "mockserver_tests"),
262-
*session.posargs,
263-
)
264-
265-
266237
def install_systemtest_dependencies(session, *constraints):
267238
# Use pre-release gRPC for system tests.
268239
# Exclude version 1.52.0rc1 which has a known issue.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy