-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathconftest.py
55 lines (33 loc) · 853 Bytes
/
conftest.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
from pathlib import Path
import pytest
p_data = Path(__file__).parents[0] / "data"
@pytest.fixture()
def p_ntl() -> Path:
return p_data / "ntl.tif"
@pytest.fixture()
def p_aoi() -> Path:
return p_data / "aoi.geojson"
@pytest.fixture()
def p_targets() -> Path:
return p_data / "targets.tif"
@pytest.fixture()
def p_targets_clean() -> Path:
return p_data / "targets_clean.tif"
@pytest.fixture()
def p_pop() -> Path:
return p_data / "pop.tif"
@pytest.fixture()
def p_roads() -> Path:
return p_data / "roads.geojson"
@pytest.fixture()
def p_costs() -> Path:
return p_data / "costs.tif"
@pytest.fixture()
def p_dist() -> Path:
return p_data / "dist.tif"
@pytest.fixture()
def p_guess() -> Path:
return p_data / "guess.tif"
@pytest.fixture()
def p_guess_thin() -> Path:
return p_data / "thin.tif"