From b6d2eaa49d56821a8235cf8398a31ce1bef5dafb Mon Sep 17 00:00:00 2001 From: thc1006 <84045975+thc1006@users.noreply.github.com> Date: Sun, 28 Jun 2026 03:20:34 +0800 Subject: [PATCH] TST: seed the noisy accelerometer and gyroscope fixtures Following @zuorenchen's review note on #13, seed the remaining noisy sensor fixtures (noisy_rotated_accelerometer, noisy_rotated_gyroscope) the same way noisy_barometer already is, so the whole sensor suite is deterministic instead of relying on statistical tolerance bounds. Uses the seed argument added in #13. --- tests/fixtures/sensors/sensors_fixtures.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/fixtures/sensors/sensors_fixtures.py b/tests/fixtures/sensors/sensors_fixtures.py index 0fae0c218..d1be98097 100644 --- a/tests/fixtures/sensors/sensors_fixtures.py +++ b/tests/fixtures/sensors/sensors_fixtures.py @@ -24,6 +24,7 @@ def noisy_rotated_accelerometer(): cross_axis_sensitivity=0.5, consider_gravity=True, name="Accelerometer", + seed=42, ) @@ -46,6 +47,7 @@ def noisy_rotated_gyroscope(): cross_axis_sensitivity=0.5, acceleration_sensitivity=[0, 0.0008, 0.0017], name="Gyroscope", + seed=42, )