Skip to content

Commit 917de4a

Browse files
committed
Mark rate detection tests as slow
1 parent 49e6dba commit 917de4a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tests/test_rate_detection.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ def test_short_signal(signal_factory: Callable[..., EITData]):
179179
duration = np.linspace(10, 60, 5)
180180

181181

182+
@pytest.mark.slow
182183
@pytest.mark.parametrize(
183184
("high_power_frequency", "low_power_frequency", "duration"),
184185
list(itertools.product(high_power_frequencies, low_power_frequencies, duration)),
@@ -212,6 +213,7 @@ def test_frequencies(
212213
assert np.isclose(non_refined_hr, low_power_frequency, rtol=0.2, atol=1 / MINUTE)
213214

214215

216+
@pytest.mark.slow
215217
@pytest.mark.parametrize(
216218
("high_power_frequency", "harmonic_multiplier", "duration"),
217219
list(itertools.product(high_power_frequencies, range(2, 5), duration)),
@@ -247,6 +249,7 @@ def test_harmonic_heart_rate(
247249
assert np.isclose(hr, low_power_frequency, rtol=0.05, atol=0.5 / MINUTE)
248250

249251

252+
@pytest.mark.slow
250253
@pytest.mark.parametrize(
251254
("high_power_frequency", "low_power_frequency", "frequency_multipliers"),
252255
list(itertools.product(high_power_frequencies, low_power_frequencies, [(1, 1.3), (1, 1.4)])),
@@ -291,6 +294,7 @@ def test_multiple_frequencies(
291294
scale_factors = (0.8, 0.9, 1.0, 1.1, 1.2)
292295

293296

297+
@pytest.mark.slow
294298
@pytest.mark.parametrize(
295299
("high_power_frequency", "low_power_frequency", "high_frequency_scale_factor", "low_frequency_scale_factor"),
296300
list(itertools.product(high_power_frequencies, low_power_frequencies, scale_factors, scale_factors)),

0 commit comments

Comments
 (0)