6
6
7
7
from cadet import Cadet
8
8
9
+ """ These tests require two distinct CADET installations to compare between and should not run in the CI"""
10
+
11
+
9
12
# Full path to cadet.dll or cadet.so, that is different from the system/conda cadet
10
- full_path_dll = Path (r"C:\Users\ronal\Documents\CADET\out\install\aRELEASE\bin\ cadet.dll " )
13
+ full_path_dll = Path ("path/to/ cadet" )
11
14
12
15
install_path_conda = Cadet .autodetect_cadet ()
13
16
@@ -19,7 +22,7 @@ def test_autodetection():
19
22
assert sim .cadet_cli_path .parent .parent == install_path_conda
20
23
assert sim .cadet_runner .cadet_path .suffix not in [".dll" , ".so" ]
21
24
22
-
25
+ @ pytest . mark . local
23
26
def test_install_path ():
24
27
sim = Cadet (install_path = full_path_dll , use_dll = True )
25
28
assert sim .cadet_dll_path == full_path_dll
@@ -40,6 +43,7 @@ def test_install_path():
40
43
assert sim .cadet_runner .cadet_path .suffix in [".dll" , ".so" ]
41
44
42
45
46
+ @pytest .mark .local
43
47
def test_dll_runner_attrs ():
44
48
cadet = Cadet (full_path_dll .parent .parent )
45
49
cadet_runner = cadet ._cadet_dll_runner
@@ -50,6 +54,7 @@ def test_dll_runner_attrs():
50
54
assert isinstance (cadet_runner .cadet_path , str | os .PathLike )
51
55
52
56
57
+ @pytest .mark .local
53
58
def test_cli_runner_attrs ():
54
59
cadet = Cadet (full_path_dll .parent .parent )
55
60
cadet_runner = cadet ._cadet_cli_runner
0 commit comments