9 lines
243 B
Python
9 lines
243 B
Python
import os
|
|
|
|
def pytest_funcarg__xmlsec(request):
|
|
for path in os.environ["PATH"].split(":"):
|
|
fil = os.path.join(path, "xmlsec1")
|
|
if os.access(fil,os.X_OK):
|
|
return fil
|
|
|
|
raise Exception("Can't find xmlsec1") |