Skip to content

Commit 902406b

Browse files
test(integration): add path for splunk library
1 parent be3ad3e commit 902406b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/integration/conftest.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import os
2+
import sys
3+
4+
# path manipulation get the 'splunk' library for the imports while running on GH Actions
5+
sys.path.append(
6+
os.path.sep.join(os.environ["SPLUNK_HOME"], "lib", "python3.7", "site-packages")
7+
)
8+
# TODO: 'python3.7' needs to be updated as and when Splunk has new folder for Python.

0 commit comments

Comments
 (0)