mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-14 01:18:42 +01:00
Code Review
This commit is contained in:
@@ -15,15 +15,11 @@ print(sys.path)
|
||||
from utils_for_test import (
|
||||
Log,
|
||||
LogLevel,
|
||||
RuntimeException,
|
||||
cleanup,
|
||||
startProcessInBackground,
|
||||
startReceiver,
|
||||
startDetectorVirtualServer,
|
||||
connectToVirtualServers,
|
||||
loadConfig,
|
||||
loadBasicSettings,
|
||||
runProcessWithLogFile
|
||||
)
|
||||
|
||||
def pytest_addoption(parser):
|
||||
|
||||
@@ -18,12 +18,12 @@ def test_rx_ROI(test_with_simulators):
|
||||
|
||||
assert d.rx_roi == [(5,15,15,25)]
|
||||
|
||||
d.rx_roi = [[0,10,0,20], [5,20,410,420]] #needs to be in second module
|
||||
d.rx_roi = [[0,10,0,20], [5,20,410,420]]
|
||||
|
||||
roi = d.rx_roi
|
||||
assert roi == [(0,10,0,20), (5,20,410,420)]
|
||||
|
||||
d.clear_rx_roi()
|
||||
d.rx_clearroi()
|
||||
roi = d.rx_roi
|
||||
assert roi == [(-1,-1,-1,-1)]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user