Revision 8c65ebbd
Added by koszko over 1 year ago
| src/test/test_hydrilla_builder.py | ||
|---|---|---|
| 12 | 12 |
from pathlib import Path |
| 13 | 13 |
from hashlib import sha256, sha1 |
| 14 | 14 |
from zipfile import ZipFile |
| 15 |
from typing import Callable, Optional |
|
| 15 |
from typing import Callable, Optional, Iterable
|
|
| 16 | 16 |
|
| 17 | 17 |
from jsonschema import ValidationError |
| 18 | 18 |
|
| ... | ... | |
| 211 | 211 |
return settings |
| 212 | 212 |
|
| 213 | 213 |
@pytest.fixture() |
| 214 |
def tmpdir() -> str:
|
|
| 214 |
def tmpdir() -> Iterable[str]:
|
|
| 215 | 215 |
with TemporaryDirectory() as tmpdir: |
| 216 | 216 |
yield tmpdir |
| 217 | 217 |
|
Also available in: Unified diff
fix typing mistake i tests