File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 47
47
shell : bash -el {0}
48
48
run : |
49
49
pip install pytest pytest-cov
50
- pytest
50
+ pytest -m "not defwaterregions"
51
+ pytest -m "defwaterregions"
Original file line number Diff line number Diff line change @@ -7,4 +7,5 @@ filterwarnings =
7
7
ignore::DeprecationWarning
8
8
ignore::UserWarning
9
9
ignore::RuntimeWarning
10
- # addopts = -ra -x -l --cov=lisfloodutilities --cov-config=.coveragerc -vv
10
+ # addopts = -ra -x -l --cov=lisfloodutilities --cov-config=.coveragerc -m "not defwaterregions" -vv
11
+ addopts = -m " not defwaterregions"
Original file line number Diff line number Diff line change 1
1
import os
2
2
3
+ import pytest
4
+
3
5
from lisfloodutilities .readers import PCRasterMap
4
6
5
7
from lisfloodutilities .waterregions .define_waterregions import define_waterregions
9
11
10
12
class TestWaterRegions :
11
13
14
+ @pytest .mark .defwaterregions
12
15
def test_define_waterregions (self ):
13
16
calib_points = 'tests/data/waterregions/calib_points_test.txt'
14
17
countries_id = 'tests/data/waterregions/countries_id_test.map'
You can’t perform that action at this time.
0 commit comments