Skip to content

Commit 1ea0d84

Browse files
committed
Increase step size in tests
1 parent 4ccbf56 commit 1ea0d84

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/plans/test_wrapped.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -871,7 +871,7 @@ def test_step_scan_fails_when_given_incorrect_number_of_params(
871871
run_engine(step_scan(detectors=[det], movers=[x_axis, y_axis], params=params))
872872

873873

874-
@pytest.mark.parametrize("params", ([0, 1, 0.1], [-1, 1, 0.1], [0, 10, 1]))
874+
@pytest.mark.parametrize("params", ([0, 1, 0.25], [-1, 1, 0.5], [0, 10, 2.5]))
875875
def test_step_rscan(
876876
run_engine: RunEngine,
877877
det: StandardDetector,
@@ -882,7 +882,7 @@ def test_step_rscan(
882882

883883

884884
@pytest.mark.parametrize(
885-
"params", ([0, 1, 0.1, 0, 0.1], [-1, 1, 0.1, -1, 0.1], [0, 10, 1, 0, 1])
885+
"params", ([0, 1, 0.25, 0, 0.25], [-1, 1, 0.5, -1, 0.5], [0, 10, 2.5, 0, 2.5])
886886
)
887887
def test_step_rscan_with_multiple_movers(
888888
run_engine: RunEngine,
@@ -894,7 +894,7 @@ def test_step_rscan_with_multiple_movers(
894894
run_engine(step_rscan(detectors=[det], movers=[x_axis, y_axis], params=params))
895895

896896

897-
@pytest.mark.parametrize("params", ([0, 1, 0.1, 0, 1, 0.1], [0, 1, 0.1, 0]))
897+
@pytest.mark.parametrize("params", ([0, 1, 0.5, 0, 1, 0.5], [0, 1, 0.5, 0]))
898898
def test_step_rscan_fails_when_given_incorrect_number_of_params(
899899
run_engine: RunEngine,
900900
det: StandardDetector,
@@ -906,7 +906,7 @@ def test_step_rscan_fails_when_given_incorrect_number_of_params(
906906
run_engine(step_rscan(detectors=[det], movers=[x_axis, y_axis], params=params))
907907

908908

909-
@pytest.mark.parametrize("params", ([0, 1, 0.1, 0, 1, 0.1], [0, 10, 1, 0, 10, 1]))
909+
@pytest.mark.parametrize("params", ([0, 1, 0.5, 0, 1, 0.5], [0, 10, 5, 0, 10, 5]))
910910
def test_step_grid_scan(
911911
run_engine: RunEngine,
912912
det: StandardDetector,
@@ -917,7 +917,7 @@ def test_step_grid_scan(
917917
run_engine(step_grid_scan(detectors=[det], movers=[y_axis, x_axis], params=params))
918918

919919

920-
@pytest.mark.parametrize("params", ([0, 1, 0.1, 0, 1, 0.1], [0, 10, 1, 0, 10, 1]))
920+
@pytest.mark.parametrize("params", ([0, 1, 0.5, 0, 1, 0.5], [0, 10, 5, 0, 10, 5]))
921921
def test_step_grid_scan_when_snaking(
922922
run_engine: RunEngine,
923923
det: StandardDetector,
@@ -932,7 +932,7 @@ def test_step_grid_scan_when_snaking(
932932
)
933933

934934

935-
@pytest.mark.parametrize("params", ([0, 1, 0.1, 0, 1], [0, 10, 1, 0]))
935+
@pytest.mark.parametrize("params", ([0, 1, 0.25, 0, 1], [0, 10, 2.5, 0]))
936936
def test_step_grid_scan_fails_when_given_incorrect_number_of_params(
937937
run_engine: RunEngine,
938938
det: StandardDetector,
@@ -948,7 +948,7 @@ def test_step_grid_scan_fails_when_given_incorrect_number_of_params(
948948
)
949949

950950

951-
@pytest.mark.parametrize("params", ([0, 1, 0.1, 0, 1, 0.1], [0, 10, 1, 0, 10, 1]))
951+
@pytest.mark.parametrize("params", ([0, 1, 0.5, 0, 1, 0.5], [0, 10, 5, 0, 10, 5]))
952952
def test_step_grid_rscan(
953953
run_engine: RunEngine,
954954
det: StandardDetector,
@@ -959,7 +959,7 @@ def test_step_grid_rscan(
959959
run_engine(step_grid_rscan(detectors=[det], movers=[y_axis, x_axis], params=params))
960960

961961

962-
@pytest.mark.parametrize("params", ([0, 1, 0.1, 0, 1, 0.1], [0, 10, 1, 0, 10, 1]))
962+
@pytest.mark.parametrize("params", ([0, 1, 0.5, 0, 1, 0.5], [0, 10, 5, 0, 10, 5]))
963963
def test_step_grid_rscan_when_snaking(
964964
run_engine: RunEngine,
965965
det: StandardDetector,

0 commit comments

Comments
 (0)