Skip to content

Commit

Permalink
TST: use proper decorators...
Browse files Browse the repository at this point in the history
  • Loading branch information
tangkong committed Feb 16, 2023
1 parent 6d9cc94 commit 9383ebd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions typhos/tests/test_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_base_console(qtbot):
tc.shutdown()


@pytest.xfail(reason='inconsistent failures, see typhos #547')
@pytest.mark.xfail(reason='inconsistent failures, see typhos #547')
def test_add_happi_device(qapp, qtbot, happi_cfg, client):
device = client['Syn:Motor'].get()

Expand All @@ -37,7 +37,7 @@ def test_add_happi_device(qapp, qtbot, happi_cfg, client):
time.sleep(0.5)


@pytest.xfail(reason='inconsistent failures, see typhos #547')
@pytest.mark.xfail(reason='inconsistent failures, see typhos #547')
def test_add_importable_device(qapp, qtbot):
device = ophyd.sim.SynAxis(name='device')
tc = TyphosConsole.from_device(device)
Expand All @@ -57,7 +57,7 @@ def test_add_importable_device(qapp, qtbot):
tc.shutdown()


@pytest.xfail(reason='inconsistent failures, see typhos #547')
@pytest.mark.xfail(reason='inconsistent failures, see typhos #547')
def test_add_fake_device(qapp, qtbot):
EpicsMotor = ophyd.sim.make_fake_device(ophyd.EpicsMotor)
device = EpicsMotor('sim:mtr1', name="sim_mtr1")
Expand Down
2 changes: 1 addition & 1 deletion typhos/tests/test_positioner.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_positioner_widget_fixed_limits(qtbot, motor):


@show_widget
@pytest.skip()
@pytest.mark.skip()
def test_positioner_widget_with_signal_limits(motor_widget):
motor, widget = motor_widget
# Check limit switches
Expand Down

0 comments on commit 9383ebd

Please sign in to comment.