Commit f762c745 authored by Federico Vaga's avatar Federico Vaga

tst: force to stop acquisition when the test is over

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 4d18f681
......@@ -10,6 +10,7 @@ from PyAdcLib import *
def adc100m14b4cha():
adc = PyFmcAdc100m14b4ch(pytest.adc_id)
yield adc
adc.acq_stop(0)
def pytest_addoption(parser):
parser.addoption("--type", choices=[PyFmcAdc100m14b4ch.BOARD_NAME],
......
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