Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Feb 6, 2020
1 parent b1358fb commit 9b3427c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,14 @@ def splunk(request):
def sc4s(request):
if request.config.getoption('splunk_type') == 'external':
request.fixturenames.append('sc4s_external')
splunk = request.getfixturevalue("sc4s_external")
sc4s = request.getfixturevalue("sc4s_external")
elif request.config.getoption('splunk_type') == 'docker':
request.fixturenames.append('sc4s_docker')
splunk = request.getfixturevalue("sc4s_docker")
sc4s = request.getfixturevalue("sc4s_docker")
else:
raise Exception

yield splunk
yield sc4s


@pytest.fixture(scope="session")
Expand Down
4 changes: 2 additions & 2 deletions tests/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ cd /work
pytest -v \
--splunk_type=external \
--splunk_password=${SPLUNK_PASSWORD} \
--sc4s_host=sc4s
--splunk_host=splunk
--sc4s_host=sc4s \
--splunk_host=splunk \
--junitxml=/work/test-results/functional/functional.xml $@

0 comments on commit 9b3427c

Please sign in to comment.