Commit 80e2f825 authored by Federico Vaga's avatar Federico Vaga

tst: keep the spec device open during tests

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent e4ab4642
......@@ -7,7 +7,7 @@ import pytest
from PySPEC import PySPEC
@pytest.fixture(scope="function")
@pytest.fixture(scope="module")
def spec():
spec_dev = PySPEC(pytest.pci_id)
yield spec_dev
......
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