mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-12-20 03:21:18 +01:00
wrapped virtual detector setup in a test fixture
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
import pytest
|
||||
import sys
|
||||
|
||||
from conftest import test_with_simulators
|
||||
|
||||
from slsdet import Detector
|
||||
|
||||
def test_rx_ROI():
|
||||
@pytest.mark.withdetectorsimulators
|
||||
def test_rx_ROI(test_with_simulators):
|
||||
""" Test setting and getting rx_ROI property of Detector class. """
|
||||
|
||||
d = Detector()
|
||||
|
||||
Reference in New Issue
Block a user