We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a490e47 + fe8f119 commit 0d46e44Copy full SHA for 0d46e44
tests/conftest.py
@@ -1,15 +1,18 @@
1
import os
2
+import pytest
3
4
#TODO: On my system this function seems to be returning an incorrect location
-def pytest_funcarg__xmlsec(request):
5
+@pytest.fixture
6
+def xmlsec(request):
7
for path in os.environ["PATH"].split(":"):
8
fil = os.path.join(path, "xmlsec1")
9
if os.access(fil,os.X_OK):
10
return fil
11
12
raise Exception("Can't find xmlsec1")
-
-def pytest_funcarg__AVA(request):
13
+
14
15
+def AVA(request):
16
return [
17
{
18
"surName": ["Jeter"],
@@ -27,4 +30,4 @@ def pytest_funcarg__AVA(request):
27
30
"surName": ["Hedberg"],
28
31
"givenName": ["Roland"],
29
32
},
- ]
33
+ ]
0 commit comments