pytest tornado tests session
(session, coverage)
| 1012 | @nox.session(python=_PYTHON_VERSIONS, name="test-tornado") |
| 1013 | @nox.parametrize("coverage", [False, True]) |
| 1014 | def test_tornado(session, coverage): |
| 1015 | """ |
| 1016 | pytest tornado tests session |
| 1017 | """ |
| 1018 | # Install requirements |
| 1019 | if _upgrade_pip_setuptools_and_wheel(session): |
| 1020 | _install_requirements(session) |
| 1021 | session.install( |
| 1022 | "--progress-bar=off", "tornado==5.0.2", silent=PIP_INSTALL_SILENT |
| 1023 | ) |
| 1024 | session.install( |
| 1025 | "--progress-bar=off", "pyzmq==17.0.0", silent=PIP_INSTALL_SILENT |
| 1026 | ) |
| 1027 | _pytest(session, coverage=coverage, cmd_args=session.posargs) |
| 1028 | |
| 1029 | |
| 1030 | @nox.session(python=_PYTHON_VERSIONS, name="pytest-tornado") |
nothing calls this directly
no test coverage detected