Skip to content

Commit 15e8006

Browse files
committed
Promote CDPP3DView tests to unit tier with vcr decorator (no cassettes yet)
1 parent 17948cc commit 15e8006

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
unit:
1010
env:
11-
SPEASY_CORE_DISABLED_PROVIDERS: "cdpp3dview"
11+
SPEASY_CORE_DISABLED_PROVIDERS: ""
1212
SPEASY_CORE_HTTP_REWRITE_RULES: '{"https://thisserver_does_not_exists.lpp.polytechnique.fr/pub/":"http://sciqlop.lpp.polytechnique.fr/cdaweb-data/pub/"}'
1313

1414
runs-on: ${{ matrix.os }}

devtools/apply_test_markers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"test_amda_timetable.py": "unit",
3030
"test_file_access.py": "contract",
3131
"test_cdaweb.py": "unit",
32-
"test_cdpp3dview.py": "contract",
32+
"test_cdpp3dview.py": "unit",
3333
"test_codecs.py": "contract",
3434
"test_common.py": "contract",
3535
"test_config_module.py": "contract",

tests/test_cdpp3dview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import pytest
99

10-
pytestmark = pytest.mark.contract
10+
pytestmark = [pytest.mark.unit, pytest.mark.vcr]
1111

1212

1313
from ddt import data, ddt

0 commit comments

Comments
 (0)