Commit b0107b5c authored by Federico Vaga's avatar Federico Vaga

tst: check acquisition size

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 2d9069ed
......@@ -75,6 +75,7 @@ class TestFmctdcAcquisition(object):
fmcfd.generate_pulse(TDC_FD_CABLING[fmctdc_chan.idx], 1000,
period_ns, count, True)
ts = fmctdc_chan.read(count, os.O_NONBLOCK)
assert len(ts) == count
for i in range(len(ts)):
if prev == None:
prev = ts[i]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment