|
28 | 28 | BLACK_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] |
29 | 29 |
|
30 | 30 | DEFAULT_PYTHON_VERSION = "3.8" |
31 | | -SYSTEM_TEST_PYTHON_VERSIONS = ["2.7", "3.8"] |
32 | | -UNIT_TEST_PYTHON_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"] |
| 31 | +SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"] |
| 32 | +UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9"] |
33 | 33 |
|
34 | 34 | CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute() |
35 | 35 |
|
@@ -84,6 +84,8 @@ def default(session): |
84 | 84 | constraints_path = str( |
85 | 85 | CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt" |
86 | 86 | ) |
| 87 | + session.install("asyncmock", "pytest-asyncio", "-c", constraints_path) |
| 88 | + |
87 | 89 | session.install("mock", "pytest", "pytest-cov", "-c", constraints_path) |
88 | 90 |
|
89 | 91 | session.install("-e", ".", "-c", constraints_path) |
@@ -167,7 +169,7 @@ def cover(session): |
167 | 169 | test runs (not system test runs), and then erases coverage data. |
168 | 170 | """ |
169 | 171 | session.install("coverage", "pytest-cov") |
170 | | - session.run("coverage", "report", "--show-missing", "--fail-under=99") |
| 172 | + session.run("coverage", "report", "--show-missing", "--fail-under=100") |
171 | 173 |
|
172 | 174 | session.run("coverage", "erase") |
173 | 175 |
|
|
0 commit comments