(tmpdir: Path)
| 103 | |
| 104 | |
| 105 | def test_missing_env_file_raises(tmpdir: Path) -> None: |
| 106 | path = os.path.join(tmpdir, ".env") |
| 107 | |
| 108 | with pytest.warns(UserWarning, match=f"Config file '{path}' not found."): |
| 109 | Config(path) |
| 110 | |
| 111 | |
| 112 | def test_environ() -> None: |