Live changes from early July, PX-III
This commit was merged in pull request #111.
This commit is contained in:
@@ -7,6 +7,7 @@ from aare.gui.widgets.message_box import (
|
||||
experiment_hutch_shutter_check,
|
||||
ring_current_auto_check,
|
||||
)
|
||||
import pytest
|
||||
|
||||
|
||||
def test_reply_box(qtbot):
|
||||
@@ -30,10 +31,10 @@ def test_timer_box_auto_accept(qtbot):
|
||||
|
||||
assert box.result() == QMessageBox.StandardButton.Yes
|
||||
|
||||
|
||||
@pytest.mark.timeout(10)
|
||||
def test_ring_current_low_check_ok(qtbot):
|
||||
# Should return True immediately if current is high enough
|
||||
assert ring_current_low_check(None, 200.0) is True
|
||||
assert ring_current_low_check(None, 361.0) is True
|
||||
|
||||
|
||||
def test_ring_current_low_check_low_yes(qtbot):
|
||||
|
||||
Reference in New Issue
Block a user