(python_dir)
| 158 | |
| 159 | |
| 160 | def test_healthy_default_creator(python_dir): |
| 161 | prefix, tmpdir = python_dir |
| 162 | |
| 163 | python.install_environment(prefix, C.DEFAULT, ()) |
| 164 | |
| 165 | # should be healthy right after creation |
| 166 | assert python.health_check(prefix, C.DEFAULT) is None |
| 167 | |
| 168 | # even if a `types.py` file exists, should still be healthy |
| 169 | tmpdir.join('types.py').ensure() |
| 170 | assert python.health_check(prefix, C.DEFAULT) is None |
| 171 | |
| 172 | |
| 173 | def test_healthy_venv_creator(python_dir): |
nothing calls this directly
no test coverage detected