Skip to content

Commit

Permalink
Update test_common.py
Browse files Browse the repository at this point in the history
Update test case to ensure we fallback to json
  • Loading branch information
rfaircloth-splunk committed Dec 20, 2019
1 parent d03095b commit 87df5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_defaultroute(record_property, setup_wordlist, setup_splunk):

sendsingle(message)

st = env.from_string("search index=main host=\"{{ host }}\" sourcetype=\"sc4s:fallback\" | head 2")
st = env.from_string("search index=main host=\"{{ host }}\" sourcetype=\"sc4s:fallback\" PROGRAM=\"test\" | head 2")
search = st.render(host=host)

resultCount, eventCount = splunk_single(setup_splunk, search)
Expand Down

0 comments on commit 87df5d1

Please sign in to comment.