Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Simple PCIe FMC carrier SPEC
Commits
24f1dcee
Commit
24f1dcee
authored
Jun 26, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tst: properly release resources after test
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
8f9e9329
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
conftest.py
pytest/conftest.py
+3
-1
No files found.
pytest/conftest.py
View file @
24f1dcee
...
...
@@ -9,7 +9,9 @@ from PySPEC import PySPEC
@
pytest
.
fixture
(
scope
=
"function"
)
def
spec
():
return
PySPEC
(
pytest
.
pci_id
)
spec_dev
=
PySPEC
(
pytest
.
pci_id
)
yield
spec_dev
spec_dev
.
dma_stop
()
def
pytest_addoption
(
parser
):
parser
.
addoption
(
"--pci-id"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment