Skip to content

Commit

Permalink
MNT #810 comment pytest.mark.local
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Apr 4, 2024
1 parent 2fca548 commit ef5371a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apstools/devices/tests/test_positioner_soft_done.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def test_structure(device, has_inposition):
assert pos.tolerance.get() == -1


@pytest.mark.local
# @pytest.mark.local
def test_put_and_stop(rbv, prec, pos):
assert pos.tolerance.get() == -1
assert pos.precision == prec.get()
Expand All @@ -230,7 +230,7 @@ def motion(rb_initial, target, rb_mid=None):
# force a stop now
pos.stop()
pos.cb_readback()
assert pos.setpoint.get(use_monitor=False) == rb_mid
assert pos.setpoint.get(use_monitor=False) == rb_mid # FIXME: fails sometimes 1.0 == 0.5
assert pos.readback.get(use_monitor=False) == rb_mid
assert pos.position == rb_mid
else: # interrupted move
Expand All @@ -248,7 +248,7 @@ def motion(rb_initial, target, rb_mid=None):
motion(1, 0, 0.5) # interrupted move


@pytest.mark.local
# @pytest.mark.local
def test_move_and_stop_nonzero(rbv, pos):
timed_pause()

Expand All @@ -271,7 +271,7 @@ def test_move_and_stop_nonzero(rbv, pos):
assert pos.inposition


@pytest.mark.local
# @pytest.mark.local
def test_move_and_stopped_early(rbv, pos):
def motion(target, delay, interrupt=False):
timed_pause(0.1) # allow previous activities to settle down
Expand Down

0 comments on commit ef5371a

Please sign in to comment.